Creating a sequential data set copy of the RCDS
The CICS® VR recovery control data set (RCDS) is the repository of recovery data that is used by CICS® VR. For every CICS® VR problem that you report, create a sequential data set copy of one of the three RCDSs and send it to the IBM® Support Center.
The IBM® Support Center prefers you to use the IDCAMS REPRO utility to create a sequential data set copy of an RCDS. Use the sample job shown here as a model to create your own copy. The sample job uses IDCAMS REPRO to copy an RCDS (DWW.DWWCON1) to a new sequential data set (EXAMPLE.REPRO).
Before you begin: Ensure that the record length of the sequential data set is equal to the CI size of the RCDS.
//RCDSJOB JOB ACCOUNTING INFORMATION,REGION=0M 01
//REPRO1 EXEC PGM=IDCAMS 02
//SYSPRINT DD SYSOUT=* 03
//INRCDS DD DSN=DWW.DWWCON1,DISP=SHR 04
//OUTDS DD DSN=EXAMPLE.REPRO, 05
// DISP=(NEW,CATLG),SPACE=(CYL,(5,5)),
// UNIT=SYSDA,
// DCB=(LRECL=4096,RECFM=FB,BLKSIZE=4096)
//SYSIN DD * 06
REPRO INFILE(INRCDS) OUTFILE(OUTDS) 07
/*
// - Line
- Explanation
- 01
- Specifies the job statement for the job.
- 02
- Specifies that the IDCAMS program is run to create a copy of the RCDS.
- 03
- Specifies where to place any messages that are produced.
- 04
- Specifies the name of the RCDS that you want to copy. You need to copy only one of the three RCDSs.
- 05
- Specifies the sequential data set into which that the contents of the RCDS are placed. After this job has run successfully, send a copy of this data set to the IBM® Support Center.
- 06
- Specifies the data set that contains the IDCAMS commands. You can either specify the name of a data set that contains the commands or include the commands in-stream, as shown.
- 07
- Specifies that the REPRO command copies all records from the source data set, DWW.DWWCON1, to the target data set, EXAMPLE.REPRO.
For more information about IDCAMS REPRO, see z/OS DFSMS Access Method Services for Catalogs and z/OS DFSMS: Using Data Sets.