How to Submit JCL Program from Cobol?

Support for OS/VS COBOL, VS COBOL II, COBOL for OS/390 & VM and Enterprise COBOL for z/OS

How to Submit JCL Program from Cobol?

Postby prasadnaidu » Tue Aug 25, 2009 10:56 am

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
Posts: 14
Joined: Fri Aug 14, 2009 10:25 pm
Has thanked: 0 time
Been thanked: 0 time

Re: How to Submit JCL Program from Cobol?


Re: How to Submit JCL Program from Cobol?

Postby dick scherrer » Wed Aug 26, 2009 3:44 am


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.
Hope this helps,
User avatar
dick scherrer
Global moderator
Posts: 6308
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 90 times

Return to IBM Cobol


  • Related topics
    Last post