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 / guest
Folloiwng will be space allocation:
A - 4
B - 7
C - 8
D - 3
E - 2
Total 24 bytes.
| Is This Answer Correct ? | 2 Yes | 8 No |
Post New Answer View All Answers
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.
How you can read the file from bottom?
What are the different open modes available in cobol?
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
What is length is cobol?
what is the difference between COBOL2 AND COBOL390?
How you can characterize tables in cobol?
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
What is the difference between a binary search and a sequential search what are the pertinent cobol?
How do u write test cases?
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
How do we get current date from system with century in COBOL?
What is the LINKAGE SECTION used in COBOL?