01 a pic s9(5) value -12345,
if we disply a , the sign will overpunched with last digit
but i need to get the miuns sign in the result?
Answer Posted / saravana
01 A pic s9(5) value -12345
01 B pic -9(5)
PROCEDURE DIVISION
MOVE A TO B
DISPLAY B
STOP RUN
o/P:
-12345
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
) how do u code after getting data?
Write some characteristics of cobol as means of business language.
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic
What rules are to be followed while using the corresponding options?
What are the various section in data division and briefly explain them.
What are the different rules for performing sort operation?
Can we redefine the field of x(200) to less than 200?
Have you used comp and comp-3 in your project? And how?
Discuss about changing dataset name in proc.
What is rmode(any) ?
What is perform what is varying?
how to access the file from prodution from changeman tool and to submit a file to production
Give some examples of command terminators?
explain sorting techniques in cobol program?
How you can characterize tables in cobol?