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 the necessary keyword for non-join logical file?
What is binder language ?
how to read database records without locking them?
What Does 'sr' In Columns 7-8 Of C Specs Mean?
what are the different types of variables available in cl?
what is maximum number of arrays allowed in rpg?
which of the cl command can be used to determine which logical files are dependent on a specific file?
what if my system I runs with system value qccsid 65535?
A join logical file has how many record formats?
What is difference between rename and prefix?
what is a program described file in rpg?
what is the function of cpyf command?
what is the difference between sflclr and sflinz?
what are the different types of arrays available in rpg ?
Space & Skip Are Which Level Keywords?