execute function task or admin (defragment table name) returns -674 error

Technote (troubleshooting)


Problem(Abstract)

execute function task or admin (defragment table name) returns -674 error

-674 Routine <routine-name> cannot be resolved.

Symptom

One of the following error(s) will be returned running the SQL statement

EXECUTE FUNCTION admin(“defragment”,“table name");
674: Routine (admin) can not be resolved.

OR

EXECUTE FUNCTION task(“defragment”,“table name");
674: Routine (task) can not be resolved.

Cause

The SQL statement is being run from the wrong database

Resolving the problem

Run these API statements from the sysadmin database

Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

Informix Servers

Software version:

11.5, 11.7, 11.70, 12.1

Operating system(s):

AIX, DYNIX/ptx, Digital Unix (OSF1, Digital Unix (OSF1)(TRU64), HP-UX, IRIX, Linux, Mac OS X, Reliant UNIX, Sinix, Solaris, Windows

Reference #:

1631891

Modified date:

2013-04-17

Translate my page

Machine Translation

Content navigation