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
Whats the difference between search & search ALL?
Explain what you understand by passing by value.
What are the various section in data division and briefly explain them.
example for sub strings ? and refernce modifications whit output pls
What is link edit in cobol?
if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
Write a program that uses move corresponding.
what happens if parmparameter passes zero bytes to the program
What is amode(31)
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
What is the difference between binary search and sequential search?
What is inspect in cobol ?
What are various search techniques in cobol? Explain.
A table has two indexes defined. Which one will be used by the SEARCH?