JCL requirements for the DB Scan function
The following figure shows that the JCL requirements for the DB Scan function are similar to those for the IMS Database Scan utility (DFSURGS0).
Depending on how you installed the Unload function, you might need to modify the JCL by adding a STEPLIB DD statement.
//STEPLIB DD DISP=SHR,DSN=bmc.xxx.load
//IMS DD DISP=SHR,DSN=IMSVS.DBDLIB
//DFSURCDS DD DISP=SHR,DSN=your.DFSURCDS
//database DD DISP=OLD,DSN=dataSetName
//DFSURWF1 DD DISP=(NEW,CATLG),UNIT=TAPE,DSN=your.DFSURWF1,
// DCB=(LRECL=300,BLKSIZE=4096)
//*
//BMCPRINT DD SYSOUT=A <=== optional
//BMCMSG DD SYSOUT=A <=== optional
//PLUSIN DD * <=== optional
DBSCAN PTRERROR(ACCEPT) <=== optional
/* <=== optional
//*
An explanation of the JCL follows:
EXEC | You must specify PGM=DFSRRC00,PARM='ULU,DFSURGS0'. You can add the IMSID parameter to override the IMSID specified in the IMS RESLIB. |
|---|---|
STEPLIB DD | Optional. For more information, see STEPLIB-DD. |
IMS DD | Required. Describes the library, typically IMSVS.DBDLIB, containing the DBDs that describe the databases being scanned. |
DFSURCDS DD | Required. For more information, see DFSURCDS-DD. |
database DD | Required. Defines the data sets that contain the database being scanned. You must supply one DD statement for each data set appearing in the DBD. The ddnames must match the ddnames specified in the DBD. |
BMCMSG DD | Optional. For more information, see BMCMSG-DD. |
DFSURWF1 DD | Required. For more information, see DFSURWF1-DD. |
PRPURWF1 DD | Optional. For more information, see PRPURWF1-DD. |
BMCPRINT DD | Optional. For more information, see BMCPRINT-DD. |
PLUSIN DD | Optional. The DBSCAN command is required. The following keywords are optional:
For information about the tasks these keywords accomplish, see User-controlled-options For information about how to specify the keywords, see PLUSIN control statement syntax—user-controlled options. |
PDX DD | Optional. For more information, see PDX-DD. |
SYSUDUMP DD | Recommended. For more information, see SYSUDUMP-DD. |
Related topic