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 / asif
05 A PIC S9(4). = 4
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
LENGTH OF REC-A = 24 BYTES.
| Is This Answer Correct ? | 0 Yes | 5 No |
Post New Answer View All Answers
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 problem of ordered sequential files access?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
What is the default value(s) for an initialize and what keyword allows for an override of the default?
) How do u handle errors in BMS macro?
What is the difference between Global and External Variables?
how do you reference the rrds file formats from cobol programs
What are the pertinent COBOL
What is the difference between perform … with test after and perform … with test before?
Why would you use find and get rather than to obtain?
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue
What are the cobol coding sheets?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
example for sub strings ? and refernce modifications whit output pls