Re: HOST(' ');
From: Rakesh Sachar <rakesh_at_menudo.uh.edu>
Date: 1996/08/01
Message-ID: <4tqu2a$bh7_at_Masala.CC.UH.EDU>#1/1
Joseph C Huang (jchuang+_at_andrew.cmu.edu) wrote:
: Can some guru help me with this?
: I was reading this Newsgroup and saw the usage of HOST(' '); to execute
: commands from UNIX via SQL.
: Typing in, say, HOST('ls'); works and displays the contents of the directory.
: However, typing in, say, HOST('ls -l'); , or any command with paramters,
: does not work and displays the following:
: ls -l: Command not found
Date: 1996/08/01
Message-ID: <4tqu2a$bh7_at_Masala.CC.UH.EDU>#1/1
loose the quotes ..
host(ls -l) works fine ..
--Rakesh
Joseph C Huang (jchuang+_at_andrew.cmu.edu) wrote:
: Can some guru help me with this?
: I was reading this Newsgroup and saw the usage of HOST(' '); to execute
: commands from UNIX via SQL.
: Typing in, say, HOST('ls'); works and displays the contents of the directory.
: However, typing in, say, HOST('ls -l'); , or any command with paramters,
: does not work and displays the following:
: ls -l: Command not found
: How do I get HOST to work with parameters?
: I'm running this on a Sparc with Solaris 2.4. Thanks.
: Joseph Huang
: jchuang+_at_andrew.cmu.edu
: Computing Skills Workshop
: Carnegie Mellon University
-- _______________________________________________________________________________ Rakesh Sachar e-mail: sachar_at_cs.uh.edu Weatherford Enterra, Inc. Tel# : (713)439-9636 www : http://www.cs.uh.edu/~sachar _______________________________________________________________________________Received on Thu Aug 01 1996 - 00:00:00 CEST