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 Check Binary Values for symbols gandikk CA Products 3 Tue Mar 21, 2017 5:11 am
No new posts To display values of multiple rows in... vinu78 DB2 2 Thu Mar 09, 2017 1:20 pm
No new posts Replacing same string with different ... vickey_dw DFSORT/ICETOOL 6 Wed Feb 22, 2017 10:44 pm
No new posts SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm
No new posts Execute TSO ACF commands from COBOL-I... supreethi.srid TSO/ISPF 0 Tue Feb 21, 2017 5:19 pm


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