I have a i/p file that contains the imbedded decimal point X'4B' How do I convert the data to numeric to perform arithmetic operations and then reconvert the data back to a -9(9).99 before writing the record.
In my record i have values like
ws-amount --- declared as x(7) justified right.
ws-amount --- field values are as follows
I want to get the total sum of ws-amount.... means my output
should be -600.00 after computation
how do I convert ws-amount to a fully numeric field, perform arithmetic on it and then write the result back out.