In your JCL define as
//JOBA JOB 1111, JOB1 //STEP01 EXEC PGM=PROG1 //ddname DD SYSOUT=(*,INTRDR)....and your COBOL(PROG1) should look like this
SELECT JCL-FILE ASSIGN TO ddname. Open this file and write the JCL statements into this file. Example:
MOVE '//TESTJOB JOB 1111,VISVEISH' TO JCL-REC.MOVE '//STEP01 EXEC PGM=IEFBR14' TO JCL- REC and close this file. Then TESTJOB will be submitted.
Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!