From: =?ISO-8859-1?Q?=C1lvaro?= Palma Aste <queria_direccion@el.perla.invalid>
Newsgroups: comp.databases.oracle.tools
Subject: Re: operatins sys command
Date: Thu, 10 Oct 2002 01:16:30 +0000 (UTC)
Organization: Centro de Computacion - U. de Chile
Lines: 29
Sender: Alvaro Palma Aste <apalma@cipres.cec.uchile.cl>
Message-ID: <ao2kde$i9d$1@localhost.localdomain>
References: <44662fe6.0210090815.743d9f04@posting.google.com> <YqZo9.1704$mZ5.130744617@newssvr21.news.prodigy.com>
NNTP-Posting-Host: cipres.cec.uchile.cl
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: localhost.localdomain 1034212590 18733 200.9.100.5 (10 Oct 2002 01:16:30 GMT)
X-Complaints-To: news@localhost.localdomain
NNTP-Posting-Date: Thu, 10 Oct 2002 01:16:30 +0000 (UTC)
User-Agent: tin/1.4.5-20010409 ("One More Nightmare") (UNIX) (SunOS/5.8 (sun4u))
Path: news.easynews.com!newsfeed1.easynews.com!easynews.com!easynews!newsfeed.news2me.com!arclight.uoregon.edu!enews.sgi.com!news1.nivel5.cl!news!news.chilesat.net!news.cec.uchile.cl!not-for-mail
Xref: newsfeed1.easynews.com comp.databases.oracle.tools:54082
X-Received-Date: Thu, 10 Oct 2002 06:36:42 MST (news.easynews.com)

Karsten Farell escribió:
>Ammar wrote:
>> hii 
>> im new to pro c .. i want to know dat how can we call an operating
>> system command from proc program .... actually i wan to run sqlldr
>> from the pro c program without goin to the command prompt .  ill be
>> very gr8 ful to you
>> thanks

And why don´t you just make the upload using fprintf and SQL
commands from Pro*C, instead of accesing host commands suchs as
SQL*Loader? I´m not pretty sure, but I think that using C
functions is faster than running host commands

>Pro*c is just a preprocessor to a normal c program. It takes embedded 
>SQL commands and converts them to the appropriate function calls. 
>Everywhere else it's just regular c. You call the operating system just 
>like you do in normal c -- for example, with the system() function.

-- 
Atte.
Álvaro Palma Aste
******************************************************
It's the only form of protest they're allowed 
I've seen their silent faces scream so loud 
If they were to speak these words they'd go missing too 
Another woman on a torture table what else can they do

Sting - They Dance Alone...
