Page 1 of 1

How to Submit JCL Program from Cobol?

PostPosted: Tue Aug 25, 2009 10:56 am
by prasadnaidu
Hi every one,

In Online environment(CICS) i am entering the choice in the map.
In Cobol progarm i recieve that Choice. If the Choice is 12 then I have to Generate report.

Actually I was already written a code for that issue using Batch programming. Now my requirement is to execute
that Batch Program(means JCL Program) from my Cobol Program. What i have to do in my Cobol Program

Re: How to Submit JCL Program from Cobol?

PostPosted: Wed Aug 26, 2009 3:44 am
by dick scherrer
Hello,

Talk with your cics support as to how the Internal Reader is defined on your system (it will be some file)

In the code, write the JCL for the report job to this file.

Your system might instead have a utility module that you call passing the jcl - if this is the method used on your system, your cics support will know this also.