InterviewSolution
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 51. |
Write A Jcl To Execute A Job By 7:00 Am On Jan 20,1986? |
|
Answer» The CODE is: //*MAIN DEADLINE=(0700,B,012086) The code is: //*MAIN DEADLINE=(0700,B,012086) |
|
| 52. |
How To Pass The Temp Dataset Form One Job Step To Another? |
|
Answer» By SPECIFYING the DISP as PASS for the TEMP DATASET.
By specifying the DISP as PASS for the temp dataset.
|
|
| 53. |
What Is Meant By S0c-07 System Abend Codes? |
|
Answer» S0C7 - Data exception error - you will get it whenever you are trying to move the low VALUES or SPACES into the numeric field, or COMPARE the numeric fields with low values, or try to do some arithmetic OPERATIONS on the low values. To avoid this you have to always INITIALIZE the numeric fields otherwise they will contain the low values. S0C7 - Data exception error - you will get it whenever you are trying to move the low values or spaces into the numeric field, or compare the numeric fields with low values, or try to do some arithmetic operations on the low values. To avoid this you have to always initialize the numeric fields otherwise they will contain the low values. |
|
| 54. |
Define Cond Parameter In Jcl? |
|
Answer» COND is a condition parameter, CONSISTS of 2 subparameters, 1ST - return code from the PREVIOUS step, 2ND - condition. If COND is true, the step on which COND is coded will be BYPASSED. It is compared with system return code of previous step //STEP1 EXEC PGM=ABCD //STEP2 EXEC PGM=XYZ, cond=(4,lt) STEP 2 will be executed when system return code of step1 is LESS than 4. COND is a condition parameter, consists of 2 subparameters, 1st - return code from the previous step, 2nd - condition. If COND is true, the step on which COND is coded will be BYPASSED. It is compared with system return code of previous step //STEP1 EXEC PGM=ABCD //STEP2 EXEC PGM=XYZ, cond=(4,lt) STEP 2 will be executed when system return code of step1 is less than 4. |
|
| 55. |
What Is The Parameter To Be Passed In The Job Card For The Unlimited Time, Irrespective Of The Job Class? |
|
Answer» TIME=1440 TIME=1440 |
|
| 56. |
How Do You Submit A Jcl Under Cics Environment? |
|
Answer» Pass all the JCL codes to a COBOL VARIABLE (should be declared USING OCCURS clause) and then write the line one by one to the spool using CICS COMMANDS LIKE SPOOLClose, SPOOLOpen and SPOOLWrite. For more help refer CECI of CICS or CICS manual. Pass all the JCL codes to a COBOL variable (should be declared using OCCURS clause) and then write the line one by one to the spool using CICS commands like SPOOLClose, SPOOLOpen and SPOOLWrite. For more help refer CECI of CICS or CICS manual. |
|
| 57. |
Why Do You Use A Control Card? |
|
Answer» A CONTROL CARD can be a member of a PDS or a sequential dataset and is USED for storing the date FIELDS, definitions of VSAM files etc., We use CONTROL CARD because we cannot use an in-stream procedure in a procedure. Generally you will be CALLING a PROC from your JCL and you cannot code instream procedure in the PROC and so you will point to the dataset, which is CALLED controlcard. A CONTROL CARD can be a member of a PDS or a sequential dataset and is used for storing the date fields, definitions of VSAM files etc., We use CONTROL CARD because we cannot use an in-stream procedure in a procedure. Generally you will be calling a PROC from your JCL and you cannot code instream procedure in the PROC and so you will point to the dataset, which is called controlcard. |
|
| 58. |
What Are S0c1, S0c4, S0c5, S0c7 Abends? |
Answer»
|
|