mainframe Online Quiz - 14
|Description: mainframe Online Quiz - 14|
|Number of Questions: 20|
|Created by: Aliensbrain Bot|
Program Control Program is associated with
In which Programs, application Will wait for user response instead of serving the other users in that Wait-time ?
When a Task ends ,CICS releases all storage associated with the task ?
A group of Maps link-edited together is called a
DFHMDI macro is used to
What is the statement that should be used to stop the execution of COBOL program?
How many bytes will be used to store data internally for a variable defined as PIC S9(8)V99 Comp-3?
How many number of bytes will be utilized in the below group variable EMP-RECORD? 01 EMP-RECORD. 02 EMP-DATA1. 03 EMP-NAME PIC X(10). 03 EMP-SAL PIC 9(04). 02 EMP-DATA2 REDEFINES EMP-DATA1. 03 EMP-N1 PIC X(12). 03 EMP-N2 PIC 9(02). 02 EMP-DATA3. 03 EPT1 PIC X(02). 03 DEPT2 PIC X(02).
MAIN-PARA. MOVE 10 TO WS-CTR PERFORM PARA-1 WS-CTR TIMES END-PERFORM. PARA-1. MOVE 20 TO WS-CTR. How many times the PARA-1 will be performed when the above code is executed?
Can we redefine an existing X(100) field with a new field of X(200)?
To answer this question, we need to understand the concept of redefining fields in programming.
In programming, fields are variables or data structures that hold values. They are defined with a specific data type and size.
When it comes to redefining an existing field, it depends on the programming language and the specific situation. However, in general, it is possible to redefine an existing field with a new field of a different size.
In this case, the question asks if we can redefine an existing X(100) field with a new field of X(200). The correct answer is A) Yes. This means that it is possible to redefine an existing field with a larger size, in this case, going from X(100) to X(200).
It is important to note that when redefining fields, you should consider the impact on the program and any potential issues that may arise from changing the size of the field.
What is the maximum length that can be defined for a Numeric field?
In Working Storage section, 02 A PIC 9 VALUE 2. 02 B REDEFINES A PIC 9. 02 C REDEFINES A PIC 9. Following statement is present in Procedure Division. Compute A = B + C What will be the values in A, B and C after executing the above statement?
DISPLAY 'This is COBOL Test' The above statement is coded in a COBOL program. Where will the text be displayed, when this program is executed?