How do you submit JCL via a Cobol program?

Answer Posted / puneet pandhi

It is possible to submit a job from a DB2 Stored Procedure.
In the WLM start up procedure, ask your DBA to add this

//JCLJOB DD SYSOUT=(,INTRDR)

Create one file JCLFIL and populate the JCL that you want
to submit into this file. When you close this file, the job
should get submitted.

then as you close the file the job will be submitted and in
SP add SELECT JCLFIL ASSIGN TO JCLJOB

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com

1978


Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?

842


What is the utilization of copybook in cobol?

882


Write the code implementing the perform … varying.

820


which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad

1238


i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc

2318


What is the default value(s) for an initialize? What keyword will allow for an override of the default?

863


i need a small 3d program using inline and outline.

1892


What is the difference between a binary search and a sequential search what are the pertinent cobol?

925


What is the local-storage section?

886


how can i see junk values in dclgen or in hostvariable of comp ?

2750


Write a program to explain size error.

884


how to access the file from prodution from changeman tool and to submit a file to production

7081


What is redefines clause in COBOL?

1037


What is difference between static and dynamic call in cobol?

1030