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 |
What is the difference between static call & Dynamic call?
Hi all, I have a following requirement to write the cobol program. I have to load the 129 variables from input sequential file which are in excel sheet to the cobol inernal table. and after loading into table i have to compare this data with the business file. here compare means controlling the data whether the format(numeric,alpha) is same in the business file and in the table??? i have the same data in input and business file. could anyone please give me any idea of the logic?// i have all the 129 different variables(129rows,1 column)is there .
how to display comp3 variables reply soon ?
Without using move verb how to move one variable to another.
Which is not true about evaluate statement
which generation language is cobol
The maximum number of dimensions that an array can have in COBOL-85 is ?
Program A calls program B. Will the working storage variables declared in program B be initialized every time it is called by program A or will the values be retained until the end of program A?
Consider the following COBOL entries: 05 X PIC 99 VALUE 10. SUBTRACT 20 FROM X. The resultant value of X wil be
we can use set true for condition names.. similarly can we code set to false in cobol pgm? will it work?
What kind of error is trapped by on size error option?
What is rmode(any) ?