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

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

Can u plz tell me what the above code do exactly?

Answer Posted / syam

-b = Batch file
/home/test/myfile.txt = path of input file

serverUserID@server' = ip address

then

PUT or Get command

Bye command = Quit


SFTP is a Linux Unix command

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what does the ovrdbf command do?

1090


what is the difference between seton lr and retrn?

2018


what are the different types of variables available in cl?

1785


what keyword must be used with protect keyword ?

1742


what is sflinz and sflrna?

1498


what is externally described file ?

1635


1. There is a file called Month. Month has 12 members called Jan, Feb, ..., Dec. How to design a rpg code which can access any member and show its content. (User can ask for any member when required)?

1026


how do you pass parameters in cl?

1788


what is subfile?

1568


what is a spool file?

1118


what are the various types of device files?

1652


What is data structure in as400? What is the use of data structure?

1068


explain the purpose of keep and assume keywords?

1782


which type of object is used in db2/400?

1036


how do you know that records are locked?

1931