On 25 March 2013 14:32, Robert A. Rosenberg <[email protected]> wrote: > At 12:49 -0500 on 03/25/2013, Ducky duke wrote about Dataset DELETE question
>> Tried with IDCAMS DELETE : >> >> //STEP010 EXEC PGM=IDCAMS >> //DD01 DD DSN=SYS12048.T104505.RA000.IBMUSER.R0100008, >> // DISP=OLD,VOL=SER=WORK01,UNIT=3390 >> //SYSPRINT DD SYSOUT=* >> //SYSIN DD *,DCB=BLKSIZE=9040 >> DELETE FILE(DD01) NONVSAM PURGE >> >> IKJ56228I DATA SET FILE NOT IN CATALOG OR CATALOG CAN NOT BE ACCESSED >> IDC0548I ** MEMBER DD01 NOT DELETED >> IDC0001I FUNCTION COMPLETED, HIGHEST CONDITION CODE WAS 8 >> >> IDC0002I IDCAMS PROCESSING COMPLETE. MAXIMUM CONDITION CODE WAS 8 > IDCAMS failed since it expects to find the dataset in a catalog (which it was > not). See the error message. That's not why *this* invocation of IDCAMS failed. This is the wrong syntax for the desired DELETE command; this command tries to delete member DD01 of a dataset called FILE. While it takes IDCAMS two messages to say so, and certainly some mixed-case message text would be helpful almost 40 years after mixed case terminals became common, it is nonetheless pretty clear. In TSO (and by extension, IDCAMS) terminology, FILE means DDNAME, and DATASET means DSNAME. Tony H. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
