Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Check for abend in any step

Status
Not open for further replies.

mmignot

Programmer
Jul 16, 2001
44
US

Hello all,

Does anyone know how to check for an abort or abend from a prior data or proc step? I need to check for a particular return code or abend at the end of a sas program. Depending on the results from the find, send an email message to various users.

Many thanks,
Mark
 
Check out the macro variables &SYSRC and &SYSINFO, they should help you out.

Chris
Business Analyst, Code Monkey, Data Wrangler.
SAS Guru.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top