01 b pic +9(4)
How many bytes it will take for storage???

Answer Posted / guest

5 bytes.
As usage caluse is not mentioned, default usage clause
which is "Display" will be used for b. Display uses 1 byte
for every character data. So 1 byte of sign(+) and other 4
bytes of pic 9(4). Total 5 bytes will be used.

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how do you reference the fixed unblock file formats from cobol programs

712


How do you differentiate between cobol and cobol-ii?

658


How do we get current date from system with century in COBOL?

807


How do you reference the following file formats from cobol programs?

697


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

634






What is the default value(s) for an initialize and what keyword allows for an override of the default?

697


I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue

1933


What is difference between static and dynamic call in cobol?

779


Explain about different table spaces.

652


What type of SDLC u followed? Why?

1522


What are the cobol coding sheets?

666


how do you reference the printer file formats from cobol programs

669


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.

5695


how can i see junk values in dclgen or in hostvariable of comp ?

2546


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