Page 1 of 1

execution through cobol

PostPosted: Mon Jul 19, 2010 1:11 pm
by Vikrant Survase
hi
one question ask me in interview ,
Is it possible to execute JCLthrough Cobol programe?if yes then how?

Re: execution through cobol

PostPosted: Mon Jul 19, 2010 2:02 pm
by NicC
No - but you can generate and submit a job using Cobol and allocating the DDname, to which you write the JCL, to INTRDR - look up the JCL? manual for the exact format.

Having said that, you can allocate and delete files 'on the fly' but that is not with JCL but a utility program and if you check other threads you will get the name BPXWDYN or something like that.