my dataset on Mainframe is FB , So whenever mainframe transfer data using
FTP using ascii to AIX it doesnt have trailing spaces.

But as SFTP cant transfer directly dataset into AIX location, so we
transfer dataset to omvs location using OPUT and then from omvs, we
transfer data to AIX using SFTP.

So, I think, while transferring data from dataset to omvs it add trailing
blanks and which carry forward to unix as well.
Mainframe to AIX  rather then first trasnferring to omvs and then to aix.



On Thu, Aug 24, 2017 at 7:42 AM, Peter Hunkeler <[email protected]> wrote:

> >Yet, I wonder why the OP may want trailing blanks on z/OS and not on AIX.
>
>
>
> Just guessing here: Its not that they want trailing blanks, they have it
> because the data set is RECFM=FB. The FTP truncate option removed them and
> that is why they are used to not have trailing blanks after the transfer.
>
>
> If it is an option, change the data set on z/OS to RECFM=VB. But this may
> require a change of the application writing the data set in the first place.
>
>
> --
> Peter Hunkeler
>
>
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN
>

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to