|
Another way would be to Query the file to a spoolfile and use CPYSPLF to a PF, then CPYTOPCD or FTP the results. Ken Slaugh Senior Programmer/System Analyst AS/400 Professional Network Administrator/MSE Specialist - Client Access/400 Chouinard & Myhre, Inc. > -----Original Message----- > From: boothm@ibm.net [SMTP:boothm@ibm.net] > Sent: Friday, June 11, 1999 10:39 AM > To: MIDRANGE-L@midrange.com > Subject: Re: > > The conversion programs don't know how to handle the numbers and the > numbers' signs very well. > > In the end I've generally written a small RPG program that lays out > the > data as text, with a program described output file. If you use this > method, use an N for the edit code on the numbers and you'll get the > leftside minus sign. > > The method isn't very sophisticated but to get something working in > the > next hour, this method works. > > In <002101beb428$e900fc40$719cc5d0@pc02>, on 06/11/99 > at 11:38 AM, "Karl Lauritzen" <klauritzen@mail2.texnet.net> said: > > > >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 > >klauritzen@mail2.texnet.net > > -- > ----------------------------------------------------------- > boothm@ibm.net > Booth Martin > ----------------------------------------------------------- > > +--- > | 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.