Home » Developer & Programmer » Forms » host command
host command [message #463578] Fri, 02 July 2010 01:12 Go to next message
jocylau
Messages: 11
Registered: July 2010
Junior Member
i cannot run the following code.

can anyone help me out, please

if c_success
then
message('File uploaded successfully to the Application Server');
command_string := 'cp /tmp/leo/upload/'||c_bare_filename || ' /smsehk/mmds/core/src/fmb/us';
synchronize;
host(command_string, NO_SCREEN);
synchronize;
command_string := '/smsehk/mmds/core/src/fmb/us/compile_f.sh ' || c_bare_filename;
synchronize;
host(command_string, NO_SCREEN);
synchronize;
command_string := 'cp ' || '/smsehk/mmds/core/src/fmb/us/' || substr(c_bare_filename, 1, (length(c_bare_filename) - 1)) || 'x' || ' /smsehk/mmds/core/orabin/fmx/us';
synchronize;
host(command_string, NO_SCREEN);
synchronize;
else
message('File upload to Application Server failed');
end if;
Re: host command [message #463604 is a reply to message #463578] Fri, 02 July 2010 02:44 Go to previous message
Littlefoot
Messages: 21818
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Quote:
i cannot run the following code.

What does that mean?
Previous Topic: export the source code of an object
Next Topic: FRM:10142: The HTTP listener is not running on ....
Goto Forum:
  


Current Time: Fri Sep 20 09:52:39 CDT 2024