host command [message #463578] |
Fri, 02 July 2010 01:12 |
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;
|
|
|
|