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 / satish
01 a pic -9(5) value -12345
Answer : either of the below :
01 a pic -9(5) value -12345 will working without any
changes or
01 a pic 9(5) value -12345 leading seperate
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
When is inspect verb is used in cobol?
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
What is the use of intialize verb?
i want a program using by if, evaluate , string, unstring, perform, occurs?
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
What is comp-1 and comp-2?
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc
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 kind of error is trapped by on size error option?
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?
Explain the configuration section of a cobol program with examples of syntax.
What is the difference between goback, stop run and exit program in cobol?
What are the rules of the move verb?