Fields packed in text file

Fields packed in text file

Postby El Loco » 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
El Loco
 
Posts: 328
Joined: Fri May 19, 2006 4:08 pm
Location: Buenos Aires - Argentina

Re: Fields packed in text file

Postby Antonio Linares » Mon Oct 11, 2021 5:03 am

Miguel,

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

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41436
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Fields packed in text file

Postby byron.hopp » Mon Oct 11, 2021 3: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
byron.hopp
 
Posts: 357
Joined: Sun Nov 06, 2005 3:55 pm
Location: Southern California, USA

Re: Fields packed in text file

Postby El Loco » Tue Oct 12, 2021 1: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
El Loco
 
Posts: 328
Joined: Fri May 19, 2006 4:08 pm
Location: Buenos Aires - Argentina


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 42 guests