SAS Exit Code 1 And 2

Reply
Contributor
Posts: 36

SAS Exit Code 1 And 2

Hi All,

 

I am running SAS in Windows and I could not find much information other than "Unexpected Error" on the error/exit code 1 and 2? For jobs exited with code 1, I could not find any "error" keyword in the log file. Is it safe to assume the job ran fine?

 

Thank you for your input.

Super User
Posts: 10,259

Re: SAS Exit Code 1 And 2

Both codes are inacceptable for batch jobs. Only a return code 0 should be accepted as successful.

1 points to WARNING, 2 points to an ERROR.

Inspect the logs and fix the causes for the messages.

 

See Maxims 24 & 25.

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