PROC EXPORT returns an error when a user-defined format name exceeds 30 characters


The EXPORT procedure returns error messages like the following when you use a user-defined format name that exceeds 30 characters in length:

ERROR 22-322: Expecting a format name.

ERROR 76-322: Syntax error, statement will be ignored.

A user-defined format name can be 31 characters for character format names and 32 characters for numeric format names.

To circumvent the problem, limit the user-defined format name to 30 characters for character formats. This includes the name of the format, the dollar sign ($) to denote a character format name, the number to represent the format width, and the decimal point at the end of the format.