JCL:
//DELETE   EXEC PGM=IDCAMS                               
//SYSPRINT DD  SYSOUT=*                                  
//DD2      DD  UNIT=3390,VOL=SER=PR1023,DISP=SHR         
//SYSIN    DD  *                                         
  DELETE FILE(DD2)  NVR      NOSCRATCH              -    
      CATALOG(CATALOG.MVSICFM.VIP1081)                   
/*                                                       

IDCAMS Messages:

IDCAMS  SYSTEM SERVICES                                           TIME:
                                                                       
  DELETE FILE(DD2)  NVR      NOSCRATCH              -                  
      CATALOG(CATALOG.MVSICFM.VIP1081)                                 
IDC3226I INCONSISTENT PARAMETERS INVOLVING 'NOSCRATCH'                 
IDC3225I REQUIRED (SUB)PARAMETER OF 'FILE' IS MISSING                  
IDC3226I INCONSISTENT PARAMETERS INVOLVING 'NVR'                       
IDC3202I ABOVE TEXT BYPASSED UNTIL NEXT COMMAND. CONDITION CODE IS 12  
                                                                       
IDC0002I IDCAMS PROCESSING COMPLETE. MAXIMUM CONDITION CODE WAS 12     

This is an example.  I have tried over 20 other variations with similar 
results.  I won't waste time trying to show every instance.

If you haven't done it then you don't have an example.

.......Larry

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Elardus Engelbrecht
Sent: Friday, October 12, 2012 8:43 AM
To: [email protected]
Subject: Re: Delete Catalogs from VVCR

On Fri, 12 Oct 2012 08:31:33 -0400, Martin, Larry D <[email protected]> 
wrote:

>>Define the necessary ucat name temporarily . No entries or names are 
>>necessary. Issue the necessary deletes and then delete the temporary ucat... 

>That is exactly what I did; however, I cannot get IDCAMS to accept my control 
>statements. 

Show the IDCAMS statements, all messages and all DD involved. Show the SYSLOG 
messages too.
 
>I have used DELETE, FILE(DDx), VVR, NVR, NOSCRATCH, and CATALOG(catname) in 
>various configurations but none pass IDCAMS error checking.  I was hoping that 
>someone had done this and had an example. 

Alternatively, move your datasets AWAY from the volsers and init these volsers.

Groete / Greetings
Elardus Engelbrecht

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
[email protected] with the message: INFO IBM-MAIN

This E-mail and any of its attachments may contain Prince George’s
County Government or Prince George's County 7th Judicial Circuit
Court proprietary information or Protected Health Information,
which is privileged and confidential.  This E-mail is intended
solely for the use of the individual or entity to which it is
addressed.  If you are not the intended recipient of this E-mail,
you are hereby notified that any dissemination, distribution,
copying, or action taken in relation to the contents of and
attachments to this E-mail is strictly prohibited by federal law
and may expose you to civil and/or criminal penalties. If you have
received this E-mail in error, please notify the sender immediately
and permanently delete the original and any copy of this E-mail and
any printout.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to