Can I see errors while running SAS ?

Reply
N/A
Posts: 0

Can I see errors while running SAS ?

Can SAS show errors while running (not see in xxx.log) ?
N/A
Posts: 0

Re: Can I see errors while running SAS ?

Please be more specific.

See errors where? See errors of what type?

Kind regards

David
N/A
Posts: 0

Re: Can I see errors while running SAS ?

Hello David,
I mean that when i run sas script i use command
sas sascript.sas -log xxx.log -print xxx.lst
during running it doesn't show the errors if any, i have to see it in xxx.log file, the question is
is it possible to show the any errors if any during running sas script ?
is there option to show errors while running ?
many thanks
N/A
Posts: 0

Re: Can I see errors while running SAS ?

Hello David,
I have one more question, Does SAS may be light version for download to use on my pc for study, I want to learn about it.
N/A
Posts: 0

Re: Can I see errors while running SAS ?

Hello David,
I have one more question, Does SAS has light version for download to use on my pc for study, I want to learn it.
N/A
Posts: 0

Re: Can I see errors while running SAS ?

If you also use the -unbuflog parameter when you start your batch, then messages are written to the log as they arise rather than paged. With an appropriate text file browser, you can then periodically open your log to check for messages. Note that most browsers will lock the file, and this is to be avoided. However, you can also copy the log and read the copy.

All of this is a little clumsy, but other solutions are possible using additional statements in your program to pop up windows in your operating system when errors are detected. This however is a reasonably complex piece of work, and since I work on the basis that an error in a log means all after the error is tainted, I will usually set the session option to ErrorAbend so that the session stops when an error occurs rather than have some hours of run time to produce a flawed output.

Kind regards

David
SAS Employee
Posts: 27

SAS Learning edition, was Re: Can I see errors while running SAS ?

The 'light' version of SAS is SAS Learning Edition. More information can be found at: http://support.sas.com/training/le/
Ask a Question
Discussion stats
  • 6 replies
  • 550 views
  • 0 likes
  • 2 in conversation