PGM
QSH CMD('/QOpenSys/bin/sftp -b/home/test/myfile.txt
serverUserID@server')
ENDPGM
Can u plz tell me what the above code do exactly?
Answer Posted / syam
-b = Batch file
/home/test/myfile.txt = path of input file
serverUserID@server' = ip address
then
PUT or Get command
Bye command = Quit
SFTP is a Linux Unix command
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
what is sflrolval?
Difference Between Call & Sbmjob?
how do you know that records are locked?
what would be the effect on the field where reverse image, underline and highlight display attributes are active ?
what is the maximum number of subroutines allowed in rpg?
can you display a empty subfile?
In Which Specs Arrays, Tables & Constants Are Defined?
how does the runqry show the output?
what is the maximum number of subfiles that can specified in a display file ?
What is the difference between non-join logical files and join logical files?
how do you read changed records backward in subfile?
What Is The Object Type Of Pf, Lf, Printer File & Display File?
if we tried to move year part of *iso date into a field of length 3, what will happen ?
A join logical file has how many record formats?
what is the maximum number of files allowed in rpg?