I want to run ls *.csv (sftp command) from CL Program...
Can u plz tell me when SFTP command will start running?
i.e.which command should I use in CL Program to run ls
command?
Answers were Sorted based on User's Feedback
Answer / syam
Hi Patel
You can use SFTP thru Qshell
PGM
QSH CMD('/QOpenSys/bin/sftp -b/home/test/myfile.txt
serverUserID@server')
ENDPGM
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / syam
SFTP is Interactive command you can't use in CL program
Use STRTCPFTP command
| Is This Answer Correct ? | 0 Yes | 2 No |
what are the uses of factor1, factor2 and result field for the rpg operation code parm?
what are the different types of arrays available in rpg ?
CAN WE INSERT FIELD IN PHYSICAL FILE BY USING OPNQRYF?
Explain this error: "all record formats for externally-described file abcd ignored or dropped due to error; file ignored."?
the maximum number of subfiles that can be active for a single file is ____ .
what is term cua , saa?
Why do you use Keep and Assume Keywords.
What is Data Area?
how to define global parameter in ile ?
why is the declare cursor statement is used for?
Which command we can use to update a physical file using c.l pgm?
When would the ALL keyword be used?