put mvs dataset to mvs dataset

Discussion of Co:Z sftp, a port of OpenSSH sftp for z/OS
Post Reply
atolosi
Posts: 7
Joined: Fri Mar 18, 2022 6:53 am

put mvs dataset to mvs dataset

Post by atolosi »

i am trying to tranfer a dataset from one z/os image to another
user=xxxxxx
pwdsn="//xxxxxx.Jxx.xxxx(PWD)"
host=xx.xx.xxx.xxx
lzopts="mode=binary,interimlogging=180"
lfile1="//xxxxxx.SFTP.TEST"
rfile1="//xxxxxx.SFTP.TEST"
. $script_dir/sftp_connect.sh <<EOB
lzopts $lzopts
dsput $lfile1 $rfile1
EOB

the user is failing because on the remote side it is trying to allocate
//xxxxxx.SFTP.TEST as a file in the root file system in UNIX systems services
instead or allocating a MVS dataset
dovetail
Site Admin
Posts: 2022
Joined: Thu Jul 29, 2004 12:12 pm

Re: put mvs dataset to mvs dataset

Post by dovetail »

Please post the contents of the Co:Z SFTP Server session log file so that there is something to look at.
(Scrub any sensitive names)
Post Reply