View previous topic :: View next topic
|
Author |
Message |
mf_user Currently Banned New User
Joined: 05 Jan 2006 Posts: 47
|
|
|
|
Hi,
We pass data from JCL to COBOL using either SYSIN or PARM.
Is it possible to pass the data from COBOL to JCL?
Please explain in detail or any web link.
Thanks in advance. |
|
Back to top |
|
|
priyesh.agrawal
Senior Member
Joined: 28 Mar 2005 Posts: 1448 Location: Chicago, IL
|
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
JCL by itself, as a language, has no "arguments" recieving capability (like ACCEPT in COBOL or ARG in REXX).
Hoever -
If you want to pass a numeric value, you can do that using the RETURN-CODE special register.
For all other data types, you'll have to write them into a dataset that will be read later by your job.
O. |
|
Back to top |
|
|
mf_user Currently Banned New User
Joined: 05 Jan 2006 Posts: 47
|
|
|
|
Hi,
Thanks for the info and link. |
|
Back to top |
|
|
|