Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
IBEGENER RETURN CODE 12

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
anilkumar922

New User


Joined: 27 Jun 2016
Posts: 9
Location: india

PostPosted: Wed Dec 13, 2017 11:41 am    Post subject: IBEGENER RETURN CODE 12
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: 8787
Location: Welsh Wales

PostPosted: Wed Dec 13, 2017 12:28 pm    Post subject:
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: 9
Location: india

PostPosted: Wed Dec 13, 2017 12:39 pm    Post subject: Reply to: IBEGENER RETURN CODE 12
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: 323
Location: Denmark

PostPosted: Wed Dec 13, 2017 2:31 pm    Post subject:
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: 9
Location: india

PostPosted: Wed Dec 13, 2017 2:40 pm    Post subject: Reply to: IBEGENER RETURN CODE 12
Reply with quote

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

Active Member


Joined: 29 Apr 2008
Posts: 609
Location: Maryland

PostPosted: Wed Dec 13, 2017 10:06 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts COBOL -DB2 SQL code to have GROUP BY ... vinu78 DB2 21 Wed Oct 23, 2019 7:00 pm
No new posts proc step return code to override in ... Aaryaa JCL & VSAM 3 Tue Aug 20, 2019 4:32 pm
No new posts Difference between GE and GB return c... Poha Eater IMS DB/DC 8 Fri Jul 12, 2019 12:59 pm
No new posts S0C4 Reason Code 10 cz016m COBOL Programming 1 Thu May 02, 2019 7:13 am
No new posts IEFSJREQ or SWBREQTU following SSI Fu... sidinpsl PL/I & Assembler 0 Tue Jan 08, 2019 1:20 am

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