BookmarkSubscribeRSS Feed
deleted_user
Not applicable
HI All

Is there a way that sas will not continue its process when it encounter warnings?Like treating warnings like errors?
3 REPLIES 3
milts
Pyrite | Level 9
Chris

I'm not sure if there is a way but the closest thing i think is the syscc auto macro variable which returns a code to determine if the process has warning,errors,etc. it returns a specific code depending on the result of the step.

for more info about the automatic variable you can use sashelp and type syscc. return codes stated in the sashelp are for unix environments fyi.

Regards,
Milts
deleted_user
Not applicable
Thanks for the info Milts!
ballardw
Super User
Also look into the SYSERR automatic macro variable.

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 1413 views
  • 0 likes
  • 3 in conversation