0

mainframe Online Quiz - 97

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

What part of the BRMS defines the objects that are to be saved in a particular save operation.?

  1. CONTROL GROUP

  2. MEDIA POLICY

  3. SAVE POLICY

  4. BACKUP PLICY


Correct Option: A

What is the prefix character for symbolic parameter ?

  1. %

  2. &

  3. @

  4. {}


Correct Option: B

How can buffers be assigned to a DCB ?

  1. Through the BUFMAX subparameter

  2. Through the BUFOUT subparameter

  3. Through the BUF subparameter

  4. Through the BUFNO subparameter


Correct Option: D

AI Explanation

To assign buffers to a DCB (Data Control Block), you can use the BUFNO subparameter.

The BUFNO subparameter specifies the number of buffers to be assigned to the DCB. Buffers are temporary storage areas that hold data temporarily during input/output operations. By assigning buffers to a DCB, you can enhance the performance of input/output operations by reducing the number of physical I/O operations to the external storage.

Therefore, the correct answer is:

D) Through the BUFNO subparameter

If a generation data set is specified as input without the generation number, what will the input to the DD ?

  1. the most recent generation created

  2. the earliest generation created

  3. a concatenation of all the cataloged generations

  4. a jcl error will be returned to the job


Correct Option: C

What is the function of //CNTL statement ?

  1. Marks the beginning of one or more program control statements

  2. Identifies the control card library

  3. Delimits the PROC control statements

  4. None of the above


Correct Option: A

How can the attributes of one SMS dataset be copied to another dataset ?

  1. Using DD like parameter

  2. Using DD Copy parameter

  3. Using DD Refer parameter

  4. Attributes cannot be copied within SMS datasets


Correct Option: A

What parameters can be used to limit the number of records written to a SYSOUT dataset ?

  1. LIMIT

  2. OUTLIM

  3. SIZE

  4. MAX


Correct Option: B

How can a stopped job be started again?

  1. Through the RETURN parameter

  2. Through the STARTUP parameter

  3. Through the RESTART parameter

  4. Through the CHECKPNT keyword


Correct Option: C

Must tape dataset definitions include VOL=SER specifications?

  1. Yes

  2. No

  3. Only for uncataloged datasets

  4. Only for cataloged datasets


Correct Option: C

AI Explanation

To answer this question, we need to understand the purpose and usage of VOL=SER specifications in tape dataset definitions.

VOL=SER is a keyword used in dataset definitions to specify the volume serial number of a tape volume. It is typically used for cataloged datasets, which are datasets that have been registered in a catalog and can be easily accessed and managed by the system.

Given this information, let's evaluate each option:

Option A) Yes - This option suggests that VOL=SER specifications must always be included in tape dataset definitions. However, this is not correct because VOL=SER is not required for all tape datasets, especially for uncataloged datasets.

Option B) No - This option suggests that VOL=SER specifications are not required in tape dataset definitions. However, this is not correct because VOL=SER can be used to specify the volume serial number for cataloged datasets.

Option C) Only for uncataloged datasets - This option is correct. VOL=SER specifications are typically only required for uncataloged datasets. Uncataloged datasets are not registered in a catalog and may require the volume serial number to be specified explicitly.

Option D) Only for cataloged datasets - This option is incorrect because VOL=SER specifications are not limited to cataloged datasets only. It can be used for both cataloged and uncataloged datasets.

Therefore, the correct answer is C) Only for uncataloged datasets. This option is correct because VOL=SER specifications are typically needed for uncataloged datasets to specify the volume serial number explicitly.

How can return codes be tested before execution of a job step?

  1. Through the RC keyword

  2. Through the COND keyword

  3. Through the CODE keyword

  4. Through the RETURNCD keyword


Correct Option: B

Many JCL statements contain specific values designed to direct & control the execution of the statement. What are these fields called ?

  1. Linkage Variables

  2. Control Libraries

  3. Includes

  4. Parameters


Correct Option: D

AI Explanation

To answer this question, you need to understand the purpose and functionality of JCL (Job Control Language) statements.

JCL statements contain specific values that are used to direct and control the execution of the statement. These values are commonly referred to as parameters.

Therefore, the correct answer is D) Parameters.

What is the purpose of DD DUMMY statement ?

  1. Specifies no space allocation & no disposition processing

  2. Marks a deleted DD statement

  3. Begins an interpreted command stream

  4. Suppress command processing


Correct Option: A

AI Explanation

To answer this question, you need to understand the purpose of the DD DUMMY statement.

Option A) Specifies no space allocation & no disposition processing - This option is correct. The purpose of the DD DUMMY statement is to specify that no space allocation and no disposition processing should be performed. It is typically used when a placeholder is needed for a DD statement, but no actual input or output is required.

Option B) Marks a deleted DD statement - This option is incorrect. The DD DUMMY statement does not mark a deleted DD statement. It is used as a placeholder, not to indicate that a DD statement has been deleted.

Option C) Begins an interpreted command stream - This option is incorrect. The DD DUMMY statement does not begin an interpreted command stream. It is used in JCL (Job Control Language) to specify no space allocation and no disposition processing for a DD statement.

