Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: external procedures

Re: external procedures

From: <kilroy0418_at_my-dejanews.com>
Date: Wed, 26 May 1999 12:17:32 GMT
Message-ID: <7igooq$kre$1@nnrp1.deja.com>


Using the full path worked. Thanks alot.

In article <7if21l$491$1_at_msunews.cl.msu.edu>,   "Chris Weiss" <weisschr_at_pilot.msu.edu> wrote:
> If you are running this in a CRON sh or other shell, your environment
might
> not be accessible in your C program.
>
> Try using the system command with full paths.
>
> I am assuming this is UNIX. Type "which lpr" and use the fully
qualified
> command in your program. Use the fully qualified name of your output
file
> as well. If this doesn't work, try using the system command in a
different
> program to check if it is a library issue.
>
> Christopher Weiss
> Professional Services Divsion
> Compuware Corporation
>
> <kilroy0418_at_my-dejanews.com> wrote in message
> news:7iet8u$amq$1_at_nnrp1.deja.com...
> > I have an external procedure (written in C) that does some
processing
> > and then prints out a file that it created. The file is created
fine
> > but when use the system command to print it nothing happens. I run
the
> > same command from the command line and it works fine. Anyone have
any
> > idea why the system commmand wouldn't work?
> >
> > Thanks
> >
> >
> >
> > --== Sent via Deja.com http://www.deja.com/ ==--
> > ---Share what you know. Learn what you don't.---
>
>

--== Sent via Deja.com http://www.deja.com/ ==-- ---Share what you know. Learn what you don't.--- Received on Wed May 26 1999 - 07:17:32 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US