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

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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