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 do you differentiate between cobol and cobol-ii?
Can you please let me know the centre name of INS certification in Kolkata.
HOw can I get the negative sign while deduct high value from low value
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
What is report-item in COBOL?
What is a SSRANGE and NOSSRANGE?
What are various search techniques in cobol? Explain.
Name some of the examples of COBOl 11?
What is the utilization of copybook in cobol?
IF I mention stop run in CICS what happens?
Define static linking and dynamic linking.
What are literals?
Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.