mainframe Online Quiz - 147

mainframe Online Quiz - 147

20 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

What is the function of the DD DCB keyword

  1. Begins the subparameters of the DCB
  2. Begins the DASD control block
  3. Marks the close of the DCB
  4. Modifies the record type parameters
Question 2 Multiple Choice (Single Answer)

Concerning the shielding of variables of an internal subroutine from the main EXEC part, which of the following is correct:

  1. One can not shield variables in a subroutine from the main EXEC, only from other subroutines.
  2. One can shield the variables by using the clause: CALL SUBROUT1 PROCEDURE
  3. One can shield the variables by defining the start clause of a subroutine:SUBROUT1: PROCEDURE
  4. One can shield the variables by defining the start clause of a subroutine: SUBROUT1: SHIELDED
Question 3 Multiple Choice (Single Answer)

What is the maximum length of a single line of JCL

  1. 71 bytes
  2. 60 bytes
  3. 55 bytes
  4. 80 bytes
Question 4 Multiple Choice (Single Answer)

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
Question 5 Multiple Choice (Single Answer)

When a RETURN clause is used in a subroutine, a value can be passed back to the calling EXEC. Which statements are correct?

  1. This value must be numeric.
  2. This value can be alphanumeric.
  3. This value is stored in the system variable RC.
  4. This value is stored in the system variable RCODE.
Question 6 Multiple Choice (Single Answer)

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

  1. Linkage Variables
  2. Parameters
  3. Control Libraries
  4. Includes
Question 7 Multiple Choice (Single Answer)

If I want to fill the variable DAY with '01', the variable MONTH with 'January' and the variable YEAR with '2009', which would be a correct way to do so, if the data '01 January 2009' is read from the input screen?

  1. PARSE PULL DAY MONTH YEAR
  2. PULL DATE followed by PARSE VALUE DATE DAY MONTH YEAR
  3. PULL DATE followed by PARSE VALUE DATE WITH DAY MONTH YEAR
  4. PULL DATE followed by PARSE VAR DATE DAY MONTH YEAR
Question 8 Multiple Choice (Single Answer)

To pass commands to a specific host environment (ex. TSO), which clause must be used?

  1. HOST TSO
  2. HSTADDRS TSO
  3. ADDRESS TSO
  4. EXEC TSO
Question 9 Multiple Choice (Single Answer)

REXX has extended tracing possibilities, even interactively. Which command activates the interactive trace?

  1. TRACE R
  2. TRACE ?R
  3. TRACE IR
  4. INTTRACE R
Question 10 Multiple Choice (Single Answer)

What is no prerequisite for using the EXECIO command?

  1. The dataset must be sequential or a member of a partitioned dataset.
  2. The dataset must be allocated to a file name or DD name.
  3. The dataset must be exclusively enqueued (DISP=OLD or NEW).
  4. TSO or MVS environment must be active.
Question 11 Multiple Choice (Multiple Answers)

Which of the following belongs to JES2

  1. XMIT
  2. XEQ
  3. ROUTEXEQ
  4. OPERATOR
Question 12 Multiple Choice (Single Answer)

Improper handling of which parameter leads to abend S322

  1. CLASS
  2. TIME
  3. REGION
  4. JOB
Question 13 Multiple Choice (Single Answer)

How many DD statements can be allocated to a single job step?

  1. 255
  2. 16
  3. 1635
  4. None of the above
Question 14 Multiple Choice (Single Answer)

Which of the following is not used with LINES parameter

  1. DUMP
  2. CANCEL
  3. ABEND
  4. WARNING
Question 15 Multiple Choice (Single Answer)

Which parameter is used to copy the attributes and allocation information for a new data set from an existing data set?

  1. LIKE
  2. COPY
  3. COPIES
  4. All of the above
Question 16 Multiple Choice (Multiple Answers)

What is/are valid Syntax(s) of paramtere EXPDT

  1. EXPDT=yyddd
  2. EXPDT=yy/ddd
  3. EXPDT=yyyyddd
  4. EXPDT=yyyy/ddd
Question 17 Multiple Choice (Single Answer)

How do you write the expiration date of February 2, 1996 for a dataset

  1. EXPDT=1996033
  2. EXPDT=1996/0202
  3. EXPDT=1996/033
  4. EXPDT=033/1996
Question 18 Multiple Choice (Single Answer)

Which value of parameter RD indicates that automatic and deferred restart in any form can't happen

  1. R
  2. NC
  3. RNC
  4. NR
Question 19 Multiple Choice (Single Answer)

Which value of parameter RD indicates that automatic and deferred restart in any form can't happen

  1. RNC
  2. R
  3. NC
  4. NR
Question 20 Multiple Choice (Multiple Answers)

Which statement(s) is/are correct for LRECL

  1. LRECL = 0 can be valid when RECFM = F
  2. LRECL=nnnnnK syntax can be valid
  3. LRECL can not be used with VSAM Files
  4. LRECL must not exceed BLKSIZE minus 4 when RECFM=VS