running C-program on OAS 4.08 /webforms [message #367522] |
Tue, 14 November 2000 01:02 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
timo talja
Messages: 5 Registered: August 2000
|
Junior Member |
|
|
Hi folks,
has anybody tried out to start a c-program to be run on OAS so that starting is done from forms ?
I should start a prog which reads DB and writes results to a file located in specific directory in OAS, well , but prog only starts, pops up in server task list but does not write or anything.... (executed with win_api.winexec('xxxx', sw_showminnoactive,false))
So any gurus out there ????? ;)
BR timo
|
|
|
Re: running C-program on OAS 4.08 /webforms [message #367523 is a reply to message #367522] |
Tue, 14 November 2000 03:10 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) |
Dean Logan Wood
Messages: 19 Registered: September 2000
|
Junior Member |
|
|
The easiest way to write to a file using Oracle Forms is to use the builit-in TEXT_IO package. Alternatively, if you're happy to write the file to your database server, you can use the server-side UTL_FILE package.
You should note that the win_api functions supplied in the d2kwutil library do not work with Web Forms. This is because Web Forms is Java-focused, and avoids the use of any operating-system dependent functionality (at least, that's what Oracle will tell you!).
|
|
|