BookmarkSubscribeRSS Feed
JBChevallier
Calcite | Level 5

Hi all,

 

I'm working with SAS Enterprise Guide 8.1

I'd like to build a small report for the user to get a summary at the end of the program execution.

To make it short, it could just be the number of records and the name of the input table and the number of records in the final table.

Do you know how I could do this.

Thanks a lot,

JB

 

1 REPLY 1
Reeza
Super User

The macro variable syslast contains the name of the last data set created so you can use that to get the statistics from the sashelp.vtable or sashelp.vcolumn data sets.

 

This would need to be customized to the report IMO because if you have ten different inputs what would you want to see. 
PROC SCAPROC may be worth investigating.


@JBChevallier wrote:

Hi all,

 

I'm working with SAS Enterprise Guide 8.1

I'd like to build a small report for the user to get a summary at the end of the program execution.

To make it short, it could just be the number of records and the name of the input table and the number of records in the final table.

Do you know how I could do this.

Thanks a lot,

JB

 


 

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!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

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
  • 1 reply
  • 428 views
  • 0 likes
  • 2 in conversation