Page 1 of 1

Pass values to COBOL programs other than PARMs.

Posted: Sat Oct 03, 2015 12:11 am
by LakshyaKhanna
Hi,

I have used PARM in my programs and JCL. Is there any way to pass a value, from JCL to a COBOL program other than PARM?

Thanks in advance.

Re: Pass values to COBOL programs other than PARMs.

Posted: Sat Oct 03, 2015 12:28 am
by mickeydusaor
a file

Re: Pass values to COBOL programs other than PARMs.

Posted: Sat Oct 03, 2015 1:16 am
by Robert Sample
What are you wanting to do? Most people use PARM or a files to get data into a COBOL program.

Re: Pass values to COBOL programs other than PARMs.

Posted: Sat Oct 03, 2015 1:03 pm
by William Collins
What values from the JCL do you have that you can't pass through a PARM or a DD?