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 > error -668 system command cannot be executed

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-04-04, 10:38
thelake thelake is offline
Registered User
 
Join Date: Aug 2004
Posts: 2
error -668 system command cannot be executed

1:Not owner

Hi all,
I'm getting the above error while executing a procedure
on an informix IDS 7.31 (NT4 WkStation).
I'm new of procedures so it is probably a problem of
ignorance about their usage.
My procedure is as follows:

CREATE PROCEDURE "Administ".my_procedure()
SYSTEM 'c:\mycmd.cmd';
END PROCEDURE;

After that I granted execute privileges to public (in
the same dbaccess session)
I think it's a problem related to the user who owns
& execute the procedure.
I try to be more clear : as you can see the owner is the
db user 'Administ'; I was connected as Administrator
when I launched dbaccess to create the procedure.
I get the error when I executed the procedure from
the same dbaccess session used to create it.
I thought it was because db user Administ and local NT user
Administrator are not the same, so I create new local NT
user Administ making a copy of the user Administrator giving
the same privileges, including it in the same groups but it
didn't work.

Thank you in advance for any suggestion.

Renato
Reply With Quote
  #2 (permalink)  
Old 08-04-04, 11:07
Big Kahuna Big Kahuna is offline
Registered User
 
Join Date: Jan 2003
Posts: 30
Lightbulb Environment variables

Hi

Please

set INFORMIXDIR and INFORMIXSERVER as a system environment variable
and put INFORMIXDIR/bin in the PATH -system environment variable
and try again.


Koen
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