Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by tubiron

  1. tubiron

    PICTURE clause

    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.
  2. tubiron

    PICTURE clause

    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
  3. tubiron

    PICTURE clause

    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.
  4. tubiron

    PICTURE clause

    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.
  5. tubiron

    PICTURE clause

    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

Part and Inventory Search

Back
Top