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?
Answer Posted / 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 |
Post New Answer View All Answers
what is the sequence when using cursor?
what opcode will be used to test the zone of a character field?
define the rcvf command?
in conjunction with what other keyword must ovrdta and ovrata be used?
what key word is used when screen is re-display?
what is full form for dds?
under given circumstances, my cgi should link to another site. How to implement this?
what are different record spacing keywords in rlu ?
How can we read file using curser? how to define a curser?
can a indexed file be accessed in arrival sequence in rpg program?
when would you prefer logical file than opnqryf?
What Is Default Data Type (if You Define Decimals '0') In Physical File?
can you have multiple key lists for a single file ?
how do you use commitment control in rpg program ?
distinguish between terminating a program through seton lr and return?