0

mainframe Online Quiz - 11

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

What are parameters you can specify on Job statement as well as on exec stmt

  1. a) Prty, Region and Cond parameters

  2. b) Time, Class and Cond parameters

  3. c) Time, Region and Typrun parameters

  4. d) All the above


Correct Option: B

For how long a job can be executed continuously in a mainframe ?

  1. a) 248 Days

  2. b) 3650 Days

  3. c) 30 Days

  4. d) 7 Days


Correct Option: A

Max. No of DD statements in a job ?

  1. a) 3273

  2. b) 3723

  3. c) 2373

  4. d) 7323


Correct Option: A

Min no of member’s (PDS) in one directory block?

  1. a) 3

  2. b) 5

  3. c) 4

  4. d) 6


Correct Option: D

Can we browse or edit the GDG dataset if it is a tape entry?

  1. a) No

  2. b) Yes, only browse access

  3. c) Yes

  4. d) Only if you have a Super-ID


Correct Option: A

What is the highest priority parameter for a job

  1. a) 1

  2. b) 0

  3. c) 15

  4. d) 10


Correct Option: C

What is the maxium COND code?

  1. a) 3038

  2. b) 8

  3. c) 16

  4. d) 12


Correct Option: A

Consider the following Example IF RC < 16 THEN Step 1 Step 2 Step 3 Else Step 4 Step 5 End If What are the steps that would be executed If I restart an abended job from Step 2.

  1. a) 2,3

  2. b) 2,3,4,5,

  3. c) 1,2,3

  4. d) None of the above


Correct Option: D

What are the maximum and minimum sizes of any CONTROL AREA

  1. a) Minimum Size : 5 track Maximum size : 1 cylinder

  2. b) Minimum Size : 1 track Maximum size : 1 cylinder

  3. c) Minimum Size : 1 track Maximum size : 5 cylinder

  4. d) None


Correct Option: B

Alternate Index is a special type of

  1. a) KSDS

  2. b) ESDS

  3. c) RRDS

  4. d) None


Correct Option: A

AI Explanation

To answer this question, you need to understand the concept of Alternate Index in the context of data storage.

Option A) KSDS - This option is correct. Alternate Index is a special type of Key Sequenced Data Set (KSDS) in mainframe systems. KSDS is a type of data set organization that allows records to be accessed sequentially using a key.

Option B) ESDS - This option is incorrect. ESDS stands for Entry Sequenced Data Set, which is another type of data set organization. It does not relate to Alternate Index.

Option C) RRDS - This option is incorrect. RRDS stands for Relative Record Data Set, which is yet another type of data set organization. It does not relate to Alternate Index.

Option D) None - This option is incorrect. Alternate Index is a special type of data set organization and is not "None".

The correct answer is A) KSDS. This option is correct because Alternate Index is a special type of Key Sequenced Data Set (KSDS).

  1. a) Space allocation (either CYL, REC or TRK)

  2. b) VOLUMES

  3. c) KEYS

  4. d) NAME


Correct Option: B
Explanation:

To define a Key Sequenced Data Set (KSDS), there are several parameters that are required. These parameters include the name of the data set, the space allocation (either in cylinders, records, or tracks), the number of volumes, and the keys.

Therefore, the correct answer is:

The Answer is: B) VOLUMES.

If the key of a KSDS record begins in the second field (first field is 25 bytes long), the offset in the KEYS parameter is

  1. a) 24

  2. b) 25

  3. c) 26

  4. d) None


Correct Option: A

AI Explanation

To answer this question, we need to understand the structure of a KSDS (Key Sequenced Data Set) record.

A KSDS record is divided into fields, with each field having a fixed length. The key of a KSDS record identifies the record and is used for indexing and searching purposes.

In this case, the first field of the KSDS record is 25 bytes long and the key begins in the second field.

To specify the offset in the KEYS parameter, we need to count the number of bytes from the start of the record to the beginning of the key.

Since the first field is 25 bytes long and the key begins in the second field, the offset in the KEYS parameter is 24 bytes.

Therefore, the correct answer is option A) 24.

At OPEN, VSAM determines processing options in the following order

  1. a) JCL, program, catalog

  2. b) program, JCL, catalog

  3. c) JCL, catalog, program

  4. d) catalog, program, JCL


Correct Option: D

AI Explanation

To answer this question, you need to understand how VSAM determines processing options at OPEN.

The correct answer is D) catalog, program, JCL. This option is correct because VSAM determines processing options in the following order:

  1. Catalog: VSAM first checks the catalog to determine the processing options for the VSAM data set. These options include attributes such as the organization, access method, and buffering options.

  2. Program: If the processing options are not specified in the catalog, VSAM then checks the program to determine the processing options. The program can specify the processing options through the use of control statements or program logic.

  3. JCL: If the processing options are not specified in the catalog or the program, VSAM finally checks the JCL (Job Control Language) to determine the processing options. The JCL can specify the processing options through the use of DD statements and their associated parameters.

Therefore, the correct order for determining processing options at OPEN is catalog, program, JCL.

VSAM processing options could be specified in

  1. a) Catalog

  2. b) Program control blocks

  3. c) JCL

  4. d) All the above


