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 / 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 |
what is a spool file?
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?
How can u create a temporary file in CLP @ how to access that temporary file in RPG program?
What do you mean by ODP?
What are the mandatory keywords of sub file?
why is as/400 called object oriented machine?
what is *inzsr used for?
What is the as400 called now?
what does exfmt does?
what is the version of os/400 that we have?
What is the purpose of RTVMBRD command?
can you display a empty subfile?