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 > -668 System command cannot be executed.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-11-06, 05:02
lloydnwo lloydnwo is offline
Registered User
 
Join Date: Aug 2003
Location: India
Posts: 262
-668 System command cannot be executed.

Dear All,

My users are getting the error -668 System command cannot be executed.
when they try to insert data into a table through Tibco Adaptors.
I have a trigger which in turn fires a procedure whenever a data is inserted into a table. Below is the contents of my stored procedure -

CREATE PROCEDURE "rrunner".exceptionproc1(
v_serviceRequestNr LIKE csodetail_excp_tbl.serviceRequestNr,
v_activityNr LIKE csodetail_excp_tbl.activityNr
)
DEFINE v_value CHAR(255);
DEFINE str CHAR(255);
set debug file to "/home/rrunner/exception.txt";
trace on;
LET str = "/home/rrunner/PI/bin/mail_exceptions.ksh";
IF (LENGTH(v_serviceRequestNr) > 0) THEN
LET str = trim(str) || " " || trim(v_serviceRequestNr);
END IF;
IF (LENGTH(v_activityNr) > 0) THEN
LET str = trim(str) || " " || trim(v_activityNr);
END IF;
SYSTEM str;

trace off;
END PROCEDURE;

It fails at the system command, which trieds to generate a mail. However when i try to insert data using winsql / dbaccess i can insert it successfully. It only fails using Tibco Adaptors. I have checked all the permissions. Am i missing something else. please advise.

Thanks in advance.

Regards,

Lloyd
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