...when i debug the program to see the the values in this character field i could find only 1024 length is allocated for this field.
If you don't ask for more than 1024, that's all that debug will ever show. It has nothing to do with how big the field is. The default maximum display size is 1024 bytes.
If you want more displayed, then ask for more on the EVAL statement.