I want to use Co:Z SFTP Client in batch to transfer a whole PDS.
I sepearated the STDIN for Co:Z Batch so that I have a inline
STDIN and a concatenated DD:
Code: Select all
//STDIN DD *
USER="user"
PWDSN="hlq.hlq.llq(pw)"
SERVER="server"
REMOTEFILE="//hlq.llq"
LOCALFILE="//DD:DOWNLOAD"
// DD DSN=hlq.hlq.llq(COZSTDIN),DISP=SHR
Code: Select all
lcd $LOCALFILE
cd $REMOTEFILE
mget *
Code: Select all
Couldn't change local directory to "//DD:DOWNLOAD"
Is there an alternate to transfer a whole PDS? Maybe it's to easy so that I don't find it.....
It would't be a big problem when I have to specify the correct DD in the REMOTEFILE but it would be a nice add when there is an other way...