© serviceprofessionalgmbh

The following Job Control can be used to start a TSO address space in which all REXX and TSO actions are able to run. In case follow up steps are appended and the return code of the REXX processing is of importance, the REXX program is capable of returning the required value using the EXIT or RETURN Statement.

//name JOB parms-for-job-instruction
//**************************************************
//* ISPF BATCH AUFRUF
//**************************************************
//TSOBAT EXEC PGM=IKJEFT01,DYNAMNBR=1000
//SYSTSPRT  DD SYSOUT=*
//SYSOUT    DD SYSOUT=*
//SYSPRINT  DD SYSOUT=*
//SYSEXEC   DD DISP=SHR,DSN=rexx-lib
//SYSPROC   DD DISP=SHR,DSN=clist-lib
//STEPLIB   DD DISP=SHR,DSN=load-lib
//SYSTSIN   DD *
  rxprog
back to REXX in batch