Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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 Job failing with USER = 4093 REASON C... Pradeepa S ABENDS & Debugging 1 Wed May 17, 2017 3:35 pm
This topic is locked: you cannot edit posts or make replies. Cobol GUI (like Editor) Kala Mainframe COBOL Programming 14 Wed May 10, 2017 12:30 pm
No new posts IMS T-Pipe queue counts in a COBOL Pr... Siva NKK Kothamasu IMS DB/DC 0 Tue May 09, 2017 6:31 pm
No new posts COBOL Code Parsers and Lineage Establ... balimanja COBOL Programming 2 Tue May 02, 2017 3:30 am
No new posts Cobol upgrade - source code missing f... gthmrj IBM Tools 1 Wed Apr 26, 2017 6:04 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us