BookmarkSubscribeRSS Feed
Jaime
Fluorite | Level 6
Hi all,

I can't seem to find the answer to this question. Is there an option in proc sql that would dump into the log the sql procedure that was sent to the server?

I have an sql generated sql string and I want to see what is actually being sent to the server.
2 REPLIES 2
andreas_lds
Jade | Level 19
chang_y_chung found a paper on that topic:
http://support.sas.com/forums/thread.jspa?messageID=43038ꠞ
Peter_C
Rhodochrosite | Level 12
and have a look at the optional values for the system option SASTRACE
The examples in the on-line doc should help you choose the level of deatil you need

Catch up on SAS Innovate 2026

Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.

Explore Now →
What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

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
  • 2 replies
  • 1617 views
  • 0 likes
  • 3 in conversation