VARCHAR type must have a length

Message value

Message type

2604

Error

Probable cause

You have attempted to declare a VARCHAR or BINARY host variable using the DECL_VARCHAR or DECL_BINARY macro but have not specified a size for the array.