Page 1 of 1

Pass value from COBOL program to JCL

PostPosted: Tue Mar 25, 2008 1:03 pm
by sreekumari0505
Hi

How will you pass a data from a cobol program to JCl. Please not it is revesre (not from JCL to cobol).

Thanks
Vel

Re: Pass a value from COBOL program to Jcl

PostPosted: Tue Mar 25, 2008 2:47 pm
by arunprasad.k
Write it into a file and use it in another step. If this is not what you wanted then post your requirements clear.

How will you pass a data from a cobol program to JCl.


#1 What do you mean by data?
#2 Why your JCL needs it?
#3 How your COBOL program gets that data?
#4 How do you want to use it in the JCL?

Arun.

Re: Pass a value from COBOL program to Jcl

PostPosted: Tue Mar 25, 2008 7:11 pm
by dick scherrer
Hello,

Data is not passed from cobol code to jcl.

If you describe what you need to accomplish, someone may have a suggestion.

Re: Pass a value from COBOL program to Jcl

PostPosted: Tue Apr 01, 2008 12:08 pm
by rawatdewan
extending the above thoughts only one thing which cand be passed from cobol to jcl is the return code u can set the value fo return code register by moving some value to the it