Correct Option: D

AI Explanation

To answer this question, you need to understand the different options for specifying VSAM processing options.

Option A) Catalog - This option is correct because VSAM processing options can be specified in the catalog. The catalog contains information about the VSAM datasets, including their organization, access methods, and processing options.

Option B) Program control blocks - This option is correct because VSAM processing options can also be specified in program control blocks. Program control blocks are data structures used by programs to specify the processing options for VSAM datasets.

Option C) JCL - This option is correct because VSAM processing options can be specified in JCL (Job Control Language). JCL is used to define and control the execution of jobs in the mainframe environment, and it allows for the specification of various processing options, including those for VSAM datasets.

Option D) All the above - This option is correct because all of the above options (catalog, program control blocks, and JCL) can be used to specify VSAM processing options.

The correct answer is D) All the above. This option is correct because all of the specified options (catalog, program control blocks, and JCL) can be used to specify VSAM processing options.

For a data set defined with NOERASE, which of the following is not true?

  1. a) Desirable for sensitive data

  2. b) Removes catalog entries

  3. c) All the above

  4. d) None


Correct Option: A

AI Explanation

To answer this question, we need to understand what the NOERASE option does in relation to a data set.

The NOERASE option is used when defining a data set to prevent data from being overwritten or erased when new data is written to the data set. It is commonly used for sensitive data that should not be modified or deleted.

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

Option A) Desirable for sensitive data - This option is incorrect because the NOERASE option is indeed desirable for sensitive data. It ensures that the data remains intact and is not accidentally erased or modified.

Option B) Removes catalog entries - This option is incorrect because the NOERASE option does not remove catalog entries. It only prevents data from being overwritten or erased.

Option C) All the above - This option is incorrect because both Option A and Option B are true. Therefore, this statement is also true.

Option D) None - This option is correct because the statement "None" implies that all of the options are true, which is not the case. Option A is not true because the NOERASE option is desirable for sensitive data.

The correct answer is A) Desirable for sensitive data.

  1. a) DD statement

  2. b) Assembler program

  3. c) AMS DEFINE

  4. d) COBOL program


Correct Option: D

An alternate index can be defined for which cluster type?

  1. a) KSDS and RRDS

  2. b) KSDS and ESDS

  3. c) KSDS and LDS

  4. d) KSDS only


Correct Option: B
Explanation:

To answer this question, the user needs to know the types of clusters in IBM's Information Management System (IMS) and which clusters support alternate indexes.

An alternate index is an index created on one or more non-key fields of a base segment in IMS. It provides an alternate way of accessing the base segment data.

Now, let's go through each option and explain which cluster types support alternate indexes:

A. KSDS and RRDS - This option is incorrect. Although Key Sequenced Data Set (KSDS) supports alternate indexes, Relative Record Data Set (RRDS) does not.

B. KSDS and ESDS - This option is correct. KSDS and Entry Sequenced Data Set (ESDS) both support alternate indexes.

C. KSDS and LDS - This option is incorrect. Although KSDS supports alternate indexes, Linear Data Set (LDS) does not.

D. KSDS only - This option is incorrect. Although KSDS supports alternate indexes, ESDS also supports it.

Therefore, the correct answer is:

The Answer is: B. KSDS and ESDS.

Which of the following requires a DELETE/DEFINE before the command can be used to restore an existing data set?

  1. a) REPRO only

  2. b) IMPORT only

  3. c) Both REPRO and IMPORT

  4. d) Neither REPRO nor IMPORT


Correct Option: A

AI Explanation

To answer this question, we need to understand the concepts of RESTORE, REPRO, and IMPORT in the context of data sets.

RESTORE, REPRO, and IMPORT are commands used in data processing to restore or recreate existing data sets. However, before using these commands to restore an existing data set, a DELETE/DEFINE command must be used to delete the existing data set and define a new one.

Let's go through each option to determine which one requires a DELETE/DEFINE before the command can be used to restore an existing data set:

Option A) REPRO only - This option is incorrect. The REPRO command alone does not require a DELETE/DEFINE before it can be used to restore an existing data set. The REPRO command is used to reproduce or recreate a data set from an existing data set.

Option B) IMPORT only - This option is incorrect. The IMPORT command alone does not require a DELETE/DEFINE before it can be used to restore an existing data set. The IMPORT command is used to import data from an external source into a data set.

Option C) Both REPRO and IMPORT - This option is incorrect. Although both the REPRO and IMPORT commands can be used to restore existing data sets, neither of them requires a DELETE/DEFINE before they can be used.

Option D) Neither REPRO nor IMPORT - This option is incorrect. Both the REPRO and IMPORT commands can be used to restore existing data sets, although they may not require a DELETE/DEFINE before they can be used.

The correct answer is option A) REPRO only. This option is incorrect because the REPRO command does not require a DELETE/DEFINE before it can be used to restore an existing data set.

How many extents are possible for a VSAM file ?

  1. 16

  2. 15

  3. 122

  4. 123


Correct Option: C

The maximum number of steps in a job?

  1. a) 2 ^ 256

  2. b) 256

  3. c) 255

  4. d) 254


Correct Option: C
- Hide questions