|
Jim Damato wrote: > > I think I'm missing something pretty basic on this one. > > We used to do a lot of PC downloads through shared folders. I've always > assumed that the CPYTOPCD command did an EBCDIC to ASCII conversion. Now we > want to start downloading through the IFS, mostly because CPYTOIMPF is so > cool. In my first experiments I've found that I've got very messy data. > One of our PC programs interprets the files nicely as EBCDIC, and Excel > definitely can't cope. > > Do CPYTOIMPF and CPYTOSTMF produce EBCDIC files, and, if so, is there an > easy way to convert them? > > -Jim Here's the skinny... If CPYTOIMPF is *creating* the file on the IFS, it will use the codepage of the job. e.g. you get EBCDIC. If, however, the file already exists on the IFS and CPYTOIMPF is going to *replace* (or append) the data then it will convert to that codepage. I think you can do this through one of the parameters to, but one sure route is to map a share into an IFS directory and create the file from your PC. From then on CPYTOIMPF gets it right. Barry
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.