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
define the purpose of the leave operation?
how to toggle between single line and multi - line display of a particular record in a subfile?
what is scan and xlate?
what is the function of crtdupobj command?
What Is The Error If We Don't Get Login Screen?
what are various techniques to pass parameters from one program to another?
In AS/400 projects in Companies whats the meaning of production support team.what production support involves.also what work does development,maintenance involve what are the other teams or processes that are available for as400 project.
which type of object is used in db2/400?
the output from my cgi is correctly interpreted by ms internet explorer, whereas netscape navigator would display it as a plain text. What should I do to have also netscape interpreting the html output from my cgi?
what are members?
what is *inzsr used for?
Which command is used to replace CDUP command in FTP IF i WANT TO USE SFTP?
how to pick up the changed records every time in a subfile after the first change made ?
Hi,Please give me the the answer for these quesitons? 1.what is IFS and ICF and RAPE amd DISKET fils? explain with example please? 2.What is the difference between POST AND SPACE OPCODES? 3.Can anybody tell me default printerfile command and object type?
Can we debug the MSGW JOBS?