0

mainframe Online Quiz - 3

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

All the divisions should be start from?

  1. 12-72

  2. 11-18

  3. Area B

  4. Area A


Correct Option: D

Which of the following errors are possible within a COBOL if statement?

  1. Infinite loop

  2. Logical Error

  3. Runtime Error

  4. All the above


Correct Option: D

What is the DISPOSITION of a dataset if the DISP field is not coded in the JCL?

  1. (NEW,CATLG,CATLG)

  2. (NEW,DELETE,DELETE)

  3. (NEW,CATLG,DELETE)

  4. (OLD,CATLG,UNCATLG)


Correct Option: B

What does TIME=1440 mean on a job card?

  1. CPU time is 1440

  2. Run time is 1440

  3. No CPU limit for the job

  4. Gives S322 abend after 1440 cpu time


Correct Option: C

TYPE=SCAN What does it do?

  1. Scans JCL for errors

  2. Invalid Syntax

  3. Scans for previous executing jobs

  4. Does nothing


Correct Option: A

There is a file whose ORGANISATION is INDEXED.you want to read the records from the file in RANDOM fashion as well as sequentially, then which of the access mode would you specify?

  1. SEQUENTIAL

  2. RANDOM

  3. DYNAMIC

  4. ACCESS MODE has nothing to do with it


Correct Option: C

AI Explanation

To read records from a file in both random and sequential fashion, you would need to specify the access mode as "C. DYNAMIC".

Explanation for each option:

A. SEQUENTIAL - This option is incorrect because it only allows reading the records sequentially, one after the other, in the order they are stored in the file. It does not allow random access to the records.

B. RANDOM - This option is incorrect because it only allows random access to the records in the file, meaning you can directly access any record without having to read all the preceding records. However, it does not support sequential access.

C. DYNAMIC - This option is correct because it allows both random and sequential access to the records in the file. It provides the flexibility to read the records in any order, either randomly or sequentially.

D. ACCESS MODE has nothing to do with it - This option is incorrect because the access mode does have an impact on how records are read from a file. Different access modes provide different capabilities for accessing the records.

Therefore, the correct answer is C. DYNAMIC.

How many bytes does a S9(7) SIGN TRAILING SEPARATE field occupy ?

  1. 6

  2. 7

  3. 8

  4. 4


Correct Option: C

AI Explanation

To determine the number of bytes occupied by a field with a specific format, we need to consider the format and the type of field.

In this case, the field format is S9(7) SIGN TRAILING SEPARATE. Let's break down the format:

  • S9: This indicates a signed numeric field with 1 digit for the sign (positive or negative) and 1 digit for the value.
  • (7): This indicates that the field has a maximum length of 7 digits.

Since each digit occupies 1 byte of storage, and the sign occupies an additional byte, the total number of bytes occupied by the field is:

7 digits + 1 sign = 8 bytes

Therefore, the correct answer is C) 8.

Which of the following addition statements is invalid?

  1. Add 1, 2, 3 To Field-1.

  2. Add 1 To Field-1, Field-2.

  3. Add Field-1, 3 Giving Field-2.

  4. Add Field-1 To Field-2 Giving 3.


Correct Option: D

If Data-A = 1 and Data-B = 2 and Data-C = 3, which of the following conditions is true?

  1. Data-A < Data-B And Data-C < Data-A

  2. Data-B > Data-C Or Data-A > Data-C

  3. Data-A < Data-B And Data-C

  4. Data-A < Data-B And Data-A > Data-C


Correct Option: C
  1. Embedded Control Langauge

  2. Executive Control Langauge

  3. Executive Coupled Langauge

  4. Entrance Control Langauge


Correct Option: B

ECL is useed for Batch processing.

  1. True

  2. False


Correct Option: A

AI Explanation

To answer this question, you need to understand what ECL (Enterprise Control Language) is and its purpose.

ECL is a data processing language used primarily for big data analytics and batch processing. It was developed by HPCC Systems (High-Performance Computing Cluster) and is used to define data transformations and operations on large volumes of data.

Based on this information, the statement "ECL is used for batch processing" is correct. ECL allows users to define and execute batch processing jobs on large datasets.

Therefore, the correct answer is A) True.

@RUN must be the first line of ECL.

  1. True

  2. False


Correct Option: A

Can we add label field with @EOF.

  1. True

  2. False


Correct Option: B

@ZIP command open file in read only mode.

  1. True

  2. False


Correct Option: A

UCS stands for ?

  1. Unified Computing System

  2. Universal Character Set

  3. Universal Compiling System

  4. Ultra Corba Simulator


Correct Option: C

AI Explanation

To answer this question, you need to understand the acronym UCS.

UCS stands for Unified Computing System.

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

Option A) Unified Computing System - This option is correct because UCS stands for Unified Computing System.

Option B) Universal Character Set - This option is incorrect because UCS does not stand for Universal Character Set.

Option C) Universal Compiling System - This option is incorrect because UCS does not stand for Universal Compiling System.

Option D) Ultra Corba Simulator - This option is incorrect because UCS does not stand for Ultra Corba Simulator.

The correct answer is Option A) Unified Computing System. This option is correct because UCS stands for Unified Computing System.

What should be the last statement of ECL code file ?

  1. @STOP

  2. @BRKPT

  3. @FIN

  4. @STOP RUN


Correct Option: C

Transparent Control Statement starts with @@

  1. True

  2. False


Correct Option: A

When was Unisys founded ?

  1. 1986 as Unisys

  2. 1986 Ankara,Turkey

  3. Original founded in 1944, two competing parties since a split in 1986.

  4. 1986 New York


Correct Option: A
- Hide questions