Home » Developer & Programmer » Forms » HOST COMMAND PROBLEM
HOST COMMAND PROBLEM [message #180418] Mon, 03 July 2006 07:55 Go to next message
ashosheh
Messages: 25
Registered: June 2006
Location: JOR
Junior Member
hello guys.
i have a form that executes a command on the linux application server (THIN CLIENT), the command calls for an executable .
i used the following in my form:
------------------------------------------------------------
HOST('/bin/sh -c "cd /u/oracle/bank/gmx/;./C08SSB30 1 &"');
------------------------------------------------------------
where :
C08SSB30 is an executable program and (1) is an argument , (&) denotes that the program will run in the background.

but it's not working i tried to use the CLIENT_HOST in WEBUTIL library it didn't work too.

>>note : this command runs successfully on the application server.

thanx for any help.
Re: HOST COMMAND PROBLEM [message #180691 is a reply to message #180418] Tue, 04 July 2006 19:54 Go to previous message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
The client_host command would have been trying to run the command on the PC, not on the AS.

I expect that you have some environment variable that is not set correctly. Try putting your command in a script which sets the various environment variables and then executes your program.

David
Previous Topic: Export/Import with Formats in Word,Excel,pdf - Forms/Reports 9i, 10g
Next Topic: Count Characters
Goto Forum:
  


Current Time: Fri Sep 20 09:37:40 CDT 2024