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


Please Help Members By Posting Answers For Below Questions

What is a SSRANGE and NOSSRANGE?

812


What are different data types in cobol?

682


how to access the file from prodution from changeman tool and to submit a file to production

6666


What are various search techniques in cobol? Explain.

639


What is the utilization of copybook in cobol? Could we utilize a similar copybook?

704






Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning

671


Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?

810


Write the code implementing the perform … varying.

637


What is the difference between structured cobol programming and object alternativelyiented cobol programming?

699


What are the various section in data division and briefly explain them.

687


What is the utilization of copybook in cobol?

650


What is the usage of comp fields in cobol?

649


How do you differentiate between cobol and cobol-ii?

646


What is the difference between PIC 9.99 and PIC9v99?

771


What is rmode(any) ?

676