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

Answers were Sorted based on User's Feedback



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

Answer / varun singh

5 bytes

Is This Answer Correct ?    27 Yes 9 No

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

Answer / 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

More COBOL Interview Questions

is it mandatory to give data division before procedure division ? wht happens if i give procedure division first thn data division ? reply soon

2 Answers   Patni,


What are all the divisions of a COBOL program?

1 Answers  


If my program receives input feed from program in other system.. if the receiving field size is less than the sending field.. what abend will be happening.

1 Answers   HCL,


How to traceback if I am getting SOC7 or SOC4 abend? List down the steps

1 Answers  


How can we know that cobol program is using report file or simple file....?

4 Answers  


can we use full outer join with cursors declared in cobol program?

2 Answers  


what is the meaning of pic 9(09)v99-

4 Answers   HSBC,


How many times the loop runs here 01 a pic 9(2) value 10. perform para1 a times stop run. para1: move 20 to a.

3 Answers  


What is the difference between comp and comp-3 usage?

1 Answers  


how many bytes do SPPPP999 will store?

18 Answers  


what will happen if pass values more than 100 using PARM parameter?

1 Answers  


how can u redefine picx(10) with pic 9(6).

3 Answers   TCS,


Categories