The way I do it is:

Caller:
.
.
.
call second parms


Scott

On Monday, March 28, 2016, Pinnacle <[email protected]> wrote:

> On 3/28/2016 7:02 PM, Phil Smith III wrote:
>
>> I have a TSO Rexx program; let's call it CALLER. I want to call another;
>> let's call it SECOND. This doesn't work:
>>
>>
>>
>> address tso 'EXEC SECOND'
>>
>>
>>
>> I can see that I can do a PARSE SOURCE and build the full library name,
>> e.g., 'EXEC SOME.LIBRARY(SECOND', but should I have to do that? Seems very
>> un-Rexx-ish.
>>
>>
>>
>>
> Phil,
>
> If you ALTLIB the library in your first exec, you should be able to
> address tso "%SECOND".  Your PARSE SOURCE solution could also work,
> depending upon how CALLER was invoked.
>
> Tom
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN
>

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

Reply via email to