|
Re: How to run Unix Shell Script from Forms by clicking a Button [message #86679 is a reply to message #86651] |
Tue, 19 October 2004 00:50  |
Himanshu
Messages: 457 Registered: December 2001
|
Senior Member |
|
|
Hi,
Try
HOST( 'rsh systemname test.sh' );
Note:
1.The rsh command supports execution of a single command on a remote host.If you need to execute multiple commands, put them in a script and execute the script.
2.rsh does not support interactive commands.You must provide all necessary parameters to the command for it to execute successfully without operator intervention.
Or
host('secureCRT /ssh2 my_sunbox /L username /password password');
Or
You may make use of DBMS_PIPE package to achive this.
HTH
Regards
Himanshu
|
|
|