SAP Knowledge Base Article - Preview

2218618 - Invalid file name in LOAD TABLE using variable for file name - SAP IQ


LOAD TABLE from a filename that is stored in a variable will fail with the following error:

An invalid file name ('') was specified for a LOAD TABLE. The file name has zero length. 
-- (optlib\opt_DML.cxx 5944)
SQLCODE=-1013045, ODBC 3 State="HY000"
Line 1, column 1



  • SAP IQ 16
  • SAP IQ 15.x


SAP IQ 16.0 ; SAP Sybase IQ 15.2 ; SAP Sybase IQ 15.4


KBA , BC-SYB-IQ , Sybase IQ , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.