Answer Posted / shinoy sansilavose
it occupies one additional byte when it is specified with
signed variable declaration.
Example:
01 ws-num pic s9(04) sign trailing separate.
move '+1234' to ws-num
then the value will be stored as +1234.
| Is This Answer Correct ? | 13 Yes | 20 No |
Post New Answer View All Answers
Write a program to explain size error.
What are 77 levels used for?
I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?
What is rmode(24)
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.
What are all the divisions of a COBOL program?
How you can characterize tables in cobol?
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
What is the difference between external and global variables in COBOL?
what happens if parmparameter passes zero bytes to the program
example for sub strings ? and refernce modifications whit output pls
Difference between cobol and cobol-ii?
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
Explain how to differentiate call by context by comparing it to other calls?
what is difference between cobol and cobol/400