Tag: mainframe

Questions Related to mainframe

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

What are the lengths of the areas A & B in COBOL?

  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 error code is shown by the system when Task exceeded the Execution Time (Task in Loop) ?

  1. APCT

  2. ASRB

  3. AICA

  4. ABMB


Correct Option: C

Which utility is used to CREATE, DELETE, COPY PS/PDS?

  1. IEWL

  2. DSNHPC

  3. IGYCRCTL

  4. IEFBR14


Correct Option: D

AI Explanation

To answer this question, you need to understand the utilities available in mainframe environments for managing PS (Physical Sequential) and PDS (Partitioned Data Set).

Let's go through each option to understand why it is correct or incorrect:

Option A) IEWL - This option is incorrect because IEWL (Interactive Edit and Link) is a utility used for linking and editing programs, not for creating, deleting, or copying PS/PDS.

Option B) DSNHPC - This option is incorrect because DSNHPC (Data Set High-Level Programming Control) is a utility used for managing DB2 objects, not for creating, deleting, or copying PS/PDS.

Option C) IGYCRCTL - This option is incorrect because IGYCRCTL (COBOL Compiler Control) is a utility used for controlling the compilation of COBOL programs, not for creating, deleting, or copying PS/PDS.

Option D) IEFBR14 - This option is correct because IEFBR14 (Dummy Utility) is a utility used for creating, deleting, or copying PS/PDS. It is commonly used to create a new PS or PDS, delete an existing PS or PDS, or copy a PS or PDS to another location.

The correct answer is D) IEFBR14. This option is correct because IEFBR14 is the utility used to create, delete, or copy PS/PDS.

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.

  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