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
For rewrite, why is it mandatory that file needs to be opened?
How to remove 2 duplicate records and copy only one using job control language?
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
What is the difference between a binary search and a sequential search what are the pertinent cobol?
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
How do you reference the fixed block file formats from cobol programs
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
How many bytes S(8) comp field occupy and its maximum value?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
What is length is cobol?
How do define dynamic array in cobol.
Explain how to differentiate call by context by comparing it to other calls?
i want a program using by if, evaluate , string, unstring, perform, occurs?