RAPS: RETRIEVE LST,TSBDCAD*,INPUT=TAPE job failed with
CARR915I NO ENTRY (S) FOUND FOR FUNCTION=RETRIEVE
EOJ CAPRRETR MAX.RETURN CODE=0008
z/VSE 6.2, RAPRS 5.0.
The user reinitialized the CAIRAPD dataset
Ditto sample to determine if there is data on the tape and it is accessible. Make the required updates to fit your environment.
// PAUSE PLEASE MOUNT TAPE TO BE MAPPED ON 592 ---> 592 is an example drive
// UPSI 1
// ASSGN SYS010,592
/* MTC FSF,SYS010,99
// EXEC DITTO
$$DITTO REW OUTPUT=SYS010
$$DITTO TMP INPUT=SYS010,NFILES=10,NBLKS=1
$$DITTO REW OUTPUT=SYS010
$$DITTO EOJ
/*
In this example if the tape fails to be listed it is bad, and there is no way to determine why or how the tape became corrupted.
We recommend the tape be reformatted before the next attempt to use the tape.