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 |
We have 3 programms A,B,C.In the middle of the program A the controls goes to program B and in the middle of the program B control wants to go program C,after completion of program C again control comes to program B and again after completion of program B control comes to program A.How the process will takes and what are the controls we use for that process.If it is possible anybody of you explain with example?
I have 2 dimensional array with having 100 elements. So how to find the 11th item in an array?
I know my query will return more than one row but I don't want cursor what should I do?
How many bytes S(8) comp field occupy and its maximum value?
What are the functions like c or c++ in cobol?
When is inspect verb is used in cobol?
Can anybody give me example of subscript and index
In a COBOL II PERFORM statement, when is the conditional tested, before or after the perform execution?
Can we use goto statement in inline_perform ?
what is sort? whis is internal & external sort ?when do u go for inter sort & external sort? tell about some sort utilites?
77 a pic x(4) value '1234' -----> instead of this 'abcd' 77 b pic 9(4) value zeros. move a to b what is the answers for both cases? IS it possible? Give me elementary move rules briefly......
what modification we need to do in jcl if we use sort in cobol? I mean whether we need to include tempary file used for sorting in assign statement?