Padchar application not working properly
Posted: Mon May 28, 2007 9:47 am
I am applying an environment variable for padding the blank characters in a Char field. The variable is set to value "0x20", which corresponds to " " in ASCII.
However, when the data is written to the database, the blank characters are padded not with the " " character, but with the block character (which I cannot represent here, but I think you would understand).
I am using a DB2 v.8.1 database.
Could anyone suggest as to what could possibly the problem, and how I could solve it?
However, when the data is written to the database, the blank characters are padded not with the " " character, but with the block character (which I cannot represent here, but I think you would understand).
I am using a DB2 v.8.1 database.
Could anyone suggest as to what could possibly the problem, and how I could solve it?