How to submit a job from cobol Program



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

How to submit a job from cobol Program

Postby luckjoy » Sat Nov 01, 2008 8:02 am

How to submit a job from a COBOL program ?
luckjoy
 
Posts: 2
Joined: Sat Nov 01, 2008 7:29 am
Has thanked: 0 time
Been thanked: 0 time

Re: How to submit a job from cobol Program

 

Re: How to submit a job from cobol Program

Postby dick scherrer » Sat Nov 01, 2008 8:08 am

Hello,

Jobs are not submitted from COBOL programs, they are submitted thru jcl.

If a cobol program writes a file of jcl to the "internal reader", that causes the job to be submitted. It really has nothing to do with cobol - it could also be done with some utility.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times


Return to IBM Cobol

 


  • Related topics
    Replies
    Views
    Last post