z/OS DFSMSrmm Implementation and Customization Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


JCL for creating an extract data set

z/OS DFSMSrmm Implementation and Customization Guide
SC23-6874-00

To create an extract data set, specify the RPTEXT parameter. You can submit a job with JCL as shown in Figure 1. To create an extract data set that contains extended records, uncomment the XREPTEXT DD statement or code the RPTEXT command with the RECORDS(X) operand in the SYSIN file. When you specify both XREPTEXT and REPTEXT, DFSMSrmm uses the XREPTEXT DD statement.

Figure 1. JCL for creating an extract data set
 //HSKP     EXEC PGM=EDGHSKP,
 //     PARM='RPTEXT,DATEFORM(E)'
 //MESSAGE  DD DISP=SHR,DSN=HSKP.MESSAGES
 //REPTEXT  DD DISP=SHR,DSN=MASTER.EXTRACT
 //*XREPTEXT DD DISP=SHR,DSN=MASTER.EXTENDED.EXTRACT
 //SYSIN     DD *
  RPTEXT
 /*

Use the DATEFORM parameter to specify the format for date fields in the report extract data set. The DATEFORM parameter can take any of these values:

Value Language Format Example
A American mm/dd/yyyy 12/15/2013
E European dd/mm/yyyy 15/12/2013
I ISO yyyy/mm/dd 2013/12/15
J Julian yyyy/ddd 2013/349
D Default Installation's default in EDGRMMxx Initially set to Julian

DFSMSrmm provides the format of the records in the extract data set in mapping macros. See z/OS DFSMSrmm Reporting for layouts of the macros. You can use DFSORT to sort the extract data set records to create many types of reports.

For example, you could select the extract records that show volumes with temporary-read errors. Sort the resulting list by descending number of errors. Use this list to identify the damaged volumes that should be replaced. Then, you could use the RMM CHANGEVOLUME subcommand with the RELEASEACTION(REPLACE) operand to update DFSMSrmm with the required action.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014