I need to read an amount filed x(12) field from a flat file and move it into s9(9)v99 format. My client is preparing the flat file with decimal point and sign, we dont have any other option but to receiving it into X(12) field. I had made a work aroung using redifines clause, which was working fine with +ve sign. If the amount have -Ve sign my program is abending.
For ex: if value is -90000.90 in x(12) filed, how can I move this to
S9(9)v99 field. I am having issues with handling the sign.