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 XML Parse for COBOL 5.2 Bhanu Praveen COBOL Programming 1 Sat Jul 08, 2017 8:58 pm
No new posts Dynamic output file creation in cobol... smileheal COBOL Programming 7 Thu Jun 15, 2017 10:53 pm
No new posts Search utility(3.14) using JCl and Cobol RKS3 COBOL Programming 12 Sat Jun 10, 2017 10:24 pm
No new posts COBOL DB2 program - zIIP eligible vasanthz COBOL Programming 7 Wed May 31, 2017 5:12 am
No new posts Sorting of hex values Saurabh_mi DFSORT/ICETOOL 11 Thu May 25, 2017 3:49 pm


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