0

mainframe Online Quiz - 149

Description: mainframe Online Quiz - 149
Number of Questions: 20
Created by:
Tags: mainframe
Attempted 0/20 Correct 0 Score 0
  1. START

  2. RUN

  3. EXEC

  4. GO


Correct Option: C
Explanation:

To solve this question, the user needs to have knowledge of JCL (Job Control Language).

The statement that marks the beginning of a job step; assigns a name to the step; identifies the program or catalogued or in-stream procedure to be executed in the step is EXEC.

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

A. RUN: This option is incorrect. RUN is not a valid JCL statement.

B. START: This option is incorrect. While START is a valid JCL statement, it is not used to begin a job step.

C. EXEC: This option is correct. EXEC is the JCL statement that marks the beginning of a job step, assigns a name to the step, and identifies the program or catalogued or in-stream procedure to be executed in the step.

D. GO: This option is incorrect. GO is not a valid JCL statement.

The Answer is: C

How can unused space allocation be returned to the system when a dataset is closed

  1. RETURN

  2. RLSE

  3. CONTIG

  4. CLOSE


Correct Option: B

Can an individual step be restricted from using all the job’s allowed CPU time

  1. True

  2. False


Correct Option: A

AI Explanation

To answer this question, we need to understand the concept of CPU time and job restrictions.

CPU time refers to the amount of time that a computing device's central processing unit (CPU) is actively processing instructions for a specific task. In a multi-tasking environment, such as a job scheduler, multiple jobs or tasks may be running simultaneously on the CPU.

In some job scheduling systems, it is possible to restrict individual steps within a job from using all of the job's allowed CPU time. This means that certain steps within a job can be limited in terms of the amount of CPU time they are allowed to consume.

Therefore, the statement "Can an individual step be restricted from using all the job’s allowed CPU time" is true. It is possible to restrict individual steps within a job from using all of the job's allowed CPU time.

The correct answer is A) True.

  1. CHCKPOINT DD statement

  2. SYSCHK DD statement

  3. CHKOUT DD statement

  4. CHECK or DD statement


Correct Option: B

How can the disposition of sysout datasets be set for an entire jobstream

  1. SYSOUT parameter

  2. OUTPUT parameter

  3. DEFAULT parameter

  4. DEST keyword


Correct Option: A

AI Explanation

To answer this question, you need to understand how the disposition of SYSOUT datasets can be set for an entire jobstream.

Option A) SYSOUT parameter - This option is correct because you can use the SYSOUT parameter to specify the disposition of the SYSOUT datasets for an entire jobstream. By providing a specific disposition value (e.g., KEEP, DELETE), you can control what happens to the output datasets after the job completes.

Option B) OUTPUT parameter - This option is incorrect because the OUTPUT parameter is used to specify the destination and characteristics of the output from individual job steps, not for setting the disposition of SYSOUT datasets for the entire jobstream.

Option C) DEFAULT parameter - This option is incorrect because there is no specific parameter called DEFAULT that is used to set the disposition of SYSOUT datasets for the entire jobstream.

Option D) DEST keyword - This option is incorrect because the DEST keyword is used within the OUTPUT parameter to specify the destination for the output from individual job steps, not for setting the disposition of SYSOUT datasets for the entire jobstream.

The correct answer is Option A) SYSOUT parameter. This option is correct because you can use the SYSOUT parameter to set the disposition of SYSOUT datasets for an entire jobstream.

  1. Override the Audit DD statement in the report

  2. Override the Report DD statement in the Audit procedure

  3. Concatenate a dataset onto a DD statement in a called module

  4. Delete the Audit DD statement in the Report


Correct Option: B

Which DD parameters are required

  1. All parameters & Keywords are optional

  2. Dsname, SPACE, RECFM

  3. Dsname, SPACE, UNIT

  4. Dsname, DISP, SPACE


Correct Option: A

How can values be passed from the job stream to an executable program?

  1. Through the PARM keyword

  2. Through the VALUE parameter

  3. Through the PGM parameter

  4. All of the above


Correct Option: A

AI Explanation

To answer this question, you need to understand how values can be passed from the job stream to an executable program. Let's go through each option to understand why it is correct or incorrect:

Option A) Through the PARM keyword - This option is correct because the PARM keyword is used to pass values from the job stream to the executable program. The values are specified after the PARM keyword in the job control language (JCL) statement.

Option B) Through the VALUE parameter - This option is incorrect because there is no explicit "VALUE" parameter used to pass values from the job stream to an executable program.

Option C) Through the PGM parameter - This option is incorrect because the PGM parameter is used to specify the name of the executable program to be executed, but it does not directly pass values from the job stream to the program.

Option D) All of the above - This option is incorrect because only option A (Through the PARM keyword) is the correct method to pass values from the job stream to an executable program.

The correct answer is A) Through the PARM keyword. This option is correct because the PARM keyword is used to pass values from the job stream to the executable program.

  1. Identify a library to be searched for programs named in the EXEC statement

  2. Identify a library containing executable job steps

  3. Override the system step library within a job stream

  4. All of the above


Correct Option: D

A DD statement consists of 4 fields. Name them :-

  1. Name, DD, Space, Device

  2. Format, Name, DD, Space

  3. DD, parameter, device, format

  4. Name, DD, parameter, comments


Correct Option: D

What is the purpose of DD DUMMY statement ?

  1. Marks a deleted DD statement

  2. Begins an interpreted command stream

  3. Specifies no space allocation & no disposition processing

  4. Suppress command processing


Correct Option: C

How can unused space allocation be returned to the system when a dataset is closed ?

  1. RETURN

  2. RLSE

  3. CONTIG

  4. CLOSE


Correct Option: B

What is the function of JOB statement ?

  1. Marks the end of a job

  2. Marks the beginning of an instream procedure

  3. Marks the beginning of a job & assigns a name to the job

  4. Assigns an execution priority to a job


Correct Option: C
  1. Positional, Keyword

  2. Keyword, Control

  3. Dynamic, Static

  4. Named, Dynamic


Correct Option: A

What is the function of DD DISP paramater ?

  1. Tells the system what to do with the dataset following normal termination of the step.

  2. Describes the status of the dataset

  3. Tells the system what to do with the dataset following abnormal termination of the step.

  4. All of the above


Correct Option: D

What is the maximum length of a single line of JCL ?

  1. 71 bytes

  2. 72 bytes

  3. 68 bytes

  4. 70 bytes


Correct Option: A

Whats virtual storage in MVS?

  1. An addressing scheme that allows external disk storage to appear as main storage.

  2. Each running program can assume it has access to all of the storage defined by the architecture's addressing scheme.

  3. a and b

  4. a or b


Correct Option: C
- Hide questions