Previous Topic: How to UseNext Topic: SPILLOPT (Transfer Data to RXX Using MAX/MIN)


Example JCL

The following shows the command to transfer data from the Log Area to the Recovery File. In the line that shows //RXX DD ... the three dots (...) represent the desired DD statement options. Do not use the DCB= option, however, because CA Datacom/DB forces the appropriate values to be used, and those appropriate values override any DCB= values set by users.

Note: Use the following as a guide to prepare your JCL. The JCL statements are for example only. Lowercase letters in a statement indicate a value you must supply. Code all statements to your site and installation standards.

 //jobname    See the previous note and JCL Requirements.
 //       EXEC PGM=DBUTLTY,REGION=2M
 //STEPLIB    See the previous note and JCL Requirements.
 //CXX      DD DSN=cxx.data.set,DISP=SHR           Directory data set
 //RXX      DD ...                                 Recovery data set (output)
 set
 //SYSIN    DD *                                   Command Input
          SPILL
 /*

The following shows sample JCL when the MUF option is set for dual RXX output. In the line that shows //RXX1 DD ... and //RXX2 DD ... the three dots (...) represent the desired DD statement options. Do not use the DCB= option, however, because CA Datacom/DB forces the appropriate values to be used, and those appropriate values override any DCB= values set by users. Using dual RXX output, you could if desired direct RXX1 to disk and RXX2 to tape.

Note: Use the following as a guide to prepare your JCL. The JCL statements are for example only. Lowercase letters in a statement indicate a value you must supply. Code all statements to your site and installation standards.

 //jobname    See the previous note and JCL Requirements.
 //       EXEC PGM=DBUTLTY,REGION=2M
 //STEPLIB    See the previous note and JCL Requirements.
 //CXX      DD DSN=cxx.data.set,DISP=SHR           Directory data set
 //RXX1     DD ...                                 Recovery data set 1 (output)
 //RXX2     DD ...                                 Recovery data set 2 (output)
 //SYSIN    DD *                                   Command Input
          SPILL
 /*

Sample Report

Following is a sample report page. For an example report header, see Sample Report Headers.