View previous topic :: View next topic
|
Author |
Message |
anilkumar922
New User
Joined: 27 Jun 2016 Posts: 13 Location: india
|
|
|
|
Hi Team,
I'm using IBEGENER for copying one GDG data to another GDG file.
I got RC 12 saying that DCB parameters conflict. I understood the Input file record length is different to Output file.
Here my question is Job not stopped at IBEGENER step as it got RC 12 and it went on executing the remaining steps. Also it not showed in ABEND job list.
Is there any reason IBEGENER return codes not captured?
If yes, if we want to stop the Job, can we use COND parameter?
Please suggest.
Thanks in Advance,
Kumar. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
RC12 is NOT an ABEND, it is a return code.
The RC12 was captured as you obviously know about it.
Unless your Job is correctly set up to stop if a certain or non zero RC is issued then it will not stop
YES you can use the COND keyword. But you have already tried that, right ? |
|
Back to top |
|
|
anilkumar922
New User
Joined: 27 Jun 2016 Posts: 13 Location: india
|
|
|
|
Thanks Expat.
I didn't tried COND parameter till now. just i thought it will work. also earlier wanted to know why job didn't stopped though we got RC12.
Thanks for your quick reply. |
|
Back to top |
|
|
Willy Jensen
Active Member
Joined: 01 Sep 2015 Posts: 712 Location: Denmark
|
|
|
|
Jobs dont stop because of condition codes, rc 12 could be a perfectly acceptable return code for another program. You need to use COND or IF/END to handle rc. |
|
Back to top |
|
|
anilkumar922
New User
Joined: 27 Jun 2016 Posts: 13 Location: india
|
|
|
|
Thanks Willy Jensen.. |
|
Back to top |
|
|
sergeyken
Senior Member
Joined: 29 Apr 2008 Posts: 2010 Location: USA
|
|
|
|
Willy Jensen wrote: |
Jobs dont stop because of condition codes, rc 12 could be a perfectly acceptable return code for another program. You need to use COND or IF/END to handle rc. |
Nice explanation for the Beginners Forum!
Looks like many of new Topic Starters just promoted from Junior Computer Games Experts straightforward to Senior Mainframe Experts, isn't it? |
|
Back to top |
|
|
|