IBM Support

db2exfmt command may fail with a SQL0035N error message.

Troubleshooting


Problem

Sometimes the db2exfmt command may fail to execute and return a SQL0035N error message. The below example clearly describes the problem : $ db2exfmt -d sample -g TIC -w -1 -n % -s % -# 0 -o exfmt.txt DB2 Universal Database Version 9.7, 5622-044 (c) Copyright IBM Corp. 1991, 2009 Licensed Material - Program Property of IBM IBM DATABASE 2 Explain Table Format Tool Connecting to the Database. Connect to Database Successful. Binding package - Error during Bind, near line 7978. Error Message = SQL0035N The file "db2exfmt.msg" cannot be opened. SQLCA Size = 136 SQLCODE = -35 Tokens = db2exfmt.msg Function= sqlabndx RC = 0x0000 = 0 Reason = 0x0000 = 0 Reason2 = 0x0000 = 0 Warning flags = Press ENTER to Continue ... Error during bind. Bind messages can be found in db2exfmt.msg

[{"Product":{"code":"SSEPGG","label":"Db2 for Linux, UNIX and Windows"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"Programming Interface - Bind","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"9.7;9.5;10.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

More support for:
Db2 for Linux, UNIX and Windows

Software version:
9.7, 9.5, 10.1

Operating system(s):
AIX, Linux, Windows

Document number:
481401

Modified date:
01 May 2025

UID

swg21614629

Manage My Notification Subscriptions