If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > Log values from stored procedures to a log file

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-22-04, 09:33
mehdihassan mehdihassan is offline
Registered User
 
Join Date: Apr 2004
Posts: 1
Log values from stored procedures to a log file

Hi,

I try to log the some particular vlaues in a log file from a stored procedure by using the SYSTEM command. Stored procedures is compiled but at the time of execution its give "NOT OWNER " exception.

code sinppet


select alpha,beta,delta into a1,b1,c1 from sstable;
SYSTEM '/tmp/test.sh' || a1 || b1 || c1;


and in teh script I am catching the value as input variables

code sinppet

aa=$1
bb=$2
cc=$3
echo $1 $2 $3 >> logfile name

Actually I want to values (actual value ) should be append in a file .
Reply With Quote
  #2 (permalink)  
Old 04-29-04, 08:04
gurey gurey is offline
Registered User
 
Join Date: Aug 2003
Location: Argentina
Posts: 780
Hi,

I think that the output file does not have permission or has another owner.

Gustavo.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On