FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Fields packed in text file
Posts: 328
Joined: Fri May 19, 2006 04:08 PM
Fields packed in text file
Posted: Sun Oct 10, 2021 10:02 PM

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

FWH 32/64 14.04

Harbour 3.2.0 (r1306211258)

PellesC
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Fields packed in text file
Posted: Mon Oct 11, 2021 05:03 AM

Miguel,

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

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 408
Joined: Sun Nov 06, 2005 03:55 PM
Re: Fields packed in text file
Posted: Mon Oct 11, 2021 03:27 PM

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

Thanks,

Byron Hopp

Matrix Computer Services
Posts: 328
Joined: Fri May 19, 2006 04:08 PM
Re: Fields packed in text file
Posted: Tue Oct 12, 2021 01:30 AM

Ok Byron. I look to see if it helps.
So much grace
Hug.
Miguel

FWH 32/64 14.04

Harbour 3.2.0 (r1306211258)

PellesC

Continue the discussion