BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
BenCBanks
Fluorite | Level 6

Hello there, 

 

Simple question that I can't seem to find the answer to anywhere. How can I "reset" the OBS= global option to the default setting? 

 

I put OBS=9223372036854775807 to assign it to the maximum length possible, but I am afraid that will create inefficient processing. 

 

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
novinosrin
Tourmaline | Level 20

@BenCBanks wrote:

Hello there, 

 

Simple question that I can't seem to find the answer to anywhere. How can I "reset" the OBS= global option to the default setting? 

 

I put OBS=9223372036854775807 to assign it to the maximum length possible, but I am afraid that will create inefficient processing. 

 

Thanks


 

Default is

Options obs=max;

View solution in original post

4 REPLIES 4
DBailey
Lapis Lazuli | Level 10
isn't it just obs=max?
novinosrin
Tourmaline | Level 20

@BenCBanks wrote:

Hello there, 

 

Simple question that I can't seem to find the answer to anywhere. How can I "reset" the OBS= global option to the default setting? 

 

I put OBS=9223372036854775807 to assign it to the maximum length possible, but I am afraid that will create inefficient processing. 

 

Thanks


 

Default is

Options obs=max;
BenCBanks
Fluorite | Level 6

Yes. I think you are correct. Not sure why that was so hard for me to find. 

novinosrin
Tourmaline | Level 20

You are not alone. We all have been through it.

 

You can always verify the current system options by

 

proc options option=obs define;
run; 

 

Or just without define to not flood the log:

 

proc options option=obs ;
run; 

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

How to Concatenate Values

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.

SAS Training: Just a Click Away

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

Browse our catalog!

Discussion stats
  • 4 replies
  • 6296 views
  • 7 likes
  • 3 in conversation