Answer Posted / bala
Jcl:
JOB: //STEP1 EXEC PGM=MAINPM
//DD1 DD DSN=MUTHU.TEST,DISP=SHR
//JCLDD DD SYSOUT=(*,INTRDR)
Cobol:
PROGRAM:MAINPGM
SELECT JCLFILE ASSIGN TO JCLDD…. (Environment Division)
FD JCLFILE.
01 JCL-REC PIC X(80). (File Section)
OPEN OUTPUT JCLFILE. (Open in output and write JCL statements)
MOVE ‘//TESTJOB JOB 1111’ TO JCLREC.
MOVE ‘//STEP01 EXEC PGM=IEFBR14’ TO JCLREC.
CLOSE JCLFILE (TESTJOB will be submitted automatically)
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is the significance of addrspc parameter in the exec statement?
what is DSN parameter and DISP parameter is used for?
how do you code a null statement?
Is it possible to code instream data in a PROC?
Explain the hierarchy levels in jcl?
Explain dd statement in jcl?
how JCL works?
Explain how can the attributes of one sms dataset be copied to another dataset?
what is the purpose of coding notify parameter in job statement?
what sort card you will use to copy the data from one dataset to another dataset?
How do you create a temporary dataset?
List in order the hierarchical levels of jcl?
A dd statement consists of 4 fields. Name them?
What are the parameters that are used in creating a gdg?
What statement can be used to send data to another mvs jes3 node?