BookmarkSubscribeRSS Feed
MVK
Calcite | Level 5 MVK
Calcite | Level 5

Hi All 

 

Could someone tell me how can we trace the log when submit a code using the SQL Pass Thur execute statement.

 

I know there is options "SASTRACE" that only help for your implicit statements (even on teradata connections).

 

2 REPLIES 2
ChrisNZ
Tourmaline | Level 20

What do you want to trace?

If you use explicit pass-through, the code sent is exactly the code you choose.

MVK
Calcite | Level 5 MVK
Calcite | Level 5

when submit sql statement on dbms using the explicit pass thru execute statement , I would like to see the outcome of number of records being inserted and kind of sas log on execution phase of it. I know "execute" will perform the DML operations from SAS to any dbms. 

 

Just trying to see if we could get more information on log about the step by step execution happens inside.

 

SASTRACE options can be using when you are creating or performing any manipulation on SQL front.

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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