mainframe Online Quiz - 148

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

How many number of versions a generartion of a gdg can have at the max?

  1. 1

  2. 99

  3. 999

  4. No limit

Correct Option: A
  1. space,dcb,unit,sol serial

  2. space,dcb,vol serial no

  3. Unit,vol serial no

  4. vol serial no

Correct Option: D
  1. Authorization faiure

  2. Load module not found

  3. Issu with Precompiller

  4. None

Correct Option: A
  1. Spool Display And Search Facility

  2. System Display And Search Facility

  3. option 1 AND 2

  4. option 1 or 2

Correct Option: C
  1. created by the DB2 precompiler and used in the bind process

  2. created by the cobol pre compiler and used in the bind process

  3. created by the cobol compiler and used in the bind process

  4. created by the DB2 compiler and used in the bind process

Correct Option: A
  1. Plan contains package and plan is executable

  2. Plan contains package and plan is not executable

  3. package contains only one dbrm as input and plan contains no of dbrms as input

  4. option 1 and 3

Correct Option: D
  1. plan is obtained by binding DBRMs into packages

  2. plan is executable as it contains the acess path

  3. it is advantageous to use packages because it reduces the cost of bind

  4. All of the above

Correct Option: D

A REXX program (or REXX EXEC) called DEMO is stored in the partitioned dataset TBISUSR.REXXCRS.EXEC. Execution is possible...

  1. ... via the TSO command: EXEC 'TBISUSR.REXXCRS.EXEC(DEMO)' EXEC, without any

  2. ... only after allocation of the partitioned dataset TBISUSR.REXXCRS.EXEC to the DD

  3. ... via the TSO command: CALL 'TBISUSR.REXXCRS.EXEC(DEMO)', without any additional

  4. ... only after compilation to COBOL, and via the TSO command:

Correct Option: A
  1. A REXX clause can be coded in uppercase, lowercase or mixed case.

  2. Multiple instructions can be coded on 1 line, as long as they are separated by a ','

  3. A REXX program should start with a comment clause /* REXX */

  4. Continuation of REXX instructions is achieved by using a ',' as a continuation indicator

Correct Option: B
  1. all blanks

  2. NULL value

  3. name of the variable in the same (mixed) case as the name.

  4. name of the variable in uppercase

Correct Option: D
  1. Ia loop unconditionally and continues with the next clause after the loop

  2. IF var_1 = var_2 THEN var_1 = var_1 + a loop and EXEC unconditionally, but doesn't return to the caller of the EXEC.

  3. a loop and EXEC unconditionally, returns to the caller of the EXEC and provides a return code.

  4. a loop and EXEC unconditionally, returns to the caller of the EXEC, but doesn't provide a return code.

Correct Option: C

Indicate the correct statement: REXX functions consist of a function name, immediately followed by its arguments coded between parentheses and separated by commas.

  1. This is only true if there are arguments, otherwise the parentheses must be excluded.

  2. This is also true if there are no arguments, but the parentheses can be omitted.

  3. This is also true if there are no arguments, the parentheses must be included.

  4. This is always true, since there are no functions without arguments.

Correct Option: C

Given that var_1 = 'Abc123', what is the result of DATATYPE(var_1,N)?

  1. '123'

  2. 'Abc123'

  3. 1

  4. 0

Correct Option: D
  1. 12.3

  2. 12.3000

  3. 12.346

  4. 12.345

Correct Option: D
  1. the external subroutine SUBROUT1 will be executed, bypassing any internal subroutines.

  2. the internal subroutine SUBROUT1 will be executed; external subroutines aren't called.

  3. the internal subroutines will be searched for SUBROUT1; only if there isn't an internal one, the external SUBROUT1 will be executed.

  4. an error will occur; subroutine names must never be coded between quotes.

Correct Option: A
- Hide questions