How can I automate sftp commands(ls & get) in CL program..
If I want to write two scripts one for each command...
can u plz tell where the script should be written?
& what will be the content of each scripts?
Answer Posted / syam
Yes you need to write CL program with SFTP script.
LIKE:
CRTPF QTEMP/TESTFILE RCDLEN(50)
OVRDBF FILE(STDOUT) TOFILE(QTEMP/TESTFILE)
QSH CMD(This is a Test Data')
DLTOVR FILE(STDOUT)
DSPPFM QTEMP/TESTFILE
ENDPGM
Is This Answer Correct ? | 0 Yes | 4 No |
Post New Answer View All Answers
how many specifications are there in rpg/400? What are they?
define a output queue?
To Add A File To The 'file Selection' Option Of A Query, The Function Key To Be Pressed Is?
describe the difference between the dowxx and douxx operations?
What is binder language ?
WHAT IS FERERENTIAL INTRIGRITY ?
how to validate input values in display file ?
What is the difference between crtdupobj and copyf?
what is the purpose of the indara keyword?
define what a data queue is along with a brief example of what it may be used for?
what does opcode post do ?
in conjunction with which statements can orxx and andxx conditions be used ?
what is the necessary keyword for non-join logical file?
what are indicators?
what is *inzsr used for?