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
 
return-code passing from cobol to jcl,not cleared yet here

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
View previous topic :: :: View next topic  
Author Message
kumar119119

New User


Joined: 31 May 2010
Posts: 25
Location: Pune

PostPosted: Mon Jun 28, 2010 11:24 pm    Post subject: return-code passing from cobol to jcl,not cleared yet here
Reply with quote

We pass data from cobol to jcl using return-code register.

suppose if we move 450 to returncode at runtime max returncode will show 450, but

1. if the program succesful maxcc will show 0/4, but when we move this 450 what it will show?

2. and like this cobol to jcl scenario incase of abend will it show 450 or relevant abend code

From
Satish kumar reddy.T
Bangalore.
Back to top
View user's profile Send private message

CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2150
Location: At my coffee table

PostPosted: Mon Jun 28, 2010 11:37 pm    Post subject: Re: return-code passing from cobol to jcl,not cleared yet he
Reply with quote

kumar119119 wrote:
1.if the program succesful maxcc will show 0/4, but when we move this 450 what it will show?
450. If nothing is put in the return code register, it will have a zero, the only way for it to be a 4 is if the program moves a 4 into the register.
Quote:
2.and like this cobol to jcl scenario incase of abend will it show 450 or relevant abend code
Depending on what kind of abend (user or system) the RC will be either system generated or user generated.
Back to top
View user's profile Send private message
kumar119119

New User


Joined: 31 May 2010
Posts: 25
Location: Pune

PostPosted: Tue Jun 29, 2010 2:17 pm    Post subject: thank you cics guy
Reply with quote

hi folks

thanks a lot cics guy

your information very useful to me
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 -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to display offset thru cobol prog... tvinodkumar7 CICS 0 Sun Apr 22, 2018 8:42 pm
No new posts Linkage editor is part of COBOL, z/OS... ankit.jain COBOL Programming 4 Fri Apr 20, 2018 4:17 pm
This topic is locked: you cannot edit posts or make replies. Difference between EQUAL and EQUAL TO... jithinraghavan COBOL Programming 3 Thu Apr 19, 2018 2:22 am
No new posts Call COBOL or PLI with a click from w... vaibhav gs All Other Mainframe Topics 1 Mon Apr 16, 2018 7:29 pm
No new posts Getting GG return code abdulrafi IMS DB/DC 2 Tue Apr 10, 2018 12:31 pm

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