Tag: mainframe

Questions Related to mainframe

  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

Identify which one is correct?

  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
  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

Complete correctly: When defining a variable in REXX, one can use up to 250 characters to name the variable. The initial value will be...

  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

AI Explanation

To answer this question, let's go through each option to understand why it is correct or incorrect:

Option A) all blanks - This option is incorrect because the initial value of a variable in REXX is not all blanks. The initial value will be determined by the assignment or the default value of the data type.

Option B) NULL value - This option is incorrect because REXX does not have a specific NULL value. The initial value of a variable will be determined by the assignment or the default value of the data type.

Option C) name of the variable in the same (mixed) case as the name - This option is incorrect because the initial value of a variable in REXX is not based on the variable name itself. The initial value will be determined by the assignment or the default value of the data type.

Option D) name of the variable in uppercase - This option is correct because when defining a variable in REXX, the initial value will be the name of the variable in uppercase. This means that the variable will initially have the same value as its name, but in uppercase.

The correct answer is D) name of the variable in uppercase. This option is correct because the initial value of a variable in REXX is the name of the variable in uppercase.

  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