0

mainframe Online Quiz - 115

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

What do you do if you do not want characters entered by the user to be folded to uppercase?

  1. Use ASCI option on RECEIVE

  2. Use ASIS option on RECEIVE

  3. Use Unicode option on RECEIVE

  4. Use ASCII option on RECEIVE


Correct Option: B

When you compile a CICS program, the (pre)compiler puts an extra chunk of code. Where does it get included and that is it called?

  1. DFHEIBDK, DFHCOMMAREA

  2. DFHEIBLK, DFHCOMNAREA

  3. DFHEEBLK, DFHCOMMAREA

  4. DFHEIBLK, DFHCOMMAREA


Correct Option: D

In which table would you make an entry for a BMS map?

  1. RPT

  2. PCT

  3. PPT

  4. LCT


Correct Option: C

AI Explanation

To answer this question, we need to understand what BMS stands for and where it would be appropriate to make an entry for a BMS map.

BMS stands for Batch Management System, which is a system used to manage and control batch processes. A BMS map is a graphical representation that shows the sequence and dependencies of batch processing steps.

In the context of a Batch Management System, an entry for a BMS map would typically be made in the PPT (Procedure Processing Table). The PPT is a table that contains information about the procedures or steps involved in a batch process.

Let's go through each option to understand why it is correct or incorrect:

Option A) RPT (Recipe Processing Table) - This option is incorrect because the RPT is a table that contains information about the recipes or formulas used in a batch process, not the steps involved in the process.

Option B) PCT (Process Control Table) - This option is incorrect because the PCT is a table that contains information about the control parameters and setpoints for a batch process, not the steps involved in the process.

Option C) PPT (Procedure Processing Table) - This option is correct because the PPT is a table that contains information about the procedures or steps involved in a batch process. It is where an entry for a BMS map would typically be made.

Option D) LCT (Log Control Table) - This option is incorrect because the LCT is a table that contains information about the logging and reporting requirements for a batch process, not the steps involved in the process.

Therefore, the correct answer is C) PPT. This option is correct because the PPT is where you would make an entry for a BMS map.

How do you read from a TSQ?

  1. Permanent Storage read command

  2. Transaction storage read command

  3. Temp storage read command

  4. None of the above


Correct Option: C

What is the utility used to copy data from one file to another ?

  1. IEBGENER

  2. DFSORT

  3. FILEAID

  4. All the above


Correct Option: D

Can FILE-AID utility be used to sort the data in the file ?

  1. True

  2. False


Correct Option: A

Which control statements be used to reformat the file using DFSORT ?

  1. INREC and SORT FIELDS

  2. OUTREC and SORT FIELDS

  3. Only INREC

  4. Only OUTREC

  5. Both 1 and 2

  6. Both 3 and 4


Correct Option: E

What action SYSIN DD DUMMY will perform with FILE-AID Utility ?

  1. Create a new dummy dataset along with the output file which will be deleted after the job completes

  2. Throw an error

  3. The job will run but creates an empty output dataset

  4. Copy data from input to output


Correct Option: D

Which Utility is used to copy data from flat file to VSAM file ?

  1. IEFBR14

  2. IEBCOPY

  3. IDCAMS

  4. IEBGENER


Correct Option: C

Mark all the valid JCL utilites.

  1. ICETOOL

  2. ICEMAN

  3. SYNCSORT

  4. SYSDCL

  5. IEFBR16


Correct Option: A,B,C

State TRUE or FALSE. "File Status 42 corresponds to a CLOSE operation has been tried on file already closed."

  1. True

  2. False


Correct Option: A

When the WRITE Statement for a SAM File is executed, the associated SAM File must be opened in

  1. OUTPUT or EXTEND Mode

  2. OUTPUT Mode

  3. I-O Mode

  4. OUTPUT, I-O or EXTEND Mode


Correct Option: D

Which of the following are Data Manipulation Statements in COBOL?

  1. INSPECT (TALLYING)

  2. INSPECT (REPLACING or CONVERTING)

  3. SET

  4. ALTER


Correct Option: B,C,D

What will be the value of B after executing the below code snippet? 77 A PIC 9(4)V999 VALUE 9902.852. 77 B PIC 9(4)V9(2) VALUE 99.85. PROCEDURE DIVISION. MULTIPLY A BY 30.5 GIVING B ROUNDED STOP RUN.

  1. B will have 2

  2. B will have 0002000

  3. B will have 2662311

  4. Program will abend


Correct Option: D

What is the precedence rule (from highest to lowest) applied for a complex condition if parentheses are not used.

  1. Arithmetic, Relational, NOT, AND, OR

  2. Relational, Arithmetic, NOT, AND, OR

  3. Arithmetic, Relational, AND, OR, NOT

  4. Arithmetic, Relational, OR, AND, NOT


Correct Option: A
  1. Domain Integrity

  2. Entity Integrity

  3. Technology Integrity

  4. Referential Integrity


Correct Option: C

What is the function of a precompiler ?

  1. Extracts the SQL statements and place them into load.

  2. Extracts the SQL statements and place them into DBRM.

  3. Extracts the COBOL statements and place them into DBRM.

  4. Extracts the COBOL statements and place them into load.


Correct Option: B

How many Indexes can be built on a table ?

  1. No limit

  2. 4

  3. 15

  4. none


Correct Option: A

What is SPUFI ?

  1. SQL Process Used File Input.

  2. SQL Processing Using Format Input

  3. SQL Processing Using File Input

  4. SQL Processing Using File Information.


Correct Option: C
- Hide questions