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
how can you detect and handle a record lock situation?
What are the record format field mapping options in cpyf?
what does defn do?
writing an sql statement from selecting records from two files using single statement and nested select statement.
How do I remove a flag or check no. or name when a user opens too many sessions?
what are different types of substems?
what is the difference between *like and *namvar ?
What Does Lokup Does In Tables & Arrays?
how can I predict the performance of my cgis?
give three main purposes of file specification ?
How to add 99 menu (page down) option in menu creation..
what does check opcode do ?
What is a query can be displayed without saving it?
what the purpose of ovrdta, ovrata keywords?
define the purpose/use for sflrna?