Pass values to COBOL programs other than PARMs.

OS/VS COBOL, COBOL II, Enterprise COBOL for z/OS. OpenCOBOL and OOCobol.
Post Reply
LakshyaKhanna
New Member
Posts: 1
Joined: Thu Sep 25, 2014 8:09 am

Pass values to COBOL programs other than PARMs.

Post 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.
User avatar
mickeydusaor
Forum Moderator
Forum Moderator
Posts: 27
Joined: Fri Aug 28, 2015 10:11 pm
Location: Salem, Oregon

Re: Pass values to COBOL programs other than PARMs.

Post by mickeydusaor »

a file
User avatar
Robert Sample
Global Moderator
Global Moderator
Posts: 1891
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
United States of America

Re: Pass values to COBOL programs other than PARMs.

Post by Robert Sample »

What are you wanting to do? Most people use PARM or a files to get data into a COBOL program.
William Collins
Global Moderator
Global Moderator
Posts: 490
Joined: Sun Aug 25, 2013 7:24 pm

Re: Pass values to COBOL programs other than PARMs.

Post by William Collins »

What values from the JCL do you have that you can't pass through a PARM or a DD?
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “IBM COBOL, GnuCOBOL (OpenCOBOL), OOCobol.”