IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

IDCAMS Delete


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
kedianirmal

New User


Joined: 08 Feb 2008
Posts: 82
Location: Bangalore, India

PostPosted: Thu Sep 06, 2012 8:06 pm
Reply with quote

Why do we code MAXCC=0 in any IDCAMS delete statement.

Thanks,
Nirmal
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Sep 06, 2012 8:13 pm
Reply with quote

You do not code it in the DELETE...
You code it after the delete
and ...
You do not code a maxcc statement/command/clause
You code a SET .... statement/command/clause

remember in IT using the exact terminology is essential for good communication.



because deleting a nonexistent dataset is not considered <generally> an error

Code:
DELETE .....
SET LASTCC=0
SET MAXCC=0
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts DELETE SPUFI DB2 1
No new posts DSNTIAUL driven delete IBM Tools 0
No new posts How to delete a user's alias from the... JCL & VSAM 11
No new posts Delete file row if blanks in the firs... DFSORT/ICETOOL 5
No new posts volume mass delete RMM JCL & VSAM 2
Search our Forums:

Back to Top