Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
JCL for COBOL and assembler program invocation z/OS TSO/E Programming Services SA32-0973-00 |
|
Figure 1 shows sample JCL to run the COBOL program. The program ENVCOBRX resides in IBMUSER.LOAD. Because neither the program nor the REXX exec that the program executes requires input, the JCL allocates SYSTSIN to a dummy data set. TSO/E uses the SYSTSPRT file to output messages issued by the REXX exec. Program DISPLAY statements send program error messages to the SYSOUT file. Figure 1. Execution
JCL for the COBOL program
Figure 2 shows sample JCL to run the assembler program. The program ENVTSCMD resides in IBMUSER.LOAD. Because the program does not use SYSTSIN for input, the JCL allocates SYSTSIN to a dummy data set. The program redirects output for the TSO/E command invocation to MYPRTDD, which is allocated to a data set. The program sends all other TSO/E output is sent to the SYSTSPRT file. Figure 2. Execution
JCL for the assembler program
|
Copyright IBM Corporation 1990, 2014
|