0

mainframe Online Quiz - 112

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

What is a lock in DB2?

  1. A lock is the mechanism that controls access to rows and coloumns

  2. A lock is the mechanism that controls access to table views

  3. A lock is the mechanism that controls access to data pages and table spaces.

  4. None of the Above


Correct Option: C

What are all the file organizations that INSYNC can read and write.

  1. HFS files

  2. QSAM files

  3. VSAM files

  4. None of the above


Correct Option: A,B,C

Syntax for "CRTDATE"

  1. CRTDATE=(date)

  2. CRTDATE=(date1,date2)

  3. All the above

  4. None of the above


Correct Option: C

Syntax for "DYNAMICACB#"

  1. DYNAMICACB#

  2. DYNAMICACB#=number

  3. DYNAMICACB#=YES

  4. None of above


Correct Option: B

To exclude the RDW we can use "RDW=ON" in the control card

  1. True

  2. False


Correct Option: B

Which Batch Keyword is used to determine how Unformatted comparison reports should display

  1. PRINT

  2. PRINTCASE

  3. PRINTHORIZ

  4. PRINTMODE


Correct Option: C

The --------- batch keyword controls whether excluded fields in select tables are reported

  1. SEARCH

  2. SHADOW

  3. STRIP

  4. FIND


Correct Option: B

REXX means

  1. Restructure EXtended eXecutor language

  2. Restructured EXtending eXecutor language

  3. Restructured EXtended eXecutor language

  4. Restructured EXtended eXecution language


Correct Option: C

When the language processor transfers control to another routine or another part of the exec, it sets the ----special variable to the line number from which the transfer occurred.

  1. SIG

  2. SIGL

  3. SIL

  4. SIGN


Correct Option: B

----- Causes REXX to stop executing the current DO-END loop

  1. Exit

  2. Finish

  3. End

  4. Leave


Correct Option: D

/REXX/ Do forever Say ‘Enter the code :’ Pull code If code = ‘BYE’ then Leave; end Exit Based on the above REXX, what is true?

  1. The above exec will prompt the user for a code until the user enters the code ‘BYE’

  2. The above exec will prompt the user for a code until the user enters the code ‘EXIT’.

  3. Gives Error while Executing

  4. The above exec will prompt the user for a code until the user enters the code ‘END’.


Correct Option: A

What is the result for the command "SUBSTR('MVS',1,5)"

  1. 'MVS'

  2. 'MVS '

  3. ' MVS'

  4. 'MVSSS'


Correct Option: B

what the Command "“DROPBUF 0” will do?

  1. deletes buffer in the stack

  2. deletes buffer and all elements of stack

  3. deletes elements of stack

  4. All the above


Correct Option: B

"MAKEBUF" Push ‘TCS’ Push ‘TATA’ Push ‘CONSULTANCY’ Push ‘SERVICES’ "QELEM" "DROPBUF" "QELEM" What will be returned by "QELEM" in step 6 and 8 ?

  1. 4,4

  2. 4,0

  3. 3,3

  4. 3,0


Correct Option: B

"QSTACK" "NEWSTACK" "NEWSTACK" "QSTACK" What will the last "QSTACK" will return.

  1. Returns 0

  2. Returns 1

  3. Returns 2

  4. Returns 3


Correct Option: D
  1. Will contain zeroes if numeric and spaces if alphabetic or alphanumeric

  2. Will contain spaces for all variables

  3. Will contain an undefined value

  4. None of the above


Correct Option: C

What is a 66 level in COBOL used for?

  1. Elementary level item

  2. Condition names

  3. Initialize

  4. Renames


Correct Option: D

What is a 77 level in COBOL used for?

  1. Elementary level item

  2. For condition names

  3. Initialize

  4. Renames


Correct Option: A

Is this variable definition correct?

  1. True

  2. False


Correct Option: B
- Hide questions