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

IDC2902I Error


IBM Mainframe Forums -> ABENDS & Debugging
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
tzeche

New User


Joined: 08 Jun 2007
Posts: 3
Location: Philippines

PostPosted: Tue Mar 28, 2017 11:39 am
Reply with quote

My JCL step is like this

Code:

//STEP010  EXEC PGM=IDCAMS         
//SYSPRINT DD SYSOUT=*             
//SYSOUT   DD SYSOUT=*             
//SYSIN    DD *                     
 DELETE HLQ.AAA.** MASK     
 DELETE HLQ.BBB.** MASK     
 DELETE HLQ.CCC.** MASK     
 DELETE HLQ.DDD.** MASK     
//             
 


and I got this Error Message

Code:

 DELETE HLQ.DDD.** MASK                                     
 NO ENTRIES FOUND FOR MASK HLQ.DDD.**               
IDC0001I FUNCTION COMPLETED, HIGHEST CONDITION CODE WAS 8           
                                                                   
IDC0002I IDCAMS PROCESSING COMPLETE. MAXIMUM CONDITION CODE WAS 8   



My questions:
1. is there any way for my job to not abend and just ignore if no entries found for the mask
2. If my job failed on the second Delete command, will it still proceed to check next commands?
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2475
Location: Netherlands, Amstelveen

PostPosted: Tue Mar 28, 2017 12:06 pm
Reply with quote

Look for MAXRC and LASTCC in the manual.
Back to top
View user's profile Send private message
Willy Jensen

Active User


Joined: 01 Sep 2015
Posts: 416
Location: Denmark

PostPosted: Tue Mar 28, 2017 2:37 pm
Reply with quote

Just to be clear, a 'dataset not found' condition will not make IDCAMS abend, it will just end with return code 8.
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 -> ABENDS & Debugging

 


Similar Topics
Topic Forum Replies
No new posts Secondary index error while loading d... IMS DB/DC 2
No new posts Error 0C1 Reason Code 1 with branch i... PL/I & Assembler 3
No new posts Getting error while xped JCL & VSAM 10
No new posts can someone please help me in finding... IBM Tools 9
No new posts SYNCSORT Error - CONTROL FIELD BEYOND... SYNCSORT 10
Search our Forums:

Back to Top