BookmarkSubscribeRSS Feed
tipscode
Obsidian | Level 7

I am generating a large number of proc tabulates (30 or so) using ods csv all in SAS 9.4, and the last table doesn't show when I select to open the csv file from the initial prompt. When I try to open this initial file from the file destination - still no last table.

 

I have to manually select the table from Results, click on the csv icon under the table itself, to open another csv file that will have the last table.

 

Is there a way to resolve this so that the last table will appear on the initial run?

 

Thank you.

2 REPLIES 2
Reeza
Super User

Can you provide some sample code so we can replicate your issue?

Its likely there's something in that last process that's ending early or an error that's causing it to not generate.

ballardw
Super User

I would not think CSV is a good target output for proc tabulate as spanned rows and or columns make the output potentially extremely difficult to read or interpret.

 

And would get worse with multiple tables in a single file.

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!

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