Hi,
I assume you use the SQL combined with COBOL.
Checking before is perhaps the easiest way.
Define the field very large. There is always a practical limit.
The ON SIZE ERROR option can be helpful if it is your own source and not that of the precompiler.
ADD ... ON SIZE ERROR
Regards,
Crox