SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 42115: Retrieving long character variables from DB2 in the z/OS operating environment can return incorrect results

DetailsHotfixAboutRate It

Reading a DB2 table with SAS/ACCESS® Interface to DB2 on z/OS can result in an incorrect value for a character variable. The character length that this occurs with can vary between runs.

For example, lets say that the cutoff is 230. Any value longer than 230 characters will have the original data until the 230th byte, any additional bytes will be '00'x (NULL) instead of the original character. This continues until a record shorter than 230 characters is read. Once the shorter record is read correctly, any record after which is longer than 230 bytes, rather than the data being truncated at the 230th byte and the trailing bytes replaced with a '00'x they are replaced with '40'x (blank).

There is no workaround for this problem.

Click the Hot Fix tab in this note to access the hot fix for this issue.



Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemSAS/ACCESS Interface to DB2z/OS9.2 TS2M39.3 TS1M0
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.