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 composite key?
what is cab?
What are the different types of specification available in RPG/400 ?
what is overlay?
how to see the error messages for each command in cl?
How can we create subsystem in as400?
What is primary file? How many primary file can be declared in a RPG program?
How many secondary files allowed in a program?
What is the purpose of FRCDTA (Force Data) keyword?
How we can delete all the Logical File of a Physical file in one instance ?
I am fresher 2009 passedout.can you pls explain me what is AS400 and where it can be used and how about growth in the position as well as salary, whether it is a programming language or else?
What are the types of Signature validation?