Pass value from COBOL program to JCL

JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...
sreekumari0505
Posts: 2
Joined: Tue Mar 11, 2008 12:33 pm
Skillset: IDMS,ADSO,COBBOL,JCL,CICS
Referer: From website google

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

arunprasad.k
Posts: 110
Joined: Thu Dec 27, 2007 5:18 pm
Skillset: Known little stuffs to answer a few queries!!
Referer: Google
Contact:

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.

User avatar
dick scherrer
Global moderator
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am

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.

rawatdewan
Posts: 14
Joined: Tue Jan 15, 2008 5:28 pm
Skillset: cobol,jcl,db2
Referer: internet

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


  • Similar Topics
    Replies
    Views
    Last post