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

Consider the following: 77 W-NUM PIC 9 VALUE 0 ------ MOVE 1 TO W-NUM PERFORM PARA-X UNTIL W-NUM > 9. ------ PARA-X ADD 1 TO W-NUM How many times PARA-X is executed ?

14 Answers   Accenture, TCS,


what is srange and nosrange pls reply to ths question ?

2 Answers   L&T,


What is the difference between working storage copybook and linkage section copybook?

5 Answers   TCS,


what is s000 u4087 error? please give the all error codes in cobol,jcl.

0 Answers  


what is linkcard in cobol?

1 Answers   TCS,






What guidelines should be followed to write a structured Cobol program?

1 Answers  


where will we code call by content and call by reference dude pls reply soon ?

2 Answers  


we can use set true for condition names.. similarly can we code set to false in cobol pgm? will it work?

1 Answers  


What is difference between COBOL and VS COBOL II?.

1 Answers   Winsol Solutions,


How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?

0 Answers  


what is the difference between Normal vaiable and comp variable.

5 Answers   DELL,


Write a program to enter and display the names of students in a class using the occurs clause.

0 Answers  


Categories