Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
IDC2902I Error

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging
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    Post subject: IDC2902I Error
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: 2442
Location: Netherlands, Amstelveen

PostPosted: Tue Mar 28, 2017 12:06 pm    Post subject:
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: 170
Location: Switzerland

PostPosted: Tue Mar 28, 2017 2:37 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts FTP Skip or ignore error and process ... AJAYREDDY All Other Mainframe Topics 3 Wed Sep 27, 2017 8:12 pm
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am
No new posts FUSE - IBM MQ - CICS integration error Kevin Vaz CICS 1 Mon Sep 18, 2017 4:31 pm
No new posts Reply MQ open error Vignesh Sid COBOL Programming 6 Thu Sep 07, 2017 6:02 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us