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
 

 

How to pass values from COBOL to JCL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
murali1508

New User


Joined: 28 Jul 2005
Posts: 5

PostPosted: Wed Aug 03, 2005 11:39 am    Post subject: How to pass values from COBOL to JCL
Reply with quote

Hi All,


How to pass values from COBOL to JCL, pls Explain with Code


Regards,
Murali.
Back to top
View user's profile Send private message

shivashunmugam Muthu

Active User


Joined: 22 Jul 2005
Posts: 114
Location: Chennai

PostPosted: Wed Aug 03, 2005 12:04 pm    Post subject: Re: How to pass values from COBOL to JCL
Reply with quote

we can pass values to Return-Code.

But whatz ur purpose here. so that we can discuss abt it more.
Back to top
View user's profile Send private message
kiran.v2

New User


Joined: 29 Jul 2005
Posts: 10

PostPosted: Wed Aug 03, 2005 4:14 pm    Post subject:
Reply with quote

Hi Muthu,

Thanks for u r Replay.

1. we are sending values from JCL to COBOL through PARM, like that i want to send from COBOL to JCL.

2. can u tell me how to Pass values to Return-Code.


Regards,
Murali.
Back to top
View user's profile Send private message
shivashunmugam Muthu

Active User


Joined: 22 Jul 2005
Posts: 114
Location: Chennai

PostPosted: Wed Aug 03, 2005 4:48 pm    Post subject: Re: How to pass values from COBOL to JCL
Reply with quote

hi..

normally when we check for file status....or any other error handling, we used to move the value to RC.

its simple syntax

MOVE XXXX TO RETURN-CODE
Back to top
View user's profile Send private message
ajayvamsi
Currently Banned

New User


Joined: 21 Jul 2005
Posts: 56
Location: Hyderabad

PostPosted: Tue Aug 09, 2005 5:35 pm    Post subject: EVALUATE
Reply with quote

Hi all,
when I faced an interview they asked me what is the diffrence b/w
EVALUATE TRUE
WHEN PLAN = '545' OR '656'
....
WHEN OTHER
END-EVALUTE

and

EVALUATE TRUE
WHEN PLAN = '545' ALSO '656'
....
WHEN OTHER
END-EVALUTE

wat is the difference these two statements...please help me out...!!
Back to top
View user's profile Send private message
priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1452
Location: Chicago, IL

PostPosted: Tue Aug 09, 2005 6:05 pm    Post subject: Re: How to pass values from COBOL to JCL
Reply with quote

Why the question in thread...when you already postde a new topic...

http://ibmmainframes.com/viewtopic.php?t=4898

Regards,

Priyesh.
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 -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Sorting of hex values Saurabh_mi DFSORT/ICETOOL 11 Thu May 25, 2017 3:49 pm
No new posts Replace values in the input data Vikas Maharnawar DFSORT/ICETOOL 10 Thu May 11, 2017 2:18 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


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