HOLD files are creating variable length formats (AnV) for character columns


Diagnostics

Product: Reporting Server
Release: 8206
Primary OS: Windows
Solution Date:

Problem

Using SQL Passthru to read varchar and char columns from Db2 and creating HOLD files. In release 7.7.02, all character formats were created as fixed lengths in the HOLD files. In release 8206, some of the character formats are variable (AnV).

Solution

Release 7.7.02 uses the following statement: ENGINE DB2 SET VARCHAR OFF

Release 8206 uses the following statement:   ENGINE SQLDB2 SET VARCHAR OFF      

SQLDB2 is not a valid engine so it is not applied. Specifying the following statement resolved the issue:  ENGINE DB2 SET VARCHAR OFF