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

HOw can I get the negative sign while deduct high value from low value

1790


Whats the difference between search & search ALL?

5264


What is the Purpose of Pointer in the string?

643


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...)

1931


What is the local-storage section?

681






What is the difference between PIC 9.99 and 9v99 in COBOL?

732


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

753


Can a Search can be done on a table with or without Index?

802


how we sort two input files based on a common column and giving one o/p file please send me the coding logic?

1651


how do you reference the ksds vsam file formats from cobol programs

666


What is redefines clause in COBOL?

850


A table has two indexes defined. Which one will be used by the SEARCH?

757


What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?

678


) How do u handle errors in BMS macro?

1427


What are various search techniques in cobol? Explain.

646