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

 


 

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

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