Category Archives: IBM JCL Interview Questions

Can you code instream data in a PROC ? | IBM JCL Questions

No.

Posted in IBM JCL Interview Questions | Leave a comment

I have a COBOL program that ACCEPTs some input data. How do you code the JCL statment for this? | IBM JCL Questions

//SYSIN DD* input data input data /*

Posted in IBM JCL Interview Questions | Leave a comment

I have multiple jobs ( JCLs with several JOB cards ) in a member. What happens if I submit it? | IBM JCL Questions

Multiple jobs are submitted (as many jobs as the number of JOB cards).

Posted in IBM JCL Interview Questions | Leave a comment

How do you send the output of a COBOL program to a member of a PDS? | IBM JCL Questions

Code the DSN as pds(member) with a DISP of SHR. The disp applies to the pds and not to a specific member.

Posted in IBM JCL Interview Questions | Leave a comment

What does IEBGENER do? | IBM JCL Questions

Used to copy one QSAM file to another. Source dataset should be described using SYSUT1 ddname. Destination dataset should be decribed using SYSUT2. IEBGENR can also do some reformatting of data by supplying control cards via SYSIN.

Posted in IBM JCL Interview Questions | Leave a comment

How do you check the syntax of a JCL without running it? | IBM JCL Questions

TYPERUN=SCAN on the JOB card or use JSCAN.

Posted in IBM JCL Interview Questions | Leave a comment

What is COND=ONLY ? | IBM JCL Questions

Means execute this step only if any of the previous steps, terminated abnormally.

Posted in IBM JCL Interview Questions | Leave a comment

What is COND=EVEN ? | IBM JCL Questions

Means execute this step even if any of the previous steps, terminated abnormally.

Posted in IBM JCL Interview Questions | Leave a comment

What does the TIME parameter signify ? What does TIME=1440 mean ? | IBM JCL Questions

TIME parameter can be used to overcome S322 abends for programs that genuinely need more CPU time. TIME=1440 means no CPU time limit is to be applied to this step.

Posted in IBM JCL Interview Questions | Leave a comment

Why do you want to specify the REGION parameter in a JCL step? | IBM JCL Questions

To override the REGION defined at the JOB card level. REGION specifies the max region size. REGION=0K or 0M or omitting REGION means no limit will be applied.

Posted in IBM JCL Interview Questions | Leave a comment