IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Need help on SFTP alternate for LOCSITE RWD


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ashok_uddaraju

New User


Joined: 21 Feb 2007
Posts: 72
Location: US

PostPosted: Thu Oct 26, 2017 12:43 am
Reply with quote

Hi all,

There is an existing FTP Process which we are planning to convert into SFTP.

The FTP had LOCSITE RDW. In SFTP we tried below options after going through various SFTP manuals

lsite rdw
linerule=rdw
locsite rdw

But none of these is recognized as valid command.

"FOTS0822 Invalid command"

We are using SSH-2.0-OpenSSH_6.4

Can someone help me on this ?
Back to top
View user's profile Send private message
ashok_uddaraju

New User


Joined: 21 Feb 2007
Posts: 72
Location: US

PostPosted: Thu Oct 26, 2017 2:00 am
Reply with quote

Identified the root cause of my issue. The RDW is being removed when copying from Mainframe to Unix using cp command. Working on getting options in cp command which will not remove the rdw

Thanks
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8700
Location: Dubuque, Iowa, USA

PostPosted: Thu Oct 26, 2017 2:41 am
Reply with quote

From the Unix System Services Command Reference manual, it appears that
Code:
cp -F rec
may do what you want. I've never used the -F rec option of cp so I don't know the details of it.
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Alternate key data extracttion COBOL Programming 13
No new posts SFTP Return Codes TSO/ISPF 2
No new posts batch SFTP job using AOPBATCH unable ... All Other Mainframe Topics 7
No new posts BPXBATCH SFTP to remote path having s... All Other Mainframe Topics 6
No new posts Binary File format getting change whi... All Other Mainframe Topics 7
Search our Forums:


Back to Top