Pass value from COBOL program to JCL



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

Pass value from COBOL program to JCL

Postby sreekumari0505 » Tue Mar 25, 2008 1:03 pm

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
sreekumari0505
 
Posts: 2
Joined: Tue Mar 11, 2008 12:33 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Pass a value from COBOL program to Jcl

Postby arunprasad.k » Tue Mar 25, 2008 2:47 pm

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.
arunprasad.k
 
Posts: 110
Joined: Thu Dec 27, 2007 5:18 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Pass a value from COBOL program to Jcl

Postby dick scherrer » Tue Mar 25, 2008 7:11 pm

Hello,

Data is not passed from cobol code to jcl.

If you describe what you need to accomplish, someone may have a suggestion.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: Pass a value from COBOL program to Jcl

Postby rawatdewan » Tue Apr 01, 2008 12:08 pm

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
rawatdewan
 
Posts: 14
Joined: Tue Jan 15, 2008 5:28 pm
Has thanked: 0 time
Been thanked: 0 time


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post