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

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

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
  • 1269 views
  • 0 likes
  • 3 in conversation