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
  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 EIB field can be used for ERROR/EXCEPTION handling?

  1. EIBRESP1, EIBRESP2

  2. EIBRESP, EIBRESP1

  3. EIBRESP, EIBRESP2

  4. EIBRESP0, EIBRESP1


Correct Option: C

AI Explanation

To answer this question, you need to understand the fields related to ERROR/EXCEPTION handling in EIB (EXEC Interface Block).

Option A) EIBRESP1, EIBRESP2 - This option is incorrect because EIBRESP1 and EIBRESP2 are not the correct fields for ERROR/EXCEPTION handling in EIB.

Option B) EIBRESP, EIBRESP1 - This option is incorrect because EIBRESP1 is not the correct field for ERROR/EXCEPTION handling in EIB.

Option C) EIBRESP, EIBRESP2 - This option is correct because both EIBRESP and EIBRESP2 fields can be used for ERROR/EXCEPTION handling in EIB. The EIBRESP field contains the main response code, while the EIBRESP2 field contains additional information related to the error or exception.

Option D) EIBRESP0, EIBRESP1 - This option is incorrect because EIBRESP0 is not the correct field for ERROR/EXCEPTION handling in EIB.

The correct answer is C. This option is correct because both EIBRESP and EIBRESP2 fields can be used for ERROR/EXCEPTION handling in EIB.

How many extents are possible for a sequential file?

  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

AI Explanation

To answer this question, we need to understand what an extent is in the context of a sequential file.

In a sequential file, data is stored in blocks or units called extents. An extent is a contiguous section of storage space on a storage volume. When a sequential file is created, it can be allocated multiple extents to store its data.

The correct answer is D) 16 extents on a volume for a sequential file. This means that a sequential file can have up to 16 extents allocated on a storage volume to store its data.

  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
  1. JOBLIB is ignored

  2. STEPLIB is ignored

  3. Both are active

  4. Both are ignored


Correct Option: A
  1. /*/ in columns 1 – 3

  2. //* in columns 1 – 3

  3. //- in columns 1 - 3

  4. /-/ in columns 1 – 3


Correct Option: B
  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
  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
  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
  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