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 |
how can you check for a records existence without causing and i/o (chain/read)?
what is full form for dds?
what is the purpose of DMPCLPGM IN CL?
What is the function of SEU ?
what is the difference between packed decimal and zoned decimal?
Distinguish between logical file and physical file?
How we can delete all the Logical File of a Physical file in one instance ?
268 How many parameters can be defined in a RPG program. ?
How can we update a specific field in RPG?
what is the version of os/400 that we have?
when should I use method get, and when should I use method post in my cgis?
What is acronym of RPG?