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 / anil prajapati
For displaying sign in the result we have to declare a
variable with negative sign symbol
e.g. 01 b pic -9(5).
in this variable we will this value
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the problem of ordered sequential files access?
What is an in line perform? When would you use it? Anything else you wish to say about it.
What are the access modes of START statement?
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
What are the different rules of SORT operation?
What are the different data types in cobol?
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
What is the difference between perform … with test after and perform … with test before?
What is rmode(24)
What is Pic 9v99 Indicates in COBOL?
Write a program that uses move corresponding.
What is link edit in cobol?
Give some examples of command terminators?
How many bytes S(8) comp field occupy and its maximum value?
how do you reference the esds vsam file formats from cobol programs