IDCMAS DELETE ends with RC=08.
Posted: Sun Dec 06, 2015 3:21 pm
Hi,
I try to delete a dataset, which exists, using IDCAMS. The JCL ends with RC 8.
Strangely the data set is deleting if the DISP=(MOD,DELETE) but the data set does not delete if the DISP=OLD. But the return code for both of them is 8.
I try to delete a dataset, which exists, using IDCAMS. The JCL ends with RC 8.
Code: Select all
//*
//* STEP TO DELETE THE DATASET
//*
//STP01 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//FILE DD DSN=DELETE.THIS.DATASET,DISP=(MOD,DELETE)
//SYSIN DD *
DELETE FILE
/*