Home » Developer & Programmer » Forms » Using unix commands in forms9i
Using unix commands in forms9i [message #162256] Thu, 09 March 2006 07:18 Go to next message
akasapur
Messages: 2
Registered: March 2006
Junior Member
Hi,

I tried using the host command for executing the unix command in forms 9iAS

example : host('chmod 777 /abc/test/xx.txt');

but it does not work.

Kindly help me.

Thanks in advance.

A.Ramesh

[Updated on: Thu, 09 March 2006 07:39]

Report message to a moderator

Re: Using unix commands in forms9i [message #162359 is a reply to message #162256] Thu, 09 March 2006 19:57 Go to previous message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
I assume that your 9iAS box is a Unix box. Please try signing on to your AS box as Oracle (the owner of the Application Server application) and verify that Oracle is able to execute the 'chmod' command on that file successfully. If Oracle can't do the 'chmod' then your application won't be able to do it either.

To successfully perform utl_file commands against a file, that file's directory has to be defined by the 'utl_file_dir' in the init.ora file. I wonder if the file you want to 'chmod' also has to have its directory in that list?

David
Previous Topic: 10g Forms Deployment in AS Issue
Next Topic: Image Handling
Goto Forum:
  


Current Time: Fri Sep 20 07:38:33 CDT 2024