execution through cobol



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

execution through cobol

Postby Vikrant Survase » Mon Jul 19, 2010 1:11 pm

hi
one question ask me in interview ,
Is it possible to execute JCLthrough Cobol programe?if yes then how?
Vikrant Survase
 
Posts: 19
Joined: Fri Jun 04, 2010 9:08 pm
Has thanked: 0 time
Been thanked: 0 time

Re: execution through cobol

Postby NicC » Mon Jul 19, 2010 2:02 pm

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.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 3025
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisies (almost)
Has thanked: 4 times
Been thanked: 136 times


Return to IBM Cobol

 


  • Related topics
    Replies
    Views
    Last post