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 / raj
05 A PIC S9(4) -> 4
05 B PIC XXXBXXX -> 7
05 C PIC ____9.99 -> 4
05 D PIC S9(5) COMP-3 -> 3
05 E PIC 9(3) COMP -> 2
SO TOTAL OF 20 BYTES
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is rmode(any) ?
What is rmode(24)
how to refer the data field?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
Which mode is used to operate the sequential file?
What is the default value(s) for an initialize and what keyword allows for an override of the default?
Whats the difference between search & search ALL?
What is inspect in cobol ?
Name the divisions, which are available in a cobol program?
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
how to move the records from file to array table. give with code example
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
What is the difference between PIC 9.99 and PIC9v99?
How do u write test cases?