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 does the ovrdbf command do?
what is the difference between seton lr and retrn?
what are the different types of variables available in cl?
what keyword must be used with protect keyword ?
what is sflinz and sflrna?
what is externally described file ?
1. There is a file called Month. Month has 12 members called Jan, Feb, ..., Dec. How to design a rpg code which can access any member and show its content. (User can ask for any member when required)?
how do you pass parameters in cl?
what is subfile?
what is a spool file?
what are the various types of device files?
What is data structure in as400? What is the use of data structure?
explain the purpose of keep and assume keywords?
which type of object is used in db2/400?
how do you know that records are locked?