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 / sreejith
01 a pic -9(5) value -12345
or
01 a pic x(6) value '-12345'
| Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
how to access the file from prodution from changeman tool and to submit a file to production
A table has two indexes defined. Which one will be used by the SEARCH?
what is search and searchall?what is the diffrence between them?give an best example?
Explain the configuration section of a cobol program with examples of syntax.
what happens if parmparameter passes zero bytes to the program
How are the next sentence and continue different from each other?
What is the problem of ordered sequential files access?
What is rmode(24)
What is the difference between Global and External Variables?
Are you comfortable in cobol or jcl?
what is the difference between COBOL2 AND COBOL390?
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
What is the local-storage section?
In COBOL, what is the different between index and subscript?
State the various causes of s0c1, s0c5 and s0c7.