Page 1 of 1

Fields packed in text file

Posted: Sun Oct 10, 2021 10:02 pm
by El Loco
Hello everyone ... so long ... trying to get back in the ring.
I hope you all are okay.
I need help reading packed fields (Comp-3 (Packed Decimals)) in a text file coming from a mainframe.
I have tried full-featured in Harbor and FiveWin and to no avail.
Could someone guide me how to achieve it or if someone has any function to facilitate or sell it to me?
Thank you very much already.
Hug
Miguel

Re: Fields packed in text file

Posted: Mon Oct 11, 2021 5:03 am
by Antonio Linares
Miguel,

Please provide us a Comp-3 (Packed Decimals) file example to analyze it

Re: Fields packed in text file

Posted: Mon Oct 11, 2021 3:27 pm
by byron.hopp
I had created a function to perform this task, but it has been a long time ago and I am unable to find it as of yet. However I did find this website with some information on the conversion. If I find the function I will post it.

http://www.simotime.com/datapk01.htm

Byron ...

Re: Fields packed in text file

Posted: Tue Oct 12, 2021 1:30 am
by El Loco
Ok Byron. I look to see if it helps.
So much grace
Hug.
Miguel