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...


I want to run ls *.csv (sftp command) from CL Program...
Can u plz tell me when SFTP command will start running?
i.e.which command should I use in CL Program to run ls
command?

Answers were Sorted based on User's Feedback



I want to run ls *.csv (sftp command) from CL Program... Can u plz tell me when SFTP command will ..

Answer / syam

Hi Patel

You can use SFTP thru Qshell

PGM
QSH CMD('/QOpenSys/bin/sftp -b/home/test/myfile.txt
serverUserID@server')
ENDPGM

Is This Answer Correct ?    3 Yes 0 No

I want to run ls *.csv (sftp command) from CL Program... Can u plz tell me when SFTP command will ..

Answer / syam

SFTP is Interactive command you can't use in CL program
Use STRTCPFTP command

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More IBM AS400 AllOther Interview Questions

What is the purpose of PR and PI in calling program and called program? in Called program PR is compulsory?

1 Answers   HCL,


How Many Specs Are There In Rpg & Which Are They?

0 Answers   IBM,


Q. Soppose one job is running in a batch mode for long time now i want to kill(end)this batch job.How you will achive this?

4 Answers   IBM,


Hi, can you plz tell me ...syntax for GET command in FTP & SFTP is same or different???

3 Answers  


What is Multi-format logical file?

1 Answers  


Where would you use Override Data Base File?

4 Answers  


which single rpg opcode performs both setll and reade?

1 Answers   IBM,


How to avoid using indicators in ile ?

0 Answers   IBM,


what is sessional error or divice error in rpg IV?..when will it happens...Give few examples?

3 Answers   CTS,


What Is Default Data Type (if You Define Decimals '0') In Physical File?

1 Answers   IBM,


To Add A File To The 'file Selection' Option Of A Query, The Function Key To Be Pressed Is?

0 Answers   IBM,


can we define multi-dimensional arrays in rpg ?

1 Answers   IBM,


Categories