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 Pic 9v99 Indicates in COBOL?
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
What is the difference between PIC 9.99 and PIC9v99?
Why did you choose to work with ibm mainframe cobol programming?
Which division and paragraphs are mandatory for a COBOL program?
Write down the divisions of cobol program?
Explain how to differentiate call by context by comparing it to other calls?
What is link edit in cobol?
What is perform what is varying?
How many bytes S(8) comp field occupy and its maximum value?
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
What are the cobol coding sheets?
if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.
Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.