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 procedure prototype and procedure interface.
what is the difference between *like and *namvar ?
How can we sort an array?
distinguish between terminating a program through seton lr and return?
what is maximum number of arrays allowed in rpg?
write the SQL statement to retrieve the 2nd Highest salary ammount(File Name="EMPLOY",Field Name="SALARY")
6 Answers Bally Technologies, Cognizant, Vertex,
how do you use exceptional write in c specs?
what is *iso date format?
name few ibm supplied libraries?
What Is The Error If We Don't Get Login Screen?
i have recently moved to hyd. i would like to know which is the best institue to learn AS400. are there any in ameerpet? thanks.
What is Spool file, Why is it required?