Thank you for this life saver. I opted to use the manual one. Now I just need some sanity checks. Here's some sample data and corresponding translation. Does this look right or I'm way off?
0003277B -> 327.72
0001502D -> 150.24
0000535G -> 53.57
0000490{ -> 49.00
Thank you once again.
Just found out data was created on VM platform. If it turns out what I'm trying to do can't be done what PIC clause can be used to make sure that field is viewable in a pc based text file. Thanks
I'm not sure what platform the data was created on, I only have the data layout and sample data file. Outside of cobol meant using a tool like perl to reformat this into something readable. Any hint will be appreciated. Thanks.
Thanks. This was very helpful. I actually got the output file with a layout, and tried to open with a text editor. Is there an easy way to make a conversion of that particular field outside of Cobol.
Can someone explain why a field defined with this
02 C-AMOUNT PIC S9(6)V99.
shows up with wierd character. This should be numeric
but I'm getting something like this: 0000732{
in the field.
thanks
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.