A_MSSQL_MAX_CHAR_LENGTH configuration variable

This configuration variable specifies the maximum size of a COBOL variable that can be used as a VARCHAR data type in SQL Server. Data items larger than this value become IMAGE types in the server. The default value is 8001.