Option D) Suppress command processing - This option is incorrect. The DD DUMMY statement does not suppress command processing. It is used to specify that no space allocation and no disposition processing should be performed for a DD statement.

The correct answer is A) Specifies no space allocation & no disposition processing. This option is correct because the purpose of the DD DUMMY statement is to specify that no space allocation and no disposition processing should be performed for a DD statement.

What is the purpose of REGION key word ?

  1. specifies the amount of space required by a step

  2. specifies the amount of space required by a job

  3. both of the above

  4. none of the above


Correct Option: C

AI Explanation

To answer this question, we need to understand the purpose of the REGION keyword in a programming context.

The REGION keyword is used in programming languages, particularly in mainframe systems such as COBOL, to specify the amount of memory space required by a program step or job.

Option A) "Specifies the amount of space required by a step" - This option is correct. The REGION keyword can be used to specify the amount of memory space required by a particular program step.

Option B) "Specifies the amount of space required by a job" - This option is correct. The REGION keyword can also be used to specify the amount of memory space required by an entire job.

Option C) "Both of the above" - This option is correct. The REGION keyword can be used to specify the memory space required by a step and by a job.

Option D) "None of the above" - This option is incorrect. As explained above, the REGION keyword is used to specify the memory space required by a step or job.

Therefore, the correct answer is C) both of the above. This option correctly describes the purpose of the REGION keyword in programming languages.

What is S0C7 abend in jcl?

  1. Storage violation error

  2. Dataset out of space

  3. Indicates a time out abend

  4. Caused by invalid data in a numeric field.


Correct Option: D

What is COND=EVEN ?

  1. Means execute this step even if any of the previous steps, terminated abnormally.

  2. Means execute this step only if any of the previous steps, terminated normally.

  3. Means execute this step only if any of the previous steps, terminated abnormally.

  4. Means execute this step even if any of the previous steps, terminated normally.


Correct Option: A

How many extents are possible for a sequential file ?

  1. 15

  2. 16

  3. 17

  4. 18


Correct Option: B

Temporary datasets can be created either by not specifying any DSNAME or by specifying the temporary file indicator as in

  1. DSN=&&TEMP

  2. DSN=TEMP

  3. DSN=&TEMP

  4. DSN=*TEMP


Correct Option: A

How can a job’s execution priority be modified ?

  1. PRIQTY parameter

  2. PRTY parameter

  3. JOBCLASS parameter

  4. RUNTIME parameter


Correct Option: B

Which of the following describes relative access speed for z9 major storage types?

  1. Tape is faster than DASD

  2. DASD is faster than cache

  3. Real memory is faster than DASD

  4. Optical storage is faster than cache


Correct Option: C
Explanation:

To solve this question, the user needs to know about the relative access speed for different storage types.

Now, let's go through each option and explain why it is right or wrong:

A. Tape is faster than DASD: This option is incorrect. DASD (Direct Access Storage Device) is faster than tape. Tape is a sequential access storage device, which means that data can only be accessed in a linear sequence, from the beginning to the end of the tape. On the other hand, DASD is a random access storage device, which means that data can be accessed directly and in any order.

B. DASD is faster than cache: This option is incorrect. Cache is faster than DASD. Cache is a type of high-speed memory that is used to store frequently accessed data. It is located between the CPU and the main memory (RAM) and is designed to improve system performance by reducing the number of accesses to slower storage devices such as DASD.

C. Real memory is faster than DASD: This option is correct. Real memory (also known as main memory or RAM) is faster than DASD. Real memory is used by the CPU to store data and instructions that are currently being executed. It is faster than DASD because it can be accessed directly by the CPU without the need for a mechanical arm to move to a specific location.

D. Optical storage is faster than cache: This option is incorrect. Cache is faster than optical storage. Optical storage devices, such as CD-ROMs and DVDs, are slower than cache and are typically used for long-term storage of data that is not frequently accessed.

Therefore, the correct option is:

The Answer is: C. Real memory is faster than DASD.

In the ISPF Edit panel, there are fields named PROJECT, GROUP, TYPE, and MEMBER. What information do these fields specify?

  1. DSNAME

  2. DDNAME

  3. PARM field

  4. DD Statement


Correct Option: A
Explanation:

To answer this question, the user needs to understand the ISPF Edit panel and its fields.

The PROJECT, GROUP, TYPE, and MEMBER fields in the ISPF Edit panel define the dataset name (DSNAME) of the member being edited.

Option A (DSNAME) is incorrect because while the PROJECT, GROUP, TYPE, and MEMBER fields specify the DSNAME of the member, they do not specify the DDNAME of the dataset.

Option B (DDNAME) is incorrect because the fields do not specify the DDNAME.

Option C (PARM field) is incorrect because the PARM field is used to pass additional parameters to the program being invoked and is not related to the fields in the ISPF Edit panel.

Option D (DD Statement) is incorrect because the fields do not specify the DD statement, which is used to define the input and output datasets for a job step.

Therefore, the correct answer is:

The Answer is: A

- Hide questions