Execute REXX Members in Multiple Screens



IBM's Command List programming language & Restructured Extended Executor

Execute REXX Members in Multiple Screens

Postby ectgunner64 » Tue May 17, 2016 8:48 pm

I have some REXX members where the first thing I am told to do is go to Option 6 in TSO (ISPF Command Shell) and enter the following 2 items:

ALTLIB DEACTIVATE APPL(EXEC)
ALTLIB ACTIVATE APPL(EXEC) DA('name-of-your-REXX-PDS')

When I do the above, the REXX members work OK when I am in the same screen session, but when I swap screens, the REXX members I try to execute get an error message of "Invalid command".

Are there any commands that I can enter that would:
1. Allow my REXX members to execute in ALL the screens I currently have open in TSO?
2. Allow #1 above and also any new screens that I may open later?
ectgunner64
 
Posts: 8
Joined: Wed Sep 07, 2011 8:30 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Execute REXX Members in Multiple Screens

Postby prino » Tue May 17, 2016 9:00 pm

Add your exec library to the standard SYSEXEC concatenation. Many sites have procedures for this, but you can always do it from the READY prompt yourself.
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy
User avatar
prino
 
Posts: 635
Joined: Wed Mar 11, 2009 12:22 am
Location: Vilnius, Lithuania
Has thanked: 3 times
Been thanked: 28 times


Return to CLIST & REXX

 


  • Related topics
    Replies
    Views
    Last post