-
-
-
Send email from JCL in Mainframe
How to send a Mainframe file to a mailbox using a JCL? Mailbox could be any? What parameters need to be passed in the JCL like - Host address, mail address, etc..?
-
JCL Steps
How to Run same steps in a jcl 'n' number of time each time with different input files without repeating the steps n times?
-
Calculate total space allocated for file
If file is having space parm as SPACE=(CYL,(10,10)) i.e. 10 primary, 10 secondary. So how much cylinders totally it will take before dataset filled till end?
-
-
What is MOD and when would you use it?
DISP=MOD is used when the dataset can be extended, ie, you can add records at the end of an existing dataset.
-
What is the purpose of the PARM keyword in the EXEC statement?
The value after the PARM= specifies control information to be passed to the executing program of the job step.
-
-
JCL program Copy Book Copylib
You have mentioned the copylib in JCL program but the copy book is not expanded in the program what is the possible error you get?
-
JCL parm parameter
i am passing data from jcl using parm to COBOL-db2 program, where can u retrieve the passing data in COBOL-db2 program and where it stored?
-
-
Describe the EXEC statement, its meaning, syntax and keywords?
The EXEC statement identifies the program to be executed via a PGM=program name keyword. Its format is //jobname EXEC PGM=program name. The PARM= keyword can be used to pass external values to the executing program.
-
What is the purpose and meaning of the TIME keyword and what JCL statement is it associated with?
TIME specifies the maximum CPU time allocated for a particular job or job step. If TIME is in the JOB card, it relates to the entire job; if in the EXEC statement, it relates to the job step.
-
How do you skip a job and run step 1 and step3 ?
A job has 3 steps by name step1, step2, step3.if i don't want to execute step2, what i have to do.
-
-
-
-
-
JCL Interview Questions
Ans