If we write a misspelled keyword in coding will get
a.warning message
b.error message
c .both
It you have one typo then generally you will get either an error or a warning.
You can have two typos and get both.
974 porc mean; run;
----
14
ERROR:Procedure MEAN not found.
WARNING14-169: Assuming the symbol PROC was misspelled as porc.
Of course you could misspell something and generate another valid statement. In that case you have an error, but you might not get either an error message or a warning message.
Is this a question or a statement?
Dear Tom,
This is question .
Thanks,
Regards,
Ashwini
It's a trick question! You might get and error or you might get a warning. I can't recall ever seeing a case where one such error returned both an error and a warning.
It you have one typo then generally you will get either an error or a warning.
You can have two typos and get both.
974 porc mean; run;
----
14
ERROR:Procedure MEAN not found.
WARNING14-169: Assuming the symbol PROC was misspelled as porc.
Of course you could misspell something and generate another valid statement. In that case you have an error, but you might not get either an error message or a warning message.
Dear Tom and Art,
Thanks a lot for your .Kind information
Regards,
Ashwini
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.