Hi Team ,
i have sas code and when ever sas code is failed with error then i need to get email notification that sas code is failed .
i have used Automatic variable &syscc and executed in sas studio and value is returning 1012 and same code if i run in SAS DI studio then value is returning as 3000 .
can you please tell me why the values are getting in different .
yeah i ran using batch mode and i got values is syscc is 3000 and when i run in sas studio then syscc value is 1012
@U2 wrote:
Hi Team ,
i have sas code and when ever sas code is failed with error then i need to get email notification that sas code is failed .
i have used Automatic variable &syscc and executed in sas studio and value is returning 1012 and same code if i run in SAS DI studio then value is returning as 3000 .
can you please tell me why the values are getting in different .
Show us the LOG from both jobs.
In many respects the specific codes returned at the job level aren't very specific. Look at documentation of SYSERR codes for some. Generally I would say the specific error codes might point me to the types of statements to concentrated on finding in the log. For example a 1020, I/O problem I would look at data sources such as filenames or options reading/ writing external files but I don't know exactly what happened.
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.