Responses inline:

On Fri, Feb 19, 2010 at 6:59 PM, Scott Klement
<midrange-l@xxxxxxxxxxxxxxxx>wrote:

The other thing I'd try if pre-creating the file didn't work for some
reason is to run CHGPF to change the CCSID to the correct one after the
transfer.


Tried that, got CPD322D:
"Explicitly specified CCSIDs or file restrictions present."
Don't know how "explicit" applies here, unless it's FTP "under the covers".



I suppose SQL with CAST might do it, but then the file itself is still
wrong... you're just doing a workaround when you read it. For me, I'd
want my file to be correct so no workarounds are needed.


Agreed. However, in this particular case, the downloaded file gets tossed
after the application is done reading it. I'm basically extracting data
from the downloaded file, and storing the extractions in my own SQL-defined
table.

Thanks again, Scott!

- Dan

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.