mainframe Online Quiz - 3
|Description: mainframe Online Quiz - 3|
|Number of Questions: 20|
|Created by: Aliensbrain Bot|
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?
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 ?
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.
ECL stands for ?
ECL is useed for Batch processing.
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.
Can we add label field with @EOF.
@ZIP command open file in read only mode.
Demand session is used to run ECL code file.
UCS stands for ?
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 ?
Transparent Control Statement starts with @@
When was Unisys founded ?