Previous Topic

Next Topic

Book Contents

Book Index

CTDUPBKP Report Parameters

By default the utility produces a report for all the SYSDATA records that were selected according to the SELECT parameters. The report contains the most up-to-date backup information in these SYSDATA records. Additional reports are available by specifying the following parameters in DD statement DAULST:

Table 271 CTDUPBKP Report Parameters

Parameter

Description

UNMATCH

Produces a report listing all volsers in the files that did not match any of the old volsers defined in the input file referenced by DD statement DAUIN

ALL

Produces this report in any case

VOLSER

Produces a report only if volser update was requested

PRINTSYS

Produces a report detailing all SYSDATA records

If parameter VOLSER is specified in the CHANGETO area, a report can be produced containing a list of old and new VOLSERs. This report is produced if parameter DETAIL is specified in the Report parameters.

Table 272 CTDUPBKP Detail Parameter

Parameter

Description

DETAIL

Print a detailed report for all volsers found in the files, including the backup job name, date and time. This report is available only when a new volser is requested. This report replaces the default report.

Note: If parameter DETAIL is specified without specifying parameter VOLSER in the CHANGETO area, the default report is also not produced.

Figure 103 CTDUPBKP – Example 1

//UPDATE   EXEC CTDUPBKP

//DAUIN    DD *

  SELECT

     FILE=HST

     DECFROM=250600,1000

     DECTO=270600,1500

     BKPFROM=260600,1000

     BKPTO=280600,1500

     BKPMIS=BKP001

     SIMULATE=YES

  CHANGETO

/*

//DAULST   DD *

//

The utility creates a report for the History file. Every SYSDATA that was created from 25/06/00 at 10 a.m. until 27/06/00 at 3 p.m. and was backed up from 26/06/00 at 10 a.m. until 28/06/00 at 3 p.m. by backup mission BKP001 is printed in this report.

Figure 104 CTDUPBKP – Example 2

//UDPATE   EXEC CTDUPBKP

//DAUIN    DD *

  SELECT

     FILE=ACT

     FILE=HST

     BKPFROM=260600,1000

     BKPTO=280600,1500

     BKPMIS=BKP001

     VOLSER=VOL001

     SIMULATE=NO

  CHANGETO

     RETPD=0100

     VOLSER=VOL002

//DAULST   DD *

  PRINTSYS

  DETAIL

If a CDAM was backed up to volser VOL001 from 26/06/00 at 10 a.m. until 28/06/00 at 3 p.m. by backup mission BKP001, the corresponding SYSDATA from the Active User Report List file and History User Report List file are changed. The new value of RETPD is 100 and the new value of VOLSER is VOL002. A report about every SYDATA from the Active User Report List file and the History User Report List file and a detailed report about every changed SYSDATA is produced.

Figure 105 CTDUPBKP – Example 3

//UPDATE   EXEC CTDUPBKP

//DAUIN    DD *

  SELECT

     FILE=MIG

     BKPMIS=MIG001

     PLATTER=PLATTER01

     SIMULATE=YES

  CHANGETO

       SECONDARY

//DAULST   DD *

In this example, a simulation is performed for switching SYSDATA and INDEX records of the Migrated User Report List file to use the secondary migrated CDAM files. Only the SYSDATA and INDEX records for CDAM files that migrated to platter PLATTER01 by migration mission MIG001 are selected. The result of this simulation is a report of the selected SYSDATA records. No change is made to the records themselves.

Figure 106 CTDUPBKP – Example 4

//UPDATE   EXEC CTDUPBKP

//DAUIN    DD *

  SELECT

     FILE=HST

      BKPMIS=BKP001

      SIMULATE=NO

  CHANGETO

     GENER=0005

//DAULST   DD *

SYSDATA records referring to backup mission BKP001 are set to use the "# of GENERATIONS TO KEEP" method. (In this example, 5 generations are used.) A report for the modified SYSDATA records is produced.

For an example of how to update backup information in Control-D User Report List files, see sample job CTDUBKPJ in the Control-D JCL library.

Parent Topic

CTDUPBKP – Update Backup and Migration Details