Maybe SAS has built advanced AI into their color coding algorithms and it has figured out you have mistakenly used two digit years in your date literals?
Seriously why does it matter that much? Perhaps you are just running an old version of whatever editor you are using and in that version they decided the keyword WHERE should always be displayed in red. Perhaps you even did it yourself and just forgot you changed that editor setting?
Remember that the color coding is just the editor's attempt to mimic how SAS will interpret your code, but it is NOT actually how SAS will interpret your code. If you have concerns about syntax then refer to the documentation. The real test is what the SAS log says when you run the code through SAS itself.
@Tom it doesn't impact my code as it runs with no issues whatsoever. But we have lots of new analysts learning to code for the first time, and it will throw a new programmer who won't run something if it has red in it and will assume they've done something wrong.
It's also not just on my PC either but across the organisation.
Sounds like it's something to do with our install though if other people do not have this issue.
The SAS and the EG color parsers gets many things wrong. It'd be nice to have a reliable defects repository for the missed keywords to see what's outstanding and what's fixed in the successive versions.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.