The mainframe file is already exist and it's empty, and the SFTP job completed o.k., however, upon the job completion,
I checked the mainframe file TEST.SFTP.FILE1, and it's empty, did I leave something out in the GET syntax?
[code][/code]
//SYSPRINT DD DUMMY
//SYSIN DD DUMMY
//SYSUT2 DD PATH=('/tmp/&SYSUID..sftp.input'),FILEDATA=TEXT,
// PATHOPTS=(OWRONLY,OCREAT,OTRUNC),PATHMODE=SIRWXU
//*
//SYSUT1 DD *
ascii
ls
cd inputfile_tmp
ls -l
get file1_test.txt "//'TEST.SFTP.FILE1'"
quit
/*
//*
//SFTP EXEC PGM=BPXBATCH,
// PARM='SH sftp -v -b/tmp/&SYSUID..sftp.input
// mfftp@test.server.name'
//STDOUT DD PATH='/tmp/&SYSUID..STDOUT',
// PATHOPTS=(OWRONLY,OCREAT,OTRUNC),PATHMODE=SIRWXU
//*