SAS sysmsg and error in log

Reply
New Contributor
Posts: 4

SAS sysmsg and error in log

Hey All,

 

what does the sysmsg actually do? will it retrieve the errors in the log or the errors which we cannot see in the log?

and is there any difference between SCL error and the error we generally get in the log ?

 

Please help me on this, Thanks.

Super User
Super User
Posts: 9,599

Re: SAS sysmsg and error in log

Posted in reply to vijaysas777zx
Super User
Posts: 10,280

Re: SAS sysmsg and error in log

Posted in reply to vijaysas777zx

Maxim 1: Read the documentation, which is very clear about the function.

See here for example: http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a000210917.htm

sysmsg() returns the error text of a failed dataset/file access function.

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
How to convert datasets to data steps
How to post code
Ask a Question
Discussion stats
  • 2 replies
  • 78 views
  • 0 likes
  • 3 in conversation