BookmarkSubscribeRSS Feed
Reeza
Super User

proc print the dataset within the ODS open/close statements, similar to what you would do if using ods tagsets.excelxp.

brophymj
Quartz | Level 8

Reeza, thanks but I don't follow. Could you give an example of code you would use to achieve this?

Reeza
Super User

ods excel file='/folders/myfolders/sample.xlsx' style=minimal options(sheet_name='test');

proc print data=sashelp.class noobs;

run;

ods excel close;

brophymj
Quartz | Level 8

Thanks Reeza, that worked

Is there a way to stop excel from opening?

Also, can you populate multiple sheets this way?

Thanks

LinusH
Tourmaline | Level 20

Since this differ quite a bit from the original question, I suggest that you open a new thread.

Also, there are tons of examples/doc on Excel tagsets. Browse these forums/support.sas.com and get back for further questions.

And back to the orifinal question: if you just got Base SAS, and do not plan to use a different OS or change bit (32 -> 64), there is nothing that should hold you back. No need for migration of your data/programs etc. Upgrade is included in your license.

Data never sleeps
Reeza
Super User

DS2 is a new language available in SAS 9.4

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 20 replies
  • 4229 views
  • 1 like
  • 7 in conversation