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 / ravi
I believe, it gets the details of the file mentioned in the path like created/changed date etc.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
what is the purpose of data structure?
how to toggle between single line and multi - line display of a particular record in a subfile?
Explain this error: "all record formats for externally-described file abcd ignored or dropped due to error; file ignored."?
What Is Ddm ?
what is the command to know key fields of file?
difference between sflrcdnbr and sflnxtchg?
Space & Skip Are Which Level Keywords?
What is a query can be displayed without saving it?
what is logical file?
I need to insert a record in a file using STRSQL containing the some field values same as an already existing record in that file.I know to smple insert mentioning those values one by one.But is there any another query can be prepared for the same .Please share the query if known to you. Thanks in advance.
define the purpose of the %sst function?
how can you detect overflow for a print program that prints multiple lines per cycle?
during input operation which indicator position is seton if there is a record lock?
maximum number of subfiles that can defined in a rpg program for one display file is?
define the purpose/use for sflrna?