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
Is automatic restart possible in jcl?
What is multithreading in jcl?
What is the motivation behind coding class parameter in job statement?
Explain the purpose of dd dummy statement?
can any one plzzzzzz tell the jcl code for creating ps using idcams
hello friends ,i have exam in Hsbc,pls any on send me placement papers and technical questions on mainframes,thank u
When space is allocated for an output dataset, what units can be used?
define cond parameter in jcl?
Can I send output of job to my remote device careerride123?
Is their any set of rules for dd? Explain.
What are hierarchy levels in jcl?
what is use of disp parameter in dd statement?
What do you understand by the terms: joblib and steplib?
how do you access an uncataloged dataset in a jcl?
What is the function of the steplib dd statement?