0

mainframe Online Quiz - 129

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

What is the Physical storage length of each of the following DB2 data types:DATE, TIME, TIMESTAMP.

  1. 6bytes, 4bytes, 13bytes

  2. 4bytes, 3bytes, 11bytes

  3. 4bytes, 3bytes, 10bytes

  4. 5bytes, 3bytes, 11bytes


Correct Option: C
  1. Index, Page,Table

  2. Page, Table, Tablesapce

  3. Page,Index,Tablespace

  4. None of the above


Correct Option: B

what is the COBOL picture clause of the following DB2 data types:DATE, TIME, TIMESTAMP

  1. PIC X(8), PIC X(8), PIC X(26)

  2. PIC X(12), PIC X(8), PIC X(28)

  3. PIC X(10), PIC X(8), PIC X(26)

  4. None of the above


Correct Option: C
  1. SYSCHK DD statement

  2. CHCKPOINT DD statement

  3. CHKOUT DD statement

  4. CHECK or DD statement


Correct Option: A
  1. Dsname, SPACE, UNIT

  2. Dsname, SPACE, RECFM

  3. Dsname, DISP, DCB, SPACE

  4. All parameters & Keywords are optional


Correct Option: D

What is the function of //CNTL statement ?

  1. Delimits the PROC control statements

  2. Identifies the control card library

  3. Marks the beginning of one or more program control statements

  4. None of the above


Correct Option: C

How can a JES3 operator command be entered through the jobstream?

  1. Through the OPERATOR statement

  2. Through the console statement

  3. Through the COMMAND statement

  4. Through the //** statement


Correct Option: D
  1. Lookup a storage profile from the class library

  2. Specify a management class for a new dataset

  3. Alters the default storage profile for the dataset

  4. Begin a storage class definition block


Correct Option: B
  1. Specify the length of a data set key in bytes

  2. Override the key length of an SMS defined VSAM dataset

  3. Override the key length specified in the dataset label

  4. All of the above


Correct Option: D

Can you call an OS VS COBOL pgm from a VS COBOL II pgm ?

  1. In non-CICS environment, it is possible

  2. In CICS, this is not possible

  3. Both of above

  4. None of above


Correct Option: A
  1. 6bytes, 4bytes, 13bytes

  2. 4bytes, 3bytes, 11bytes

  3. 4bytes, 3bytes, 10bytes

  4. 5bytes, 3bytes, 11bytes


Correct Option: C
  1. Index, Page,Table

  2. Page, Table, Tablesapce

  3. Page,Index,Tablespace

  4. None of the above


Correct Option: B

what is the COBOL picture clause of the following DB2 data types:DATE, TIME, TIMESTAMP

  1. PIC X(8), PIC X(8), PIC X(26)

  2. PIC X(12), PIC X(8), PIC X(28)

  3. PIC X(10), PIC X(8), PIC X(26)

  4. None of the above


Correct Option: C

Where can program checkpoints be stored for use in a restart?

  1. SYSCHK DD statement

  2. CHCKPOINT DD statement

  3. CHKOUT DD statement

  4. CHECK or DD statement


Correct Option: A

AI Explanation

To answer this question, you need to have knowledge of mainframe programming and the different methods for storing program checkpoints. Let's go through each option to understand why it is correct or incorrect:

Option A) SYSCHK DD statement - This option is correct because the SYSCHK DD statement is used to specify the name and location of the checkpoint dataset. Checkpoint data is stored in this dataset and can be used for program restarts.

Option B) CHCKPOINT DD statement - This option is incorrect because there is no standard DD statement named CHCKPOINT for storing program checkpoints.

Option C) CHKOUT DD statement - This option is incorrect because there is no standard DD statement named CHKOUT for storing program checkpoints.

Option D) CHECK or DD statement - This option is incorrect because there is no standard DD statement named CHECK for storing program checkpoints.

The correct answer is A) SYSCHK DD statement. This option is correct because it is the standard method for storing program checkpoints.

Which DD parameters are required ?

  1. Dsname, SPACE, UNIT

  2. Dsname, SPACE, RECFM

  3. Dsname, DISP, DCB, SPACE

  4. All parameters & Keywords are optional


Correct Option: D

While doing a mass delete using a generic key, how can you determine the number of records deleted? (CICS)

  1. By using the NUMREC(data-area) option with the generic key.

  2. By using the NUMB(data-area) option with the generic key.

  3. By using the NUMBER(data-area) option with the generic key.

  4. None of the above


Correct Option: A

What does the following code do? "EXECIO * DISKR INDD (STEM SRCLINE. FINIS"

  1. Read one record from INDD and store in in SRCLINE stack.

  2. Read all the records from INDD and store in in SRCLINE stack.

  3. Write one record from INDD and store in in SRCLINE stack.

  4. Write all the records from INDD and store in in SRCLINE stack.


Correct Option: B

EXIT will terminate and leave a REXX exec unconditionally and does it have the option to return a value?

  1. Always returns a value.

  2. Never returns a value.

  3. Returns when RC is coded

  4. I am skipping this!!


Correct Option: C
- Hide questions