answersLogoWhite

0

JCL (Job Control Language) to run a REXX is a common practice. You should have a sample JCL in your shop. Note this all runs on Z/OS not windows and the REXX cannot be an interactive REXX.

//JOBNAME JOBCARD INFO

....

//STEPNAME EXEC PGM=IKJEFT01,PARM='REXXNAME'

//SYSTSPRT DD SYSOUT=*

//SYSUDUMP DD SYSOUT=D,FLASH=F003

//SYSPROC DD DSN=YOUR.REXX.LIBRARY,DISP=SHR

//SYSTSIN DD DUMMY,DCB=BLKSIZE=80

Change the jobcard to match your shops standards for running JCL

Put a stepname you like (replace STEPNAME)

Replace REXXNAME with the name of the REXX you wish to run

On the SYSPROC line put the library name you used to create the REXX exec.

Submit the JCL (note you also need submit authority to run JCLs)

User Avatar

Wiki User

14y ago

Still curious? Ask our experts.

Chat with our AI personalities

ViviVivi
Your ride-or-die bestie who's seen you through every high and low.
Chat with Vivi
SteveSteve
Knowledge is a journey, you know? We'll get there.
Chat with Steve
RossRoss
Every question is just a happy little opportunity.
Chat with Ross

Add your answer:

Earn +20 pts
Q: How do you run a rexx program with jcl?
Write your answer...
Submit
Still have questions?
magnify glass
imp