CA Disk ARCHIVE gets message 2793 NO CATALOG ENTRIES although data set exists and ends with CC=8

book

Article ID: 140479

calendar_today

Updated On:

Products

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

Issue/Introduction

A CA Disk ARCHIVE job that archives several datasets is getting a condition code 8 because one of the FIND statements gets message 2793 which says 'NO CATALOG ENTRIES WERE FOUND' even though the dataset does exist!
ADSST208 2793 NO CATALOG ENTRIES WERE FOUND TO MATCH DSN= ABC.DEF.XYZ/ 
ADSST208 2793 FIND COMMAND NOT PROCESSED     
The data set does get deleted and archived and can be restored.
The condition code 8 is stopping the job flow due to condition code checking.

Cause

The problem occurs because of overlapping FIND statements.

The order of the two FIND statements in the ARCHIVE

FIND DSN=ABC.DEF/ 

FIND DSN=ABC.DEF.XYZ/ 

is causing the problem with the CC=8 because the first FIND command already includes the data set(s) of the 2nd FIND.

So at the time of the ARCHIVE command being processed, the data set was gone and “no catalog entries were found” is accurate. 

Environment

Release : 12.5

Component : CA Disk Backup and Restore

Resolution

Remove the FIND that is already included in the other FIND. That means, in the sample

FIND DSN=ABC.DEF/ 

FIND DSN=ABC.DEF.XYZ/ 

just delete the 2nd FIND as it is already included in the 1st FIND. 


Or consider to set sysparm CCDRESET to Y. 

Specifying this sysparm with a value of Y suppresses the job condition code to 0 for message 2793 generally.


Additional Information

The data set status at the start of the job is not the question. 

CA Disk would have gotten the same result if something else had deleted the data set before CA Disk got to that command. 

So at the time of the ARCHIVE command being processed, the data set was gone and “no catalog entries were found” is accurate. 

CA Disk does not track which commands and patterns overlap as customers can have hundreds of them.

The reason for the CC=8 is because the action was ARCHIVE. 

Other actions which do not delete the data set, like BACKUP,  would run with a zero CC.

Also, FIND commands are not skipped by CA Disk because they are redundant.