|
Yes some fields are packed and some are signed....either way they do not come out correctly. Let me understand the responses I have gotten. In order to get numeric data correctly I must create a file with these fields defined as text or edit code N? Define a field in PF as 9 with 2 decimals and edit code N or S? Will these work with negative numbers? -----Original Message----- From: Ken Slaugh <ken.slaugh@cm-inc.com> To: 'MIDRANGE-L@midrange.com' <MIDRANGE-L@midrange.com> Date: Friday, June 11, 1999 1:45 PM Subject: RE: >Are your numeric values 'packed'? Is so, FTP will not be able to >transfer this file. The packed values are looked at as EBCDIC bytes and >converted to meaningless ASCII bytes. > >Send me mail direct at mailto:ken@cm-inc.com for other options >available. > >Ken Slaugh >Senior Programmer/System Analyst >AS/400 Professional Network Administrator/MSE >Specialist - Client Access/400 >Chouinard & Myhre, Inc. > >> -----Original Message----- >> From: Karl Lauritzen [SMTP:klauritzen@mail2.texnet.net] >> Sent: Friday, June 11, 1999 9:39 AM >> To: midrange-l >> Subject: >> >> I am trying to ftp from my 400 to a pc file. >> I can get any text file down and up ok but files with numbers are >> garaged up. >> I tried changing mode to ASCII but still no good. >> >> Here is my test: >> >> ftp >> open mysystem >> username >> mypassword >> ascii >> get lib/file c:\test.txt >> >> What am I missing? >> >> >> Karl Lauritzen >> Second Vice-President >> Application Development >> 254-756-5531 x129 voice >> 254-399-0937 fax >> www.natlloyds.com <http://www.natlloyds.com> >> klauritzen@mail2.texnet.net <mailto:klauritzen@mail2.texnet.net> >> >+--- >| This is the Midrange System Mailing List! >| To submit a new message, send your mail to MIDRANGE-L@midrange.com. >| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. >| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. >| Questions should be directed to the list owner/operator: david@midrange.com >+--- > +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.