Ditto. In my case it was a macro that served as a dynamic allocation front-end on the mainframe. The coder's intent was to support MVS datasetnames to be passed with either single or double quotes. Jumping through SUBSTR hoops he had been able to come up with a double quoted macro variable value. Fine for SAS 8.2 where he had developed it, but fraught with WARNINGs/NOTEs with SAS 9.1.3 which turned out to be a little pickier about the doubled double quotes that sometimes ended the variable's value.
Replacing all the SUBSTR logic with DEQUOTEs made the code cleaner and easier to read, the WARNINGs/NOTEs go away and so ultimately the SAS log much cleaner.