adspace
i was faced one question-
i have value
-00001234.56
Suppress the zeroes and the output should be -1234.56
But Not - 1234.56 spaces should not be available after suppressing the zeroes.
logic in jcl and cobol?
Answer Posted / Rahul Jha
In COBOL, you can use the PIC S9(4)V99 format for the field containing the number. In JCL, you can use the REDEFINES clause to create a new symbol for the edited field without leading zeros.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers