The problem was recreated with new,catlg,
delete in place of new,catlg,
catlg. Still got an E37; but the dataset was not deleted. The second time I ran the job( 1st step is to delete the dataset ), it failed in the first step with
STEP0 OUTFILE2 - ALLOCATION FAILED DUE TO DATA FACILITY SYSTEM
IGD17001I DUPLICATE DATA SET NAME ON VOLUME TST002
FOR DATA SET RCIP00S.JDH.DUMP.PROD
IGD17001I DUPLICATE DATA SET NAME ON VOLUME TST003
FOR DATA SET RCIP00S.JDH.DUMP.PROD
IGD17001I DUPLICATE DATA SET NAME ON VOLUME TST001
FOR DATA SET RCIP00S.JDH.DUMP.PROD
How is it that the abnormal termination DISP isn't properly deleting the dataset? It remains uncatalogued on the volume. Here's what i found about the JCL ERROR in STEP0 with MOD,DELETE,DELETE.
“If the system cannot find volume information for the data set on the DD statement, in the catalog, or passed with the data set from a previous step, the system assumes that the data set is being created in this job step.â€