Use options obs=max. The actual value will vary depending on the version of SAS and your hardware.
xx options obs=100;
xx %put %sysfunc(getoption(obs));
100
xx options obs=max;
xx %put %sysfunc(getoption(obs));
9223372036854775807
Ready to join fellow brilliant minds for the SAS Hackathon?
Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.