Page 1 of 1

Execute REXX Members in Multiple Screens

PostPosted: Tue May 17, 2016 8:48 pm
by ectgunner64
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?

Re: Execute REXX Members in Multiple Screens

PostPosted: Tue May 17, 2016 9:00 pm
by prino
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.