<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to read what's sent via proc sql? in SAS Health and Life Sciences</title>
    <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/How-to-read-what-s-sent-via-proc-sql/m-p/6816#M708</link>
    <description>Hi Doc@Duke,&lt;BR /&gt;
&lt;BR /&gt;
I'm also seeing the following:&lt;BR /&gt;
MPRINT(MYQUERY):  ;&lt;BR /&gt;
MPRINT(SPEED1):   data space.mydata&lt;BR /&gt;
MPRINT(SPEED1):   set&lt;BR /&gt;
MPRINT(FILENAMES):   speed_data_1&lt;BR /&gt;
MPRINT(SPEED1):   speed_data_2;&lt;BR /&gt;
MPRINT(SPEED1):   run;&lt;BR /&gt;
&lt;BR /&gt;
I only want to see the one that was sent to proc sql.  I rem seeing it somewhere...I can't recall the option name.&lt;BR /&gt;
&lt;BR /&gt;
Thanks for the reply.&lt;BR /&gt;
&lt;BR /&gt;
-Nilan</description>
    <pubDate>Thu, 07 Feb 2008 16:29:46 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2008-02-07T16:29:46Z</dc:date>
    <item>
      <title>How to read what's sent via proc sql?</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/How-to-read-what-s-sent-via-proc-sql/m-p/6814#M706</link>
      <description>There is a way to see on the log what's sent via proc sql?  What is the option that I have to put?&lt;BR /&gt;
&lt;BR /&gt;
For an example, if I run the folloowing,&lt;BR /&gt;
&lt;BR /&gt;
%let obsn=5;&lt;BR /&gt;
&lt;BR /&gt;
proc sql;&lt;BR /&gt;
connect to oracle (user=&amp;amp;user1 pass=&amp;amp;pass1 path=odin);&lt;BR /&gt;
    create table id_data as		&lt;BR /&gt;
	select * from connection to oracle&lt;BR /&gt;
	(	select 	*&lt;BR /&gt;
		from id_details&lt;BR /&gt;
    	where rownum &amp;lt; &amp;amp;obsn);&lt;BR /&gt;
	disconnect from oracle;&lt;BR /&gt;
quit;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
I want to see the following on the log:&lt;BR /&gt;
&lt;BR /&gt;
proc sql;&lt;BR /&gt;
connect to oracle (user=myusername pass=mypassword path=odin);&lt;BR /&gt;
    create table id_data as		&lt;BR /&gt;
	select * from connection to oracle&lt;BR /&gt;
	(	select 	*&lt;BR /&gt;
		from id_details&lt;BR /&gt;
    	where &lt;B&gt;rownum &amp;lt; 5&lt;/B&gt;);&lt;BR /&gt;
	disconnect from oracle;&lt;BR /&gt;
quit;</description>
      <pubDate>Thu, 07 Feb 2008 14:37:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/How-to-read-what-s-sent-via-proc-sql/m-p/6814#M706</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-02-07T14:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to read what's sent via proc sql?</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/How-to-read-what-s-sent-via-proc-sql/m-p/6815#M707</link>
      <description>The option you are looking for is called MPRINT.</description>
      <pubDate>Thu, 07 Feb 2008 15:43:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/How-to-read-what-s-sent-via-proc-sql/m-p/6815#M707</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2008-02-07T15:43:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to read what's sent via proc sql?</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/How-to-read-what-s-sent-via-proc-sql/m-p/6816#M708</link>
      <description>Hi Doc@Duke,&lt;BR /&gt;
&lt;BR /&gt;
I'm also seeing the following:&lt;BR /&gt;
MPRINT(MYQUERY):  ;&lt;BR /&gt;
MPRINT(SPEED1):   data space.mydata&lt;BR /&gt;
MPRINT(SPEED1):   set&lt;BR /&gt;
MPRINT(FILENAMES):   speed_data_1&lt;BR /&gt;
MPRINT(SPEED1):   speed_data_2;&lt;BR /&gt;
MPRINT(SPEED1):   run;&lt;BR /&gt;
&lt;BR /&gt;
I only want to see the one that was sent to proc sql.  I rem seeing it somewhere...I can't recall the option name.&lt;BR /&gt;
&lt;BR /&gt;
Thanks for the reply.&lt;BR /&gt;
&lt;BR /&gt;
-Nilan</description>
      <pubDate>Thu, 07 Feb 2008 16:29:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/How-to-read-what-s-sent-via-proc-sql/m-p/6816#M708</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-02-07T16:29:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to read what's sent via proc sql?</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/How-to-read-what-s-sent-via-proc-sql/m-p/6817#M709</link>
      <description>try adding the PROC SQL feedback option to your code rather than MPRINT.&lt;BR /&gt;
&lt;BR /&gt;
like:&lt;BR /&gt;
proc sql feedback;&lt;BR /&gt;
/* etc */&lt;BR /&gt;
&lt;BR /&gt;
or use options symbolgen.</description>
      <pubDate>Thu, 07 Feb 2008 17:13:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/How-to-read-what-s-sent-via-proc-sql/m-p/6817#M709</guid>
      <dc:creator>advoss</dc:creator>
      <dc:date>2008-02-07T17:13:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to read what's sent via proc sql?</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/How-to-read-what-s-sent-via-proc-sql/m-p/6818#M710</link>
      <description>more details are available.&lt;BR /&gt;
They are documented with the SAS/Access products&lt;BR /&gt;
&lt;BR /&gt;
iirc&lt;BR /&gt;
option SASDtrace  &lt;BR /&gt;
&lt;BR /&gt;
but be wise and look it up&lt;BR /&gt;
&lt;BR /&gt;
PeterC</description>
      <pubDate>Thu, 07 Feb 2008 17:13:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/How-to-read-what-s-sent-via-proc-sql/m-p/6818#M710</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-02-07T17:13:19Z</dc:date>
    </item>
  </channel>
</rss>

