answersLogoWhite

0


Best Answer

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

13y ago
This answer is:
User Avatar

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
Related questions

How do you run a rexx program through JCL?

This is the simplest form: no files are allocated for EXECIO. All REXX features are available. All REXX functions are available, including EXECIO. All TSO commands are available, for example: DELETE, LISTCAT, HRECALL, HDELETE. ISPF features are not available, for example VGET, File Tailoring. //* job statement //TSOBATCH EXEC PGM=IKJEFT1A,DYNAMNBR=200 //SYSEXEC DD DSN=userid.REXX.EXEC,DISP=SHR //SYSPRINT DD SYSOUT=* //SYSTSPRT DD SYSOUT=* //SYSTSIN DD * PROFILE PREFIX(userid) /* please use this,*/ /* specifying your userid*/ %MYREXX Same as the previous, but two files are allocated for EXECIO The program uses EXECIO. It reads the file defined by //INFILE it writes to the file defined by //OUTFILE Do not use an ALLOC command for these files in the REXX program! //* job statement for invoking rexx by jcl //* good example of TSO in Batch //* how to run a rexx program with job control language //TSOBATCH EXEC PGM=IKJEFT1A,DYNAMNBR=200 //SYSEXEC DD DSN=userid.REXX.EXEC,DISP=SHR REXX program library //SYSPRINT DD SYSOUT=* //SYSTSPRT DD SYSOUT=* //INFILE DD DSN=userid.MY.INPUT,DISP=SHR //OUTFILE DD SYSOUT=* //SYSTSIN DD * PROFILE PREFIX(userid) /* please use this,*/ /* specifying your userid*/ %MYREXX


What is internal reader in JCL?

In JCL, the internal reader is a facility to provide input data directly within the JCL statements without the need for an external dataset. This input data is typically specified using the job card and can be used by subsequent DD statements in the job step. The internal reader is useful for providing small amounts of temporary data to be processed by the job step.


What is IBM JCL?

Job Control Language (JCL) is a scripting language used on IBM mainframe operating systems to instruct the system on how to run a batch job or start a subsystem.


When was REXX created?

REXX was created in 1979.


When was JCL Logistics created?

JCL Logistics was created in 1928.


When was Rawhead Rexx created?

Rawhead Rexx was created in 1997.


When was Diamond Rexx created?

Diamond Rexx was created in 1985.


When was Field Rexx created?

Field Rexx was created in 2004.


When was Rated Rexx created?

Rated Rexx was created in 1990.


When was Object REXX created?

Object REXX was created in 1988.


What has the author Trevor Turton written?

Trevor Turton has written: 'Object REXX for OS/2 warp' -- subject(s): OS/2 warp, Object-oriented programming (Computer science), REXX (Computer program language)


When was Rexx Erected created?

Rexx Erected was created on 2001-11-06.