IBM Support

SPL system() call getting SQL code -668 without any ISAM error

Troubleshooting


Problem

The 'system()' statement called from a user defined routine (UDR) fails with only -668 error and no additional error code or information

Symptom

The 'system()' stored procedure language (SPL) statement in an IBM Informix UDR is failing with error -668, but no accompanying ISAM error code.

This typically occurs regardless of what OS command is sent for execution.

The error says:

668: The system command cannot be executed or it exited with a non-zero status.

[{"Product":{"code":"SSGU8G","label":"Informix Servers"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"--","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF025","label":"Platform Independent"},{"code":"PF008","label":"DYNIX\/ptx"},{"code":"PF010","label":"HP-UX"},{"code":"PF015","label":"IRIX"},{"code":"PF016","label":"Linux"},{"code":"PF022","label":"OS X"},{"code":"PF026","label":"Reliant UNIX"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"11.5;11.7;12.1","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
16 June 2018

UID

swg21515206