REXX SETUP -- How to setup Rexx -- A Guide for Beginners

REXX SETUP 

1)      TSO EX 'USERID.REXX.EXEC(HELLO)' EX---- directly running from the TSO panel
2)      EX 'USERID.REXX.EXEC(HELLO)' EX – directly running from the ready panel


When you logon to ISPF, ISPF assigns a pre-defined set of DDNames to few PDS datasets. To view this set, you can enter the command TSO ISRDDN from the ISPF panel.

DDNAME     DATA SET NAME

SYSEXEC     PROD.CEXEC
SYSPROC    USERID.CLIST


There are two ways to do this:
1) If your system adminstrator allows, you can run a CLIST or REXX program when you logon to ISPF. This will usually appear as a message when you logon. Ask you system admin if you can do this, as this is the best way to do this.
If it is a CLIST, add the following command in the CLIST,

CONCATD FI(SYSEXEC) DA('USERID.REXX.EXEC')

If it is a REXX, add the following command,

"ALLOC FILE(SYSEXEC) DATASET("'USERID.REXX.EXEC'","'isp.rexx.exec') SHR REUSE"

2) If the system admin does not allow running a REXX/CLIST, then execute the following command one time in your ISPF session.

TSO ALTLIB ACTIVATE APPL(EXEC) DSN('USERID.YYYYY.rexx')




Comments

Popular posts from this blog

Date/time constants in JCL

JCL ABeND --

IEBGENER usage examples