A fix is available
APAR status
Closed as program error.
Error description
A non supported statement or a statement passed to DB2 using DB2 FORCE is rejected with either SQLCODE DSNT408I SQLCODE = -311, ERROR: THE LENGTH OF INPUT HOST VARIABLE NUMBER 001 IS NEGATIVE OR GREATER THAN THE MAXIMUM or DSNT408I SQLCODE = -010, ERROR: THE STRING CONSTANT BEGINNING 'AAAAAAAAà IS NOT TERMINATED This occurs when the prepared statement is longer than 32kb, as apparently the type of host variable used for the PREPARE is a VARCHAR. Since DB2 V9 prepared statements can be longer (up to 2mb) but require to use a CLOB string instead of the varchar. PB11864
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: Users of DB2 High Performance Unload. * **************************************************************** * PROBLEM DESCRIPTION: A non supported statement or a * * statement passed to DB2 using DB2 * * FORCE is rejected with either SQLCODE * * DSNT408I SQLCODE = -311, ERROR: THE * * LENGTH OF INPUT HOST VARIABLE NUMBER * * 001 * * IS NEGATIVE OR GREATER THAN THE * * MAXIMUM * * * * or * * * * DSNT408I SQLCODE = -010, ERROR: THE * * STRING CONSTANT BEGINNING 'AAAAAAAA * * IS NOT TERMINATED * * This occurs when the prepared * * statement is longer than 32Ko, as * * apparently the type of host variable * * used for the PREPARE is a VARCHAR. * * Since DB2 V9 prepared statements can * * be longer (up to 2mb) but require to * * use a CLOB string instead of the * * varchar. * * pb 11864 * **************************************************************** * RECOMMENDATION: APPLY the PTF. * **************************************************************** The inzcrxsm, inzcrxsq, infoutil and inzpab modules were fixed.
Problem conclusion
APPLY the PTF.
Temporary fix
Comments
APAR Information
APAR number
PM84164
Reported component name
DB2 HI PERF UNL
Reported component ID
5697F4400
Reported release
320
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2013-03-05
Closed date
2013-04-10
Last modified date
2013-05-06
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
UK93297 UK93298 UK93299
Modules/Macros
INZCRXSM INZCRXSQ INZUTILK
Fix information
Fixed component name
DB2 HI PERF UNL
Fixed component ID
5697F4400
Applicable component levels
R320 PSY UK93297
UP13/04/16 P F304
R410 PSY UK93298
UP13/04/16 P F304
R420 PSY UK93299
UP13/04/16 P F304
Fix is available
Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.
[{"Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSZJXP","label":"DB2 Tools for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"320"}]
Document Information
Modified date:
31 March 2021