BookmarkSubscribeRSS Feed
brianhoops1
Fluorite | Level 6

I'm going through SAS Programming 1 for the Exporting Data section. The activity asks to add an ODS statement to create an Excel file.

 

I ran the below libname and outpath macro:

brianhoops1_0-1697577505802.png

Then within the activity (p106a04.sas), I used the following code:

brianhoops1_1-1697577594099.png

After running the code I received the below errors. Is there something I'm entering incorrectly?

brianhoops1_2-1697577661517.png

 

2 REPLIES 2
brianhoops1
Fluorite | Level 6
I got this figured out. In the macro, I had to remove the quotes and that did the trick.
Kondala
Calcite | Level 5

once try to write ods excel clear statment in line 32 , i think it may resolve ur issue

 

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

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.

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
  • 2 replies
  • 306 views
  • 0 likes
  • 2 in conversation