Oracle Forms (MOSC)

MOSC Banner

calling webutil_host.host

edited Jan 6, 2014 10:59PM in Oracle Forms (MOSC) 7 commentsAnswered
Hi,

i have buitl a test form which will accept one field value the name of the directory, and i want to create the directory on the application server as follows

declare
 v_path varchar2(4000);
 RETVAL NUMBER;
begin
 v_path:='MKDIR Z:\2014\consultation\'||:block3.text_item4;
 RETVAL:=webutil_HOST.host(v_path );
 MESSAGE(RETVAL);
END;

i even tried this command

v_path:='cmd /C MKDIR Z:\2014\consultation\'||:block3.text_item4;

but it did not work

the command is working when i am executing manually, but not throug the applicaiton getting the error

oracle.forms.webutil.host.host bean not found webutil_host execution not work

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center