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 the draw back of Procedures? why we are going to Modules?
What do you mean by ODP?
what is the correct about QTEMP library(below mention)? a.it is Unique to a job b.it can be shared between different job c.it can only be deleted by QSECOFR d.Non Please give me the answer for this?
What Is The Difference Between Goto & Exsr?
what is the use of UNIQUEUE KEY WORD? what is the difference between PFILE AND REF?
Q1. How to use signature in service program and ILE.? Q2.what is use of signature and binder language and what is the relation between them?
What are the functions of Remote Job Entry (RJE) ?
any one have give AS400 study material? pls pass it to gopalsai789@gmail.com
all i need to know about cmpseqdat parameter in cmppfm, how it works and can we retrieve line sequence and date from the output?
what is match field indicator?
What are the different ways to input data into data area?
Using %check we are checking monika in mona what is output? What is %SCAN?