<?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: Sybase Options and Stored Procedures through SAS in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Sybase-Options-and-Stored-Procedures-through-SAS/m-p/192374#M304843</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not related to sybase at all, but have you tried options msglevel=i to get more information?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a000279149.htm" title="http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a000279149.htm"&gt;SAS(R) 9.2 Language Reference: Dictionary, Fourth Edition&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Mar 2014 19:49:17 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2014-03-04T19:49:17Z</dc:date>
    <item>
      <title>Sybase Options and Stored Procedures through SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Sybase-Options-and-Stored-Procedures-through-SAS/m-p/192372#M304841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there anyway to use Sybase options (Ex. set showplan on) or Sybase Stored Procedures through SAS?&amp;nbsp; Can you do this with a metadata defined libname to the database?&amp;nbsp; Is it possible using the pass-through facility for Sybase?&amp;nbsp; Can I get the results/log back in my SAS log, or in a SAS dataset, or to an external file?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have looked at the "SASTRACE" option (&lt;A href="http://support.sas.com/documentation/cdl/en/acreldb/65247/HTML/default/viewer.htm#n0732u1mr57ycrn1urf24gzo38sc.htm" title="http://support.sas.com/documentation/cdl/en/acreldb/65247/HTML/default/viewer.htm#n0732u1mr57ycrn1urf24gzo38sc.htm"&gt;SAS/ACCESS(R) 9.3 for Relational Databases: Reference, Second Edition&lt;/A&gt;) .&amp;nbsp; That gives information about the 'translated' query that gets passed to Sybase and has a lot of good time statistics.&amp;nbsp; I have also looked at the Sybase specific information (&lt;A href="http://support.sas.com/documentation/cdl/en/acreldb/65247/HTML/default/viewer.htm#p11cuzi4hgonojn1uhoivjfd29ra.htm" title="http://support.sas.com/documentation/cdl/en/acreldb/65247/HTML/default/viewer.htm#p11cuzi4hgonojn1uhoivjfd29ra.htm"&gt;SAS/ACCESS Interface to Sybase&lt;/A&gt;), but that didn't seem to have anything.&amp;nbsp; I did notice the DBCONINIT libname option which may be part of what I am looking for, but I can not tell from the documentation (&lt;A href="http://support.sas.com/documentation/cdl/en/acreldb/65247/HTML/default/viewer.htm#p1agt4p0hj4fyun103no9xpgskdv.htm" title="http://support.sas.com/documentation/cdl/en/acreldb/65247/HTML/default/viewer.htm#p1agt4p0hj4fyun103no9xpgskdv.htm"&gt;DBCONINIT= Libname Option&lt;/A&gt;).&amp;nbsp; The SQL Pass-Through EXECUTE statement (&lt;A href="http://support.sas.com/documentation/cdl/en/acreldb/65247/HTML/default/viewer.htm#n0pj5uu3i328pmn1fackclh2xnd9.htm"&gt;EXECUTE Statement&lt;/A&gt;) also looks promising, but I have not been able to get it to work the way I would like.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am performing a lot of testing for our Sybase DBAs to confirm that the SAS interface is working the same as their ISQL sessions and would like to be able to hand them log/results that show items like the Sybase index that was used in the processing.&amp;nbsp; There may be an easier way to do this, but right now, I am having to infringe on the DBAs time for these tests, and they do not have much/any to spare.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any help!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shaun L.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2014 17:06:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Sybase-Options-and-Stored-Procedures-through-SAS/m-p/192372#M304841</guid>
      <dc:creator>SNLFAM1</dc:creator>
      <dc:date>2014-03-04T17:06:30Z</dc:date>
    </item>
    <item>
      <title>Re: Sybase Options and Stored Procedures through SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Sybase-Options-and-Stored-Procedures-through-SAS/m-p/192373#M304842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again, You are doing a good job.&lt;/P&gt;&lt;P&gt;For Sybase you could do a explicit SQL pass through. As that is native Sybase SQL you should be able to do everything.&lt;/P&gt;&lt;P&gt;I think you are searching for "in database" products. &lt;A href="http://support.sas.com/documentation/cdl/en/indbug/66822/HTML/default/viewer.htm#n1lo1d19ercldkn14vm45k13z3so.htm" title="http://support.sas.com/documentation/cdl/en/indbug/66822/HTML/default/viewer.htm#n1lo1d19ercldkn14vm45k13z3so.htm"&gt;SAS(R) 9.4 In-Database Products: User's Guide, Third Edition&lt;/A&gt;&lt;/P&gt;&lt;P&gt;But there Sybase is not mentioned.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2014 19:32:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Sybase-Options-and-Stored-Procedures-through-SAS/m-p/192373#M304842</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2014-03-04T19:32:08Z</dc:date>
    </item>
    <item>
      <title>Re: Sybase Options and Stored Procedures through SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Sybase-Options-and-Stored-Procedures-through-SAS/m-p/192374#M304843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not related to sybase at all, but have you tried options msglevel=i to get more information?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a000279149.htm" title="http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a000279149.htm"&gt;SAS(R) 9.2 Language Reference: Dictionary, Fourth Edition&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2014 19:49:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Sybase-Options-and-Stored-Procedures-through-SAS/m-p/192374#M304843</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2014-03-04T19:49:17Z</dc:date>
    </item>
  </channel>
</rss>

