I have been testing Visual Cobol against an older Cobol main frame system and just have a question about Z Zero Suppression
Here's a sample program
05 PR-NUM PIC 99v99.
05 PR-NUM1 PIC ZZ.99.
Display "Enter number"
move PR-NUM to PR-NUM1
When I run the program in Micro Focus Cobol and enter in the following data 0328 I get 28.00 which is not right.
When I run the program in our older mainframe and enter in the following data 0328 I get 3.28 which is to be expected the leading zero is suppressed.
Not sure how to get Zero Suppression working in Micro Focus Cobol