DATA Step, Macro, Functions and more

an identifier after a quoted string may change?

Reply
N/A
Posts: 0

an identifier after a quoted string may change?

Hi All

Im running a piece of script that i run every month. It was totally fine last month no errors or warnings.
But this month i get this error, this is within a data step within a macro and the macro then fails to continue.

666 if index(page, "?" ) > 0 then page = substr( page, 1, index( page,
666! "?")-1);
------
49
NOTE 49-169: The meaning of an identifier after a quoted string may change in a future SAS release. Inserting white space between a quoted string and the succeeding identifier is recommended.

This "note" shouldnt effect the macro script but it does.

please help...

Thanks

Spud
Super Contributor
Super Contributor
Posts: 3,174

Re: an identifier after a quoted string may change?

Posted in reply to deleted_user
You are seeing a SAS NOTE - if your program is failing in execution there must be another ERROR: type message, possibly BEFORE or AFTER this line of code.

Scott Barry
SBBWorks, Inc.
Valued Guide
Posts: 2,177

Re: an identifier after a quoted string may change?

Posted in reply to deleted_user
spud,

probably, you also have unbalanced quotation marks

good luck

PeterC
Super User
Posts: 11,343

Re: an identifier after a quoted string may change?

Posted in reply to deleted_user
If you haven't solved the problem I'd try:

if index(page, "?" ) > 0 then page = substr( page, 1, (index( page, "?")-1));

The extra parantheses should force an evaluation of the number.
SAS Employee
Posts: 9

Re: an identifier after a quoted string may change?

Posted in reply to deleted_user
The following SAS Usage note discusses the note you are getting:

http://support.sas.com/kb/3/353.html
Ask a Question
Discussion stats
  • 4 replies
  • 9765 views
  • 0 likes
  • 5 in conversation