Agreed, I do it the way Scott has indicated.
Works just fine.

Charles (Chuck) Hardee
Senior Systems Engineer/Database Administration
EAS Information Technology

Thermo Fisher Scientific
300 Industry Drive | Pittsburgh, PA 15275
Phone +1 (724) 517-2633 | Mobile +1 (412) 877-2809 | FAX: +1 (412) 490-9230
[email protected]  | www.thermofisher.com

WORLDWIDE CONFIDENTIALITY NOTE: Dissemination, distribution or copying of this 
e-mail or the information herein by anyone other than the intended recipient, 
or an employee or agent of a system responsible for delivering the message to 
the intended recipient, is prohibited. If you are not the intended recipient, 
please inform the sender and delete all copies.

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Scott Ford
Sent: Monday, March 28, 2016 7:22 PM
To: [email protected]
Subject: Re: Dumb TSO Rexx question

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

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

Reply via email to