|
At 02:20 PM 6/1/98 +0000, Tim McCarthy wrote: >At 11:39 AM 6/1/98 -0500, you wrote: >> >>Converting packed numeric fields is a breeze if you create LF DDS and >redefine >>the packed fields to zoned (dtatype 'S'). OS400 will convert the packed >fields >>dynamically as it reads the PF. I haven't tried it, but I would think that >this >>will work for FTP as well as it does for CA file transfer. >> >>Eric A DeLong >>ericadelong@pmsc.com >> > >But how would you denote negative values? Also, the remote system would >have to understand any implied decimal definitions you've used. Tim, The last digit will end up being a character that represents that digit in EBCDIC, but with a x'D' sign nibble. You will need to convert that, usually by translating back to a digit and adding a leading negative sign. You're on your own with the implied decimals though. Pete Pete Hall peteh@inwave.com http://www.inwave.com/~peteh/ +--- | 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.