How many bytes will be allocated for the following record
description
entries?
01 REC-A.
05 A PIC S9(4).
05 B PIC XXXBXXX.
05 C PIC ____9.99.
05 D PIC S9(5) COMP-3.
05 E PIC 9(3) COMP.
Answer Posted / priyanka
I think t will be 25 since
05 A PIC S9(4). - 5 :4 + 1 sign byte
05 B PIC XXXBXXX. - 7
05 C PIC ____9.99. - 8
05 D PIC S9(5) COMP-3. - 3
05 E PIC 9(3) COMP. - 2
__________________________________________
Total = 25 bytes
| Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
what is difference between cobol and cobol/400
) what is the difference between AID and HANDLE AID?
What is the LINKAGE SECTION used in COBOL?
How to know whether the module is dynamical or statistical?
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
Write a program that uses move corresponding.
how do you reference the variable block file formats from cobol programs
what happens if parmparameter passes zero bytes to the program
How you can read the file from bottom?
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
What are different data types in cobol?
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.