BookmarkSubscribeRSS Feed
techie
Fluorite | Level 6

Hi Fellow SAS Communities, 

Is there a way we can find out a SAS function(s) has been executed in SAS or Hadoop.

 

TIA

1 REPLY 1
JBailey
Barite | Level 11

Hi @techie 

 

In order for a SAS function to be passed down to a database it must be passed down to the database. The following SAS statement will display the SQL that is sending to the database:

 

OPTIONS SASTRACE=',,,d' SASTRACELOC=SASLOG NOSTSUFFIX;

 

You can see an example of it in this SGF workshop I delivered. It is old, but most of it is still relevant.
https://github.com/Jeff-Bailey/SGF2016_SAS3880_Insiders_Guide_Hadoop_HOW

 

Best wishes,

Jeff

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

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