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
 
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: 8714
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: 219
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 User


Joined: 29 Apr 2008
Posts: 363
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 Problem with Return or Exit from DCB ... Vishnu Priya M R PL/I & Assembler 6 Thu Aug 23, 2018 9:43 am
No new posts Invoke WebService failing with respon... Ashishpanpaliya CICS 3 Thu Aug 09, 2018 3:14 pm
This topic is locked: you cannot edit posts or make replies. IO-PCB status code AL srinianusuya IMS DB/DC 1 Mon Aug 06, 2018 10:26 am
No new posts SQL Code 302 while executing stored ... Ashishpanpaliya DB2 8 Wed Aug 01, 2018 7:54 pm
No new posts sql code 331 while calling Stored Pro... Ashishpanpaliya DB2 5 Wed Aug 01, 2018 7:06 pm

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