JCL and execution
JCL for customized REXX report
02 //ASURXJCL EXEC PGM=IKJEFT01,PARM='REPORT SSID PLAN ...'
03 //*--------------------------------------------------------------------
04 //* PARMS 1.REPORT = NAME OF REPORT TO EXECUTE
05 //* 2.SSID = DB2 SUBSYSTEM ID OR DATA SHARING GROUP NAME
06 //* 3.PLAN = ASU PLAN NAME
07 //* ... REPORT DEPENDENT PARAMETER(S)
08 //*--------------------------------------------------------------------
09 //STEPLIB DD DISP=SHR,DSN=HLQ.ASUvvr.LOAD
10 // DD DISP=SHR,DSN=DB2*****.DSNLOAD
11 //SYSEXEC DD DISP=SHR,DSN=HLQ.ASUvvr.CLIST
12 //SYSPRINT DD SYSOUT=*
13 //SYSTERM DD SYSOUT=*
14 //SYSTSPRT DD SYSOUT=*
15 //SYSTSIN DD DUMMY
Line Number | Description |
---|---|
2 | This line runs the IKJEFT01 program to run the REXX program and supplies PARM information. In the annotated program, the report-dependent parameter was a database name that contained a wildcard.d. |
3-8 | These lines are comments. |
4-6 | These lines identify the required step libraries. |
11 | This line specifies the partitioned data set (PDS) library that contains the REXX report program. The member name of the report program (TSSPACE) is the REPORT parameter in line 2. |
12-13 | These lines identify the data sets that contain the report and the error messages that the ASURXRPT and ASURXSQL functions generate. |
12 | This line identifies the data set that contains the report. |
13 | This line identifies the data set that contains error messages from the functions ASURXRPT and ASURXSQL and the SAS/C runtime library. |
14 | This line identifies the data set that contains SAY output of return codes and error messages (lines 113, 114, 125, 136, and 141). |