Sort can remove the trailing spaces.

  SORT FIELDS=COPY
  OUTFIL FNAMES=OUT,FTOV,VLTRIM=X'40',OUTREC=(1,120)

Adjust the lrecl as meeded.  This is from a job converting binder output to VB.

...chris.

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Nightwatch RenBand
Sent: August-25-17 8:47 AM
To: [email protected]
Subject: Re: How to Remove trailing space in SFTP Transfer

Um... this might be simplistic, and I have no way to test it  BUT...
Create a VB dataset, copy FB to VB, SFTP the VB Just a thought.  Don't think 
there will be any trailing spaces in the VB version.

----------------------------------------------------------------------
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