Jobname that created a Backup or Archive Copy
search cancel

Jobname that created a Backup or Archive Copy

book

Article ID: 13355

calendar_today

Updated On:

Products

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

Issue/Introduction

Where can the jobname be found that created a Backup or Archive Copy ?

Resolution

Store the jobname of the Disk Backup or Archive job into the user field (USERF) of the DSNINDEX record via user exit DINXUFEX during BACKUP and ARCHIVE processing. The contents of the user field will be retained during Restore and Merge processing. 

DINXUFEX exit takes BACKUP, BACKUPCC, and ARCHIVE into account.  Please refer to the tech guide for DINXUFEX - Update DSNINDEX User Field

Sysparm DINXUFEXdinxufex needs to be specified to provide the module name to be invoked for the DINXUFEX user exit.

Additional Information

Sample exit DINXUFEX will store the jobname of the Backup, Backupcc or Archive job into the USERF User Field. The contents of the USERF field can then be displayed via LISTD with FIELDS: 

//LISTD EXEC LISTD 
//SYSIN DD * 
   LISTD DUP,DSN=ABC./, 
   FIELDS=(DSNAM,ARCDT,ARKEY,FLGSC,VERS, 
   DS1CD,DS1UD,DS1MD,DS1JN,USERF) 
/* 

Refer to Disk tech guide for "Possible Values for LISTD FIELDS= Parameter".