Skip to Content

TheBlogReaders.com

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

JCL Interview Questions and Answers For Freshers Part-4

Be First!

jcl31.Which parameter is used to check the syntax of a JCL without executing it?
TYPRUN = SCAN checks the syntax errors of the JCL without executing it.

32.What is use of DSN parameter in DD statement?
The DSN parameter refers to the physical dataset name of a newly created or existing dataset. The DSN value can be made up of sub-names each of 1 to 8 characters length, separated by periods and of total length of 44 characters (alphanumeric).

33.What is use of DISP parameter in DD statement?
The DISP parameter is used to describe the status of the dataset, disposition at the end of the job step on normal and abnormal completion. DISP is not required in a DD statement only when the dataset gets created and deleted in the same job step (like the temporary datasets). Syntax − DISP = (status, normal-disposition, abnormal-disposition)

34.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)

35.What is use of DCB parameter in DD statement?
The Data Control Block (DCB) parameter details the physical characteristics of a dataset. This parameter is required for datasets that are newly created in the job step. LRECL is the length of each record held within the dataset. RECFM is the record format of the dataset.

36.How you will define a temporary dataset in JCL?
A temporary dataset is the one that is created and deleted within a job and is declared as DSN=&&TEMP. Do not mention the DSN parameters with this.

37.How you will the direct the data to spool using SYSOUT option?
Code SYSOUT = *, then the data will be directed to spool.

38.Which utility is used a dummy utility?
IEFBR14 is no operation utility. Used to return control to user and terminate. It is usually used to create empty dataset or delete an existing dataset.

39.What DISP parameter we mention for creation of temporary dataset so that we can use it in later steps?
DISP = (NEW,PASS). PASS is valid only for normal disposition. This is used when the dataset is to be passed and processed by the next job step in a JCL.

40.Which utility is used to run a COBOL-DB2 program?
IKJEFT01 utility is used to run a COBOL-DB2 program.

(179)

Previous
Next

Leave a Reply