Hi,
How to read multiple input is passed by parm parameter from jcl in COBOL program?
read multiple input passed in COBOL
-
- Registered Member
- Posts: 62
- Joined: Sat Jun 29, 2013 1:45 pm
- Robert Sample
- Global Moderator
- Posts: 1903
- Joined: Fri Jun 28, 2013 1:22 am
- Location: Dubuque Iowa
Re: read multiple input passed in COBOL
It is not clear what you are asking -- you'll need to provide an example so we can see what you want. Parameters passed from JCL, in general, are available through the LINKAGE SECTION.
-
- Registered Member
- Posts: 62
- Joined: Sat Jun 29, 2013 1:45 pm
Re: read multiple input passed in COBOL
If there are more than parameters passed from JCL, how do we recieve them in LINKAGE? If they are separate variable and don't belong to each other but passed in together?
- Robert Sample
- Global Moderator
- Posts: 1903
- Joined: Fri Jun 28, 2013 1:22 am
- Location: Dubuque Iowa
Re: read multiple input passed in COBOL
You can only pass ONE parameter from JCL to COBOL. You can parse that parameter any way you need, but it is only one parameter with one entry in the LINKAGE SECTION.
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