View previous topic :: View next topic
|
Author |
Message |
tzeche
New User
Joined: 08 Jun 2007 Posts: 3 Location: Philippines
|
|
|
|
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 |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
Look for MAXRC and LASTCC in the manual. |
|
Back to top |
|
|
Willy Jensen
Active Member
Joined: 01 Sep 2015 Posts: 730 Location: Denmark
|
|
|
|
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 |
|
|
|