BookmarkSubscribeRSS Feed
Rixa
Calcite | Level 5
Does anyone know, how to find the value of OBS? I obviously know how to set it, but I'd like find out, what its current value is in the middle of a run. I'm particularly interested in errors, that create the OBS=0 situation.
3 REPLIES 3
GertNissen
Barite | Level 11
sbb
Lapis Lazuli | Level 10 sbb
Lapis Lazuli | Level 10
You will need to explain more clearly what you consider "OBS" and where it is being referenced in some SAS code, please? Preferably share SAS code where you are expecting some result associated with "OBS". For example, SAS PROC PRINT generates a column with column label OBS, by default.

Scott Barry
SBBWorks, Inc.
Flip
Fluorite | Level 6
When an error causes OBS to be set to zero, it ia simply a way for SAS to continue checking syntax after stopping processing.
OBS=0 is not a symptom of the error, simply a tool to help you debug.

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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
  • 1023 views
  • 0 likes
  • 4 in conversation