Re: How to Remove trailing space in SFTP Transfer

2017-08-25 Thread Webster, Chris
ERV.UA.EDU] On Behalf Of Nightwatch RenBand Sent: August-25-17 8:47 AM To: IBM-MAIN@LISTSERV.UA.EDU 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. D

Re: How to Remove trailing space in SFTP Transfer

2017-08-25 Thread Nightwatch RenBand
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 / sig

Re: How to Remove trailing space in SFTP Transfer

2017-08-25 Thread John McKown
On Thu, Aug 24, 2017 at 4:01 PM, Paul Gilmartin < 000433f07816-dmarc-requ...@listserv.ua.edu> wrote: > On Thu, 24 Aug 2017 09:16:36 -0500, John McKown wrote: > >> > >> Decades ago, before OMVS was envisioned, I was maintaining/enhancing the > >> runtime library for a FOSS Pascal system and wis

Re: How to Remove trailing space in SFTP Transfer

2017-08-24 Thread Paul Gilmartin
On Thu, 24 Aug 2017 09:16:36 -0500, John McKown wrote: >> >> Decades ago, before OMVS was envisioned, I was maintaining/enhancing the >> runtime library for a FOSS Pascal system and wished the access method >> would do something similar for Classic data sets. It would have saved me >> considerable

Re: How to Remove trailing space in SFTP Transfer

2017-08-24 Thread Kirk Wolf
FYI, You don't have to modify /etc/ssh/sshd_config to use the Co:Z SFTP client. Kirk Wolf Dovetailed Technologies http://dovetail.com On Thu, Aug 24, 2017 at 10:16 AM, John McKown wrote: > On Thu, Aug 24, 2017 at 10:10 AM, Kirk Wolf wrote: > > > Or just use Co:Z SFTP and send the data set di

Re: How to Remove trailing space in SFTP Transfer

2017-08-24 Thread John McKown
On Thu, Aug 24, 2017 at 10:10 AM, Kirk Wolf wrote: > Or just use Co:Z SFTP and send the data set directly rather than having to > copy it to a Unix file. Then you can use the trim=on/off option to control whether you want > trailing spaces trimmed. > ​The only reason that I didn't mention Co:Z

Re: How to Remove trailing space in SFTP Transfer

2017-08-24 Thread Kirk Wolf
Or just use Co:Z SFTP and send the data set directly rather than having to copy it to a Unix file. Then you can use the trim=on/off option to control whether you want trailing spaces trimmed. Kirk Wolf Dovetailed Technologies http://dovetail.com On Thu, Aug 24, 2017 at 7:46 AM, John McKown wrote

Re: How to Remove trailing space in SFTP Transfer

2017-08-24 Thread John McKown
On Thu, Aug 24, 2017 at 9:03 AM, Paul Gilmartin < 000433f07816-dmarc-requ...@listserv.ua.edu> wrote: > On Thu, 24 Aug 2017 08:09:18 -0500, Elardus Engelbrecht wrote: > > >Paul Gilmartin wrote: > > > ... RECFM=FB. ... > >>Why is that still a thing in the 21st Century? > > > >Backward comp

Re: How to Remove trailing space in SFTP Transfer

2017-08-24 Thread Paul Gilmartin
On Thu, 24 Aug 2017 08:09:18 -0500, Elardus Engelbrecht wrote: >Paul Gilmartin wrote: > ... RECFM=FB. ... >>Why is that still a thing in the 21st Century? > >Backward compatibility all the way back to Julius Ceasar and Nero ... ;-D > >What would you like to have in place of FB? > It could

Re: How to Remove trailing space in SFTP Transfer

2017-08-24 Thread Elardus Engelbrecht
Paul Gilmartin wrote: >>> ... RECFM=FB. ... >Why is that still a thing in the 21st Century? Backward compatibility all the way back to Julius Ceasar and Nero ... ;-D What would you like to have in place of FB? Groete / Greetings Elardus Engelbrecht ---

