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 an Array Data Structure?

1 Answers  


Describe the function of SETGT operation in RPG language?

1 Answers  


Is it possible to add an keyfield or field to an Physical file without changing its file identifier. Example : - Say I have an existing physical file which is being used in 5 programs. Now I want to add an additional Keyfield or an field to it and I don't want to recompile the programs.

2 Answers  


Q.Suppose one job is running in a batch mode for a long time now i want to kill this batch job. how you achive this?

3 Answers   IBM,


Can you use multi format LF in CL program?

2 Answers  


What is the purpose of the following C/COPY QRPGSRC, ORDERR

1 Answers  


How to reverse the string in rpg

0 Answers  


what is a composite key?

1 Answers   IBM,


how can a procedure will be added in to a srvpgm

4 Answers   TCS,


What is the use of Header Specification in RPG/400?

1 Answers  


what is maximum number of arrays allowed in rpg?

1 Answers   IBM,


What is the purpose of the following? FORDHDR1 IF E K DISK ORDHDRF KRENAMEORDHDRF1

1 Answers  


Categories