A job runs creating a file in a Dynam/D disk pool. File is read by IDCAMS DYNUTIL can not find file in disk pool to delete it. File is still on a volume in the disk pool.
Job creates file:
// DLBL OUTFILE,'GETDATA.FTP00008.D',1,SD
// EXTENT SYS006,TSGWRK,1,0,1,200
CADD002I ALLOCATED FILE=OUTFILE SYS006=171 WORK02 X=0/1230/200.
IDCAMS reads file:
CADD028I ACCESSED FILE=DDIN SYS006=171 WORK02 X=0/1230/1.
DYNUTIL can not delete file:
// UPSI 0
// EXEC DYNUTIL,SIZE=DYNUTIL
1S54I PHASE DYNUTIL IS TO BE FETCHED FROM VNDR.CADYN704
COMPUTER ASSOCIATES D Y N A M / D
CA-DYNAM 7.0 0404YD000
DELETE 'GETDATA.FTP00008.D' POOL=TSGWRK PARTIAL
CADD544W FILE-ID NOT FOUND
CADD563I END OF DYNUTIL PROCESSING. MAX.RETURN CODE=0004
1S55I LAST RETURN CODE WAS 0004
The same delete statement with VOL= instead of POOL= finds and deletes the file.
Published PTF QO92221 resolves this problem, even though the problem description does not mention this symptom.