Re: How to Remove trailing space in SFTP Transfer

2017-08-24 Thread Paul Gilmartin
On Thu, 24 Aug 2017 11:14:30 +0300, venkat kulkarni wrote: >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 us

Re: How to Remove trailing space in SFTP Transfer

2017-08-24 Thread John McKown
On Thu, Aug 24, 2017 at 3:14 AM, venkat kulkarni wrote: > 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 u

Re: How to Remove trailing space in SFTP Transfer

2017-08-24 Thread venkat kulkarni
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.

AW: Re: How to Remove trailing space in SFTP Transfer

2017-08-23 Thread Peter Hunkeler
>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 transfe

Re: How to Remove trailing space in SFTP Transfer

2017-08-23 Thread Paul Gilmartin
On Wed, 23 Aug 2017 11:52:06 -0500, John McKown wrote: > >I'd bet that the old FTP transfer had a site default of >NOTRAILINGBLANKS. This automatically truncates the transferred line >after the last non-blank character. There is no such option, that I >know of, for sftp transfers. The "sed" command

Re: How to Remove trailing space in SFTP Transfer

2017-08-23 Thread John McKown
On Wed, Aug 23, 2017 at 11:39 AM, Paul Gilmartin <000433f07816-dmarc-requ...@listserv.ua.edu> wrote: > On Wed, 23 Aug 2017 14:04:13 +0300, venkat kulkarni wrote: >> >>So, we are sending text data from mainframe to AIX system for further >>processing. >>... >>But when we use SFTP process for

Re: How to Remove trailing space in SFTP Transfer

2017-08-23 Thread Paul Gilmartin
On Wed, 23 Aug 2017 14:04:13 +0300, venkat kulkarni wrote: > >So, we are sending text data from mainframe to AIX system for further >processing. >... >But when we use SFTP process for transferring the file, we get trailing >spaces added in the file after sftp process completion. > I'm astonish

Re: How to Remove trailing space in SFTP Transfer

2017-08-23 Thread venkat kulkarni
rko > > > -Original Message- > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On > Behalf Of venkat kulkarni > Sent: 23 August 2017 13:10 > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: How to Remove trailing space in SFTP Transfer > > &

Re: How to Remove trailing space in SFTP Transfer

2017-08-23 Thread Elardus Engelbrecht
venkat kulkarni wrote: >I think by default SFTP mode of transfer is binary and add trailing space at >end of every records, which eventually increases the file of file compare to >ftp transfer. Not really. It depends on what software you're using and how they are configured in the first place

Re: How to Remove trailing space in SFTP Transfer

2017-08-23 Thread Mike Wawiorko
trailing space in SFTP Transfer This message originated from outside our organisation and is from web based email - venkatkulkarn...@gmail.com Thanks for reply. I think by default SFTP mode of transfer is binary and add trailing space at end of every records, which eventually increases the file of

Re: How to Remove trailing space in SFTP Transfer

2017-08-23 Thread venkat kulkarni
Thanks for reply. I think by default SFTP mode of transfer is binary and add trailing space at end of every records, which eventually increases the file of file compare to ftp transfer. I am using omvs and batch job to transfer file from Mainframe to AIX using SFTP command . Are you looking for

Re: How to Remove trailing space in SFTP Transfer

2017-08-23 Thread Elardus Engelbrecht
venkat kulkarni wrote: >But when we use SFTP process for transferring the file, we get trailing spaces >added in the file after sftp process completion. It depends. What SFTP client and server software are you using? Also, can you show the effective settings during SFTP process? Groete / Greet

How to Remove trailing space in SFTP Transfer

2017-08-23 Thread venkat kulkarni
Hello, We are in the process of converting FTP jobs in to SFTP on mainframe system. So, we are sending text data from mainframe to AIX system for further processing. My observation is, when we use FTP process of transferring the file, by default we dont get any trailing spaces in file after ftp