0

mainframe Online Quiz - 1

Description: mainframe Online Quiz - 1
Number of Questions: 21
Created by:
Tags: mainframe
Attempted 0/21 Correct 0 Score 0

What are the various types of VSAM Data Organizations available?

  1. PSDS, KADS, RRDS, VRRDS, LRDS

  2. ESDS, KSDS, RRDS, VRRDS, LDS

  3. ESDS, KRDS, RRDS, VLDS, VKDS

  4. PSDS, RKDS, KSDS, FRDS, LLDS


Correct Option: B
  1. A: 8-11, B: 12-72

  2. A: 8-11, B: 12-80

  3. A: 8-12, B: 13-72

  4. A: 8-12, B: 13-80


Correct Option: A

Order of Divisions in COBOL program:

  • IDENTIFICATION DIVISION
  • ENVIRONMENT DIVISION
  • DATA DIVISION
  • PROCEDURE DIVISION
  1. True

  2. False


Correct Option: A

Which utility is used for Link Edit a program?

  1. IEKL

  2. IEWL

  3. IEBGENER

  4. IEFBR14


Correct Option: B
  1. EIBRESP1, EIBRESP2

  2. EIBRESP, EIBRESP1

  3. EIBRESP, EIBRESP2

  4. EIBRESP0, EIBRESP1


Correct Option: C
  1. 20 extents on a volume for a sequential file

  2. 26 extents on a volume for a sequential file

  3. 14 extents on a volume for a sequential file

  4. 16 extents on a volume for a sequential file


Correct Option: D

How many extents are possible for a VSAM file

  1. 123 extents for a VSAM file.

  2. 113 extents for a VSAM file.

  3. 133 extents for a VSAM file.

  4. 143 extents for a VSAM file.


Correct Option: A

AI Explanation

To answer this question, we need to understand the concept of extents in VSAM (Virtual Storage Access Method) files.

In VSAM, a file is divided into multiple extents. An extent is a contiguous block of storage allocated to a file. Each extent can contain a certain number of records.

The maximum number of extents that can be allocated to a VSAM file depends on the size of each extent and the total storage available.

Based on the information provided, the correct answer is: Option A) 123 extents for a VSAM file.

This option is correct because it states that a VSAM file can have 123 extents.

  1. JOBLIB is ignored

  2. STEPLIB is ignored

  3. Both are active

  4. Both are ignored


Correct Option: A

What characters indicate the JCL card is a comment card

  1. /*/ in columns 1 – 3

  2. //* in columns 1 – 3

  3. //- in columns 1 - 3

  4. /-/ in columns 1 – 3


Correct Option: B

What does a disposition of (NEW,CATLG,DELETE) mean?

  1. Indicates a new dataset and allocated, to CATLG the dataset if the step is successful and to delete the dataset if the step abends.

  2. Indicates a new dataset and needs to be allocated, to CATLG the dataset if the step is unsuccessful and to delete the dataset if the step abends.

  3. Indicates a new dataset and needs to be allocated, to CATLG the dataset if the step is successful and to delete the dataset if the step abends.

  4. Indicates a new dataset and allocated, to CATLG the dataset if the step is unsuccessful and to delete the dataset if the step not abends.


Correct Option: C

AI Explanation

To answer this question, let's go through each option to understand why it is correct or incorrect:

Option A) Indicates a new dataset and allocated, to CATLG the dataset if the step is successful and to delete the dataset if the step abends. This option is incorrect. The correct disposition would be to catalog the dataset if the step is successful, not to allocate and catalog it.

Option B) Indicates a new dataset and needs to be allocated, to CATLG the dataset if the step is unsuccessful and to delete the dataset if the step abends. This option is incorrect. The correct disposition would be to delete the dataset if the step abends, not if it is unsuccessful.

Option C) Indicates a new dataset and needs to be allocated, to CATLG the dataset if the step is successful and to delete the dataset if the step abends. This option is correct. The disposition (NEW,CATLG,DELETE) indicates that the dataset is new and needs to be allocated. If the step is successful, the dataset should be cataloged. If the step abends (fails), the dataset should be deleted.

Option D) Indicates a new dataset and allocated, to CATLG the dataset if the step is unsuccessful and to delete the dataset if the step not abends. This option is incorrect. The correct disposition would be to delete the dataset if the step abends (fails), not if it doesn't abend.

The correct answer is C. This option is correct because it accurately describes the disposition (NEW,CATLG,DELETE) as indicating a new dataset that needs to be allocated. If the step is successful, the dataset should be cataloged, and if the step abends (fails), the dataset should be deleted.

What are the three major types of JCL statements?

  1. JOB,TIME, PARM

  2. EXEC,TIME,PARM

  3. JOB, EXEC, DD

  4. DD,TIME,PARM


Correct Option: C
  1. By placing a +1 in parenthesis immediately after a dataset name. As in DSN=GDG.NAME(+1)

  2. By placing a -0 in parenthesis immediately after a dataset name. As in DSN=GDG.NAME(-0)

  3. By placing a -1 in parenthesis immediately after a dataset name. As in DSN=GDG.NAME(-1)

  4. By placing a +0 in parenthesis immediately after a dataset name. As in DSN=GDG.NAME(+0)


Correct Option: D

What will make this step run if COND parm is COND=(0,NE)?

  1. Run if return codes from any previous step(s) were equal to zero. Skip this step if the return code from any previous steps are not equal to zero (0,NE).

  2. Run if return codes from any previous step(s) were not equal to zero. Skip this step if the return code from any previous steps are equal to zero (0,NE).

  3. Run if return codes from any previous step(s) were equal to zero. Run this step if the return code from any previous steps are not equal to zero (0,NE).

  4. Run if return codes from any previous step(s) were not equal to zero. Run this step if the return code from any previous steps are not equal to zero (0,NE).


Correct Option: A

How would you limit the time allotted for a job?

  1. With a TIMELMT parm

  2. With a TIME parm

  3. With a TIMELIMIT parm

  4. With a TIMELT parm


Correct Option: B
  1. Indicates a time out abend.

  2. Caused by invalid data in a numeric field.

  3. Storage violation error

  4. Indicate dataset out of space


Correct Option: A
  1. Credit Authentication System

  2. Credit Analyzer System

  3. Credit Authorization System

  4. Commulative Analysis Store


Correct Option: C
- Hide questions