In this blog post, let’s learn about the error message “13080 Externally qualified module name module-name cannot be longer than 160 characters.” when working with HPE NonStop SQL/MX, the reason for the error and the solution to fix this error message.
Error Message
13080 Externally qualified module name module-name cannot be longer than 160 characters.
Reason for the Error
You invoked the COBOL preprocessor MXSLCO and the process of externally qualifying the input source file’s MODULE directive resulted in a module file name that exceeds COBOL’s maximum length for a non-numeric literal.
Solution
Shorten one or more of the following and reissue the COBOL preprocessing command:
The module name in the input source file’s MODULE directive.
-g moduleCatalog=module catalog name>.
-g moduleSchema=module schema name>.
-g moduleGroup=module group specification string>.
-g moduleTableSet=module tableset specification string>.
-g moduleVersion= module version specification string>