Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: external procedures
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.---
Received on Tue May 25 1999 - 15:43:22 CDT