IBM Support

Query with COUNT(*) fails with errors -252/-113

Troubleshooting


Problem

When running a select query that contains COUNT(*) the following errors are returned: > echo "select count(*) from customer;" | dbaccess stores_demo Database selected. 252: Cannot get system information for table. 113: ISAM error: the file is locked. Error in line 1 Near character position 61 Database closed.

Symptom

Errors -252/-113 are returned:


252: Cannot get system information for table.

113: ISAM error: the file is locked.

[{"Product":{"code":"SSGU8G","label":"Informix Servers"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Not Applicable","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF022","label":"OS X"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"11.1;11.5;11.7","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:
03 June 2021

UID

swg21508233