Skip to Content

TheBlogReaders.com

Salesforce.com, PHP, MySQL, Javascript, Ajax, Htacces

JCL Interview Questions and Answers For Freshers Part-5

Be First!

jcl41.Which parameter is use to declare the name of dataset in DD statement?
DSN(Dataset Name) is used to declare the name of dataset in a DD statement.

42.Which statement is used to end the in-stream procedure in a JCL?
PEND statement is used to end the in-stream procedure.

43.If we want to use a GDG which is already created by some job, then how to use the reference of the last generation in a JCL?
To refer the latest generation of a GDG, we use the reference as (+0).

44.In order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?
COND=(12,LT,STEP1), it will read the condition as 12 less than 8, which is false, so this step will be executed.

45.What sort card you will use to copy the data from one dataset to another dataset?
In the SORT step mention the SYSIN & SYSOUT dataset name & in sort card code SORT FIELDS=COPY to copy data from input file to output file.

46.A CHKPT is the parameter coded for multi-volume QSAM datasets in a DD statement. When a CHKPT is coded as CHKPT=EOV, a checkpoint is written to the dataset specified in the SYSCKEOV statement at the end of each volume of the input/output multi-volume dataset. State whether true or false?
This statement is true.

47.Which utility is used to sort a file in JCL?
SORT utility is used to sort a file in a particular order based on the sort card.

48.Which utility is used to update PDS?
IEBUPDTE is used to update PDS.

49.What is use of SPACE parameter in DD statement?
The SPACE parameter specifies the space required for the dataset in the DASD (Direct Access Storage Disk). Syntax − SPACE = (spcunits, (pri, sec, dir), RLSE)

50.A SET statement is used to define commonly used symbolic across job steps or procedures. It initializes the previous values in the symbolic names. It has to be defined before the first use of the symbolic names in the JCL. State whether true or false?
This statement is true.

(157)

Previous
Next

Leave a Reply