|
At 08:47 PM 3/12/98 EST, JBakerii wrote: >Is there a way I can FTP the file and have the sign be a separate byte? I >know that we could write a RPG program to read the file and output to another >file with all numeric fields translated to alpha, but I don't want to if it >can be done another way. If anyone knows of a way to do this, please let me >know here on the list. FTP doesn't know anything about the record layout... so it' won't do any translation, other than EBCDIC to ASCII. The only thing you can do is write a HLL program that will look at the signed fields and, if they are negative, put some kind of indication in an additional field to indicate so. david -- | Internet: david@midrange.com | WWW: http://www.midrange.com/david | | ... A man can move mountains, a world can be turned, | and the greatest of distances easily spanned, | When the strength that's invested in making a fist | is transformed into shaking a hand. | | - DMRoth | | Fight Spam! Join CAUCE! == http://www.cauce.org/ +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@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.