Host command on UNIX box
sharpeJul 2 2007 — edited Jul 4 2007Hi. I'm running Forms 10g on UNIX (newbie). My first attempt at the Host command is this (in a when-button-click trigger):
cl := 'ls -ltr > /ttms/flatfile/steve_test.txt';
message (cl);
message (cl);
host(cl);
I know the code is running. My message displays the 'cl' variable exactly as I would execute it from the UNIX command line, but my text file is never created. There are no errors and the form runs as I would anticipate...just no file created.
If I issue the same command after having logged into the UNIX box then the file is created just fine.
Any suggestions as to what I might be doing wrong?