SiouxCityElvis
Programmer
I am confused on how to read in raw data decimal values store them, and then retrieve them in a different program and send them to output back with the decimal showing.
Raw Data: 166.00
When I store this Data: WS-DECI-NBR PIC S9(6)V9(2)
So, right now when I do a test read on the data I've stored and output that to a Sequential File, I see the above number in this format:
1669000}
But, the problem is I want to send it out so it looks like:
166.00
That way when the Java guy picks it up, it makes sense to him.
Thanks in advance.
-David
Raw Data: 166.00
When I store this Data: WS-DECI-NBR PIC S9(6)V9(2)
So, right now when I do a test read on the data I've stored and output that to a Sequential File, I see the above number in this format:
1669000}
But, the problem is I want to send it out so it looks like:
166.00
That way when the Java guy picks it up, it makes sense to him.
Thanks in advance.
-David