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
How arrays can be defined in COBOL?
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic
What is the difference between next sentence and continue in cobol programing language?
What is the difference between Global and External Variables?
I have a File that has duplicate records. I need only those records that occur more than thrice.?
What is length is cobol?
When is inspect verb is used in cobol?
Write a program to explain size error.
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
What is the LINKAGE SECTION used in COBOL?
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
Can we redefine the field of x(200) to less than 200?
Define cobol?
How you can characterize tables in cobol?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?