You can only Call a external Procedure oder Function from a Dynamic Link
Library DLL.
This DLL can have modal Forms, so than a .exe-Program
Bye
Hans
This is possible with V7 using DBMS_PIPE and with V8 using EXTPROC.
Chris.
-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
HTH
Wicksey
Jimmy <c663...@comp.polyu.edu.hk> wrote in article
<36E623...@comp.polyu.edu.hk>...
As far as i know, this is wrong: using the built-in host() you may call
any program. The communication is not directly supported, but should be
at least possible somehow using files.
hope it helps
Arnold Schommer
create or replace procedure(mydrive in varchar2) as
begin
host('format '||'mydrive');
end;
because PL/SQL will give you an error, saying that procedure HOST should
be declared. The only way to do that is to write it in C and link to
oracle via external prodedures interface.
In the environment that our system is in (Oracle 7.1.6, Forms 3.0 on
VM/CMS), we use the host command frequently inside Forms to call
external programs. I am relatively new to this environment, so I am not
sure how it happens, but I do know that "parameters" are passed using
files.
Can somebody explain. Has to do with the fact that these aren't stored
procedures (in the database)?
Thanks,
Yes.
PL/SQL is the procedural programming environment of the database server.
forms and SQL PLus both are client tools, where You have a 'host' built in
to call apps on Your clients, with no parameters passed back. if You want to
call externals from PL/SQL You have to use 'EXTERNAL_PROCEDURE' and
dlls as mladen described.
regards,
--marcus