Error and Warning Messages
The code you submitted in the previous exercise is missing a semi-colon.
If your program contains any error such as a missing semi-colon, SAS will show two types of messages:
If you scroll down the Log tab, you should see the actual error and warning messages.
The error message shows the serious problem(s) with your code. SAS stops the execution whenever there is an error message. The results generated are unlikely to be correct.
The warning message shows less serious problems than an error message. SAS continues to run despite the presence of the warning message. However, it is always good programming practice to make sure the Log tab does not show any error or warning message at all.
Exercise
Now, go back to the code tab. Add back the semi-colon on line 2.
Re-submit the code.
Do you still see the error and warning messages?
Need some help? Watch the video clip below:
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |