how to submit a jcl by cobol program.
clear me with an example.
Answer Posted / suresh ramaiyan
Let us the program is PGM1. Below is the JCL for running
the PGM1.
//STEP1 EXEC PGM=PGM1
//INSUB DD SYSOUT (* INTRDR)
In the program define INSUB as file (should have a LRECL of
80). Write all the JCL codings into INSUB file.
When you close the INSUB file, the job will be submitted to
JES automatically.
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
Which mode is used to operate the sequential file?
Name the divisions, which are available in a cobol program?
How to use the same COBOL program in Batch and CICS on lines? explain with an example
how do you reference the fixed unblock file formats from cobol programs
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue
What are the different types of condition in cobol and write their forms.
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
IF I mention stop run in CICS what happens?
how to move the records from file to array table. give with code example
how do you reference the variable block file formats from cobol programs
What rules are to be followed while using the corresponding options?
HOw can I get the negative sign while deduct high value from low value
What are the different rules to perform a Search?