Setting Change Bit to "ON" for newly created FDS/FDB unload files
search cancel

Setting Change Bit to "ON" for newly created FDS/FDB unload files

book

Article ID: 228232

calendar_today

Updated On:

Products

DISK BACKUP AND RESTORE Disk Backup and Restore - MVS DISK BACKUP AND RESTORE FOR MSP DISK BACKUP AND RESTORE- ADD-ON OPTIO

Issue/Introduction

All Disk FDS/FDB Unload files (SEQFILES) created either:

- for FDSs using "PGM=ADSMI002,PARM=ADSDM177"

or

- for FDBs using "PGM=ADSMI002,PARM=ADSDC177"

Have the Change Bit always set to 'OFF'.  Why this behavior and how to set the Change Bit in 'ON' for these SEQFILES.

Environment

Release :Disk Backup and Restore

Cause

Disk will not update the F1-DSCB at OPEN if the CDE program name in the top RP starts with ADSMI, ARC or ADRDSS , as defined by default in the program exclusion table (ADSOPPGM). This is described in the Disk tech guide under "The Disk SVC". The Disk SVC program ADSMVS60 is called by the SVC for F1-updates.

Resolution

It is possible to perform this DSCB update to set manually the Change Bit for the output data set of the UNLOAD, using the "DSCB Update Utility". Refer to the Disk tech guide for DSCB Update Utility for more details.

 Here is a sample job: 

//UPDATE   EXEC PGM=ADSMI002,PARM=ADSDM235,REGION=1024K
//STEPLIB   DD  DISP=SHR,DSN=CA.DISK.CCUWLOAD
//PARMLIB   DD  DISP=SHR,DSN=CA.DISK.CCUWPARM
//ABNLDUMP  DD  DUMMY
//CMDPRINT  DD  SYSOUT=A
//MSGPRINT  DD  SYSOUT=A
//PARMLIB   DD  DISP=SHR,DSN=CA.DISK.CCUWPARM
//SYSPRINT  DD  SYSOUT=A
//SYSUDUMP  DD  SYSOUT=A
//SYSIN     DD  *
    DSCB NOSIM,DSNAME=ddd,VOLUME=vvvvvv,......
....                                                                         

The step could be added to the UNLOAD Job, or maybe even into the UNLOAD procedure.