DBA > Job Interview Questions > JOB CONTROLL LANGUAGE (JCL) Interview Questions

How do you run a COBOL batch program from a JCL

More DBA job interview questions and answers at http://dba.fyicenter.com/Interview-Questions/

(Continued from previous question...)

How do you run a COBOL batch program from a JCL ? How do you run a COBOL/DB2 program ?

To run a non DB2 program,
//STEP001 EXEC PGM = MYPROG


To run a DB2 program,
//STEP001 EXEC PGM=IKJEFT01
//SYSTSIN DD*
DSN SYSTEM(...)
RUN PROGRAM (MYPROG)
PLAN(...) LIB (....) PARMS(...)
/*

(Continued on next question...)

Other Job Interview Questions