Re: how we can execute unix command from developer 2000 running under DOS/windows 95

From: <rtgraf_at_sintec.de>
Date: Mon, 07 Dec 1998 11:13:08 GMT
Message-ID: <74gd83$8v4$1_at_nnrp1.dejanews.com>


In article <74c5rr$tnt$1_at_nnrp1.dejanews.com>,   mpir_at_compuserve.com wrote:
> It depends on the release of the unix server. In 8.x, you can add a shared
> library of calls such as system(command) in C name external-procedures that
> can be utilized by remote procedures. It gets a little tricky setting it up,
> and your mileage may vary depending on your unix.
>
> In article <01be1eac$2951fdc0$dec067a1_at_ecmadw514.mad.ec.bp.com>,
> "Jesús Guijarro" <guijarj_at_bp.com> wrote:
> > Our application is in a Client under W95/msdos and the database is in Unix
> > machine.
> >
> > We like to execute a unix command from Developer 2000 windows 95.
> >
> > i.e. : from procedure Developer 2000 to run a shell script in UNIX.
> >
> > Thanks in advance.
> > Jesús
> >
>
> -----------== Posted via Deja News, The Discussion Network ==----------
> http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
>
If i read you right you would like to issue a remote command from your client app written in, say, Oracle Forms.
Technically, Forms does allow to issue host commands in several ways. The most simple way would be just this: say host('your cmd') inside your plsql. This issues 'your cmd' synchronically on your client machine. Advanced techniques like DDE or WIN_API allow more sophisticated calls to run applications in the background.
The problem is that your OS, Win95/NT, does *not* include unix's RSH command to fire up your shell script remotely. (NT's RSH is limited to native NT machines on the other side).
Try MKS Toolkit, they ported the RSH service to NT/Win95. This might be your solution.

Hope this helped, rgw.

--
Robert Graf-Waczenski e-mail: rtgraf_at_sintec.de
Visit our web site!   http://www.sintec.de

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    
Received on Mon Dec 07 1998 - 12:13:08 CET

Original text of this message