Information
Limited support BMC provides limited support for this version of the product. As a result, BMC no longer accepts comments in this space. If you encounter problems with the product version or the space, contact BMC Support.BMC recommends upgrading to the latest version of the product. To see documentation for that version, see DASD MANAGER PLUS for DB2 13.1.

JCL


The JCL in the HLQ.CNTL member ASURXJCL executes the program IKJEFT01, which interprets the DASD MANAGER PLUS report programs. Ordinarily, you use the online dialog instead to run the reports.

JCL to Run Customized REXX Reports

//JOBNAME   JOB (acct),'ASURXJCL',MSGCLASS=X,CLASS=A,NOTIFY=userid
//ASURXJCL EXEC PGM=IKJEFT01,PARM='REPORT SSID PLAN ...'
//*--------------------------------------------------------------------
//* PARMS 1.REPORT = NAME OF REPORT TO EXECUTE
//*       2.SSID = DB2 SUBSYSTEM ID OR DATA SHARING GROUP NAME
//*       3.PLAN = ASU PLAN NAME
//*       ... REPORT DEPENDENT PARAMETER(S)
//*--------------------------------------------------------------------
//STEPLIB  DD DISP=SHR,DSN=HLQ.ASU810.D71.LOAD
//         DD DISP=SHR,DSN=DB2*****.DSNLOAD
//SYSEXEC  DD DISP=SHR,DSN=HLQ.ASU810.CLIST
//SYSPRINT DD SYSOUT=*
//SYSTERM  DD SYSOUT=*
//SYSTSPRT DD SYSOUT=*
//SYSTSIN  DD DUMMY

The EXEC PARM

The REXX EXEC PARM passes information in the following table to the program.

Information passed by the EXEC PARM

PARM

Description

Example

report-name

Name of the CLIST library member that contains the report program

ASUSPCTR

ssid

DB2 subsystem on which the report will run

DBDA

plan

Plan to which the ASURXSQL plan DBRM is bound

ASU620DC

report-parms

Report-dependent parameters

dbname-wildcard

The online dialog automatically supplies the SSID and plan name. If you use the JCL, you must supply all parameters shown in the previous table. To find the plan, select User Options on the DASD MANAGER PLUS main menu, then select Current Environment Information and look for the Statistics plan.

DD statements

The following table describes the Data Definition (DD) statements in the JCL that execute the customizable report programs.

DD Statements for Report Programs

ddname

Description

SYSEXEC

Partitioned data set (PDS) library that contains the report program; the EXEC PARM references the member name

SYSTSPRT

Data set that contains SAY output of return codes and error messages

SYSTSIN

DD dummy

SYSPRINT

Data set that contains the report

SYSTERM

Data set that contains error messages that are issued by the ASURXRPT and ASURXSQL functions and the C runtime library

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

DASD MANAGER PLUS for DB2 12.1