On Fri, 5 Sep 2003, Don McIntyre wrote:
>
> I've tried cpytoimpf using many different parameter
> settings & also ftp.  In all attempts, the trailing
> spaces are trimmed on the target file. I need the
> target file to retain the 16 positions with carriage
> return.
>
>
> Does anyone have an idea how I can accomplish this?

No need to put the file in the IFS if you want to use FTP.  Just
do this in your Windows/Unix FTP client:

  cd mylib
  ascii
  quote site trim 0
  get MYFILE


The "quote site trim 0" will tell the iSeries FTP server not to trim
any blanks from the record.

If you are using IBM's iSeries FTP client, you also need to specify
   locsite trim 0


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.