HPE NonStop SQL/MX Error – 20152 The VARCHAR varying-length can support non-binary FIXED-WIDTH format file only.

In this blog post, let’s learn about the error message “20152 The VARCHAR varying-length can support non-binary FIXED-WIDTH format file only.” when working with HPE NonStop SQL/MX, the reason for the error and the solution to fix this error message.

Error Message

20152 The VARCHAR varying-length can support non-binary FIXED-WIDTH format file only.

Reason for the Error

You specified VARCHAR for a format file that is binary FIXED-WIDTH.

Solution

Verify your format file and resubmit