01 b pic +9(4)
How many bytes it will take for storage???
Answers were Sorted based on User's Feedback
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 |
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 ?
what is srange and nosrange pls reply to ths question ?
What is the difference between working storage copybook and linkage section copybook?
what is s000 u4087 error? please give the all error codes in cobol,jcl.
what is linkcard in cobol?
What guidelines should be followed to write a structured Cobol program?
where will we code call by content and call by reference dude pls reply soon ?
we can use set true for condition names.. similarly can we code set to false in cobol pgm? will it work?
What is difference between COBOL and VS COBOL II?.
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?
what is the difference between Normal vaiable and comp variable.
Write a program to enter and display the names of students in a class using the occurs clause.