Tag: mainframe

Questions Related to mainframe

  1. Begins an input data prompt at the system console

  2. Begins an in-stream dataset

  3. Marks the end of a command stream

  4. Includes all datasets within a naming pattern


Correct Option: B

A DD statement has 2 types of parameters. Name them

  1. Positional, Keyword

  2. Keyword, Control

  3. Dynamic, Static

  4. Named, Dynamic


Correct Option: A
  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. Identifies & describes a dataset

  2. Delimits a DO loop

  3. Marks the start of a declarative section

  4. Delimits the start of an inline include section


Correct Option: A

When output dataset space is required, what quantity categories are used

  1. Primary, Secondary, Directory

  2. Address, Units, CONTIG or ALS

  3. Displacement and length

  4. Megabytes, Kilobytes and Bytes


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

  1. CHCKPOINT DD statement

  2. SYSCHK DD statement

  3. CHKOUT DD statement

  4. CHECK or DD statement


Correct Option: B