On Wed, 19 Jul 2023 13:58:15 -0500, Paul Gilmartin <[email protected]> wrote:

>On Wed, 19 Jul 2023 17:49:08 +0000, Jim Mulder wrote:
>
>>  Yes, TSOLIB is part of TSO/E and is correctly implemented by ATTACHing 
>> subsequent commands with a TASKLIB.
>>
>TASKLIB should not depend on TSO/E

It doesn't. It is used TSO/E, among other products.

> and should satisfy the OP's need.

TASKLIB has a specific purpose, but it is not clear to me that it fits the OP's 
needs. The OP is knowledgeable, but he hasn't clearly stated his need. From 
what he has said, it sounds to me as if he has a program run in batch and he 
wants to effectively alter STEPLIB from that program while it runs.

>Are TSOLIB and TASKLIB inherited alike by grandchild tasks?

TSOLIB is a command. TASKLIB is part of the standard search order, ahead of 
STEPLIB or JOBLIB. It is assigned by ATTACH.

did you even try to look up inheritance? From the ATTACH macro documentation:

<quote>
,TASKLIB=dcb addr                                                      
    Specifies the address of the DCB for the library to be used as the 
    attached task's library. Otherwise, the task library is propagated 
    from the originating task.
</quote>

-- 
Tom Marchant

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to