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

IBEGENER RETURN CODE 12


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
anilkumar922

New User


Joined: 27 Jun 2016
Posts: 13
Location: india

PostPosted: Wed Dec 13, 2017 11:41 am
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Wed Dec 13, 2017 12:28 pm
Reply with quote

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
View user's profile Send private message
anilkumar922

New User


Joined: 27 Jun 2016
Posts: 13
Location: india

PostPosted: Wed Dec 13, 2017 12:39 pm
Reply with quote

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
View user's profile Send private message
Willy Jensen

Active User


Joined: 01 Sep 2015
Posts: 443
Location: Denmark

PostPosted: Wed Dec 13, 2017 2:31 pm
Reply with quote

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
View user's profile Send private message
anilkumar922

New User


Joined: 27 Jun 2016
Posts: 13
Location: india

PostPosted: Wed Dec 13, 2017 2:40 pm
Reply with quote

Thanks Willy Jensen..
Back to top
View user's profile Send private message
sergeyken
Warnings : 2

Senior Member


Joined: 29 Apr 2008
Posts: 1009

PostPosted: Wed Dec 13, 2017 10:06 pm
Reply with quote

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
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 -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts How to convert RESP code 12 to text? CICS 9
No new posts Execute step regardless of previous s... JCL & VSAM 2
No new posts Error 0C1 Reason Code 1 with branch i... PL/I & Assembler 3
No new posts JCL for replacing code in Cobol JCL & VSAM 7
No new posts Easytrieve EZABX007 with error code 0... CA Products 7
Search our Forums:

Back to Top