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
HOw can I get the negative sign while deduct high value from low value
Whats the difference between search & search ALL?
What is the Purpose of Pointer in the string?
how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)
What is the local-storage section?
What is the difference between PIC 9.99 and 9v99 in COBOL?
What is the difference between structured cobol programming and object alternativelyiented cobol?
Can a Search can be done on a table with or without Index?
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
how do you reference the ksds vsam file formats from cobol programs
What is redefines clause in COBOL?
A table has two indexes defined. Which one will be used by the SEARCH?
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
) How do u handle errors in BMS macro?
What are various search techniques in cobol? Explain.