In this blog post, let’s learn about the error message “2097 Source file name is over 1024 characters long.” when working with HPE NonStop SQL/MX, the reason for the error and the solution to fix this error message.
Error Message
2097 Source file name is over 1024 characters long.
Reason for the Error
MXCMP was invoked on a module definition file that contains a SOURCE_FILE statement whose source path name has over 1024 characters.
Solution
Edit the module definition file so that its SOURCE_FILE statement’s source path name is no more than 1024 characters long. Rerun MXCMP on the module definition file