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 are the different rules for performing sort operation?
what is search and searchall?what is the diffrence between them?give an best example?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
What is the difference between goback, stop run and exit program in cobol?
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
what are decleratives in cobol?
Define static linking and dynamic linking.
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 to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
Differentiate between structured cobol programming and object-oriented cobol programming.
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
example for sub strings ? and refernce modifications whit output pls
How do we get current date from system with century in COBOL?