How do you submit JCL via a Cobol program?
Answers were Sorted based on User's Feedback
Answer / nihar ranjan karan
To elaborate further on the internal reader....
Put your JCL statements in DISPLAY statements in the COBOL
program...
In the Run JCL ....give the following DD statement...
//SYSOUT DD SYSOUT=(*,INTRDR)
as soon as your program is executed the DISPLAY statements
will be written to the SYSOUT and in turn the internal
reader picks up those statements from the SYSOUT and
executes them....
Is This Answer Correct ? | 9 Yes | 3 No |
Answer / s.vijay krishnan
Step 1 : write all the jcl statements in a file.
step 2 : in the jcl assign the dd statement to sysout with
intrdr.
Is This Answer Correct ? | 5 Yes | 1 No |
Answer / 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 |
Write the syntax of a two dimensional array?
i friends greetings to the day...!!! I face a quation like"while runnig the programe every day i have to access the previous day updates only...!! Ex:- Let last day 100 customers took bank account i have to select those customers only.."
DATAONLY, MAPONLY functionality?
1.What is the limit of linkage section?
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?
How do u find the programs calling the given module, without having doing 3.13 on loadlib/source library?
which is better either static call or dynamic call? and why?
How many divisions we have in Cobol ?
What is the difference between performing a SECTION and a PARAGRAPH?
What is the local-storage section?
what is the result of the following? DIVIDE A INTO B GIVING C. a.C=A/B b.the reminder of B/A is stored in C c.C=B/A d.the reminder of A/B is stored in C
What are the different rules to perform a Search?