Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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?



How can I automate sftp commands(ls & get) in CL program.. If I want to write two scripts one f..

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

Post New Answer

More IBM AS400 AllOther Interview Questions

What is the draw back of Procedures? why we are going to Modules?

0 Answers  


What do you mean by ODP?

1 Answers  


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?

8 Answers   Wipro,


What Is The Difference Between Goto & Exsr?

0 Answers   IBM,


what is the use of UNIQUEUE KEY WORD? what is the difference between PFILE AND REF?

2 Answers  


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?

2 Answers   CTS,


What are the functions of Remote Job Entry (RJE) ?

1 Answers  


any one have give AS400 study material? pls pass it to gopalsai789@gmail.com

0 Answers   IBM,


all i need to know about cmpseqdat parameter in cmppfm, how it works and can we retrieve line sequence and date from the output?

0 Answers  


what is match field indicator?

1 Answers   IBM,


What are the different ways to input data into data area?

1 Answers  


Using %check we are checking monika in mona what is output? What is %SCAN?

0 Answers  


Categories