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
What is a SSRANGE and NOSSRANGE?
What are different data types in cobol?
how to access the file from prodution from changeman tool and to submit a file to production
What are various search techniques in cobol? Explain.
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
Write the code implementing the perform … varying.
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
What are the various section in data division and briefly explain them.
What is the utilization of copybook in cobol?
What is the usage of comp fields in cobol?
How do you differentiate between cobol and cobol-ii?
What is the difference between PIC 9.99 and PIC9v99?
What is rmode(any) ?