Dear colleagues:
I am building a flat file or text file with 34 columns, each with a predefined format, and I find that the blank spaces in the last column do not appear.
I have defined the 34 columns as CHAR with the length that corresponds to each one, and as I told you, the blank spaces in column 34 do not appear. It should be clarified that I use the LPAD and RPAD functions as appropriate to a numeric or alphanumeric data .
For a test, instead of declaring this last column with CHAR, I declared it as VARCHAR but it doesn't work anyway. What surprises me is that if I add any other character (I used the hyphen '-' ), it shows it. And this happens only if I declare the column as VARCHAR.
I hope some of you can help me.
Thank you very much in advance for your attention.
------------------------------
Gustavo Echenique
------------------------------
#Informix