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-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

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