When a SAS® application recognizes a keyword, the keyword changes to a defined color in the Enhanced Editor window. However, correct syntax can appear in red instead of the expected black or blue. If the program executes without generating a syntax error in the log, then the problem is in the Enhanced Editor and the results are correct.
To circumvent this problem, you can add the unrecognized program element to the user-defined keywords in the Microsoft Windows system.
To create and format user-defined keywords, use the Enhanced Editor Options dialog box as follows: