<?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 Location of SAS 9.3 Stored Process Examples Code in Developers</title>
    <link>https://communities.sas.com/t5/Developers/Location-of-SAS-9-3-Stored-Process-Examples-Code/m-p/621473#M5984</link>
    <description>&lt;P&gt;Does anyone know where the sample code for the publication SAS 9.3 Stored Process Examples is located at?&amp;nbsp; I am getting back to stp programming after a five year break and would like to bring myself back up to speed by working the examples.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;James&lt;/P&gt;</description>
    <pubDate>Fri, 31 Jan 2020 16:24:12 GMT</pubDate>
    <dc:creator>jdm_xom</dc:creator>
    <dc:date>2020-01-31T16:24:12Z</dc:date>
    <item>
      <title>Location of SAS 9.3 Stored Process Examples Code</title>
      <link>https://communities.sas.com/t5/Developers/Location-of-SAS-9-3-Stored-Process-Examples-Code/m-p/621473#M5984</link>
      <description>&lt;P&gt;Does anyone know where the sample code for the publication SAS 9.3 Stored Process Examples is located at?&amp;nbsp; I am getting back to stp programming after a five year break and would like to bring myself back up to speed by working the examples.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;James&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jan 2020 16:24:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Location-of-SAS-9-3-Stored-Process-Examples-Code/m-p/621473#M5984</guid>
      <dc:creator>jdm_xom</dc:creator>
      <dc:date>2020-01-31T16:24:12Z</dc:date>
    </item>
    <item>
      <title>Re: Location of SAS 9.3 Stored Process Examples Code</title>
      <link>https://communities.sas.com/t5/Developers/Location-of-SAS-9-3-Stored-Process-Examples-Code/m-p/621498#M5985</link>
      <description>&lt;P&gt;What do you see when you :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Right Click on the Sample Stored Process - &amp;gt; Modify - &amp;gt; Name and Description ( Metadata Path )&lt;/P&gt;
&lt;P&gt;Right Click on the Sample Stored Process - &amp;gt; Modify - &amp;gt; Execution Options ( Source Code)&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jan 2020 17:20:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Location-of-SAS-9-3-Stored-Process-Examples-Code/m-p/621498#M5985</guid>
      <dc:creator>r_behata</dc:creator>
      <dc:date>2020-01-31T17:20:38Z</dc:date>
    </item>
    <item>
      <title>Re: Location of SAS 9.3 Stored Process Examples Code</title>
      <link>https://communities.sas.com/t5/Developers/Location-of-SAS-9-3-Stored-Process-Examples-Code/m-p/621502#M5986</link>
      <description>&lt;P&gt;You can view the source for all stored processes by adding the `_debug=list` parameter to the url, eg:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;`&lt;A href="http://sas.analytium.co.uk:7980/SASStoredProcess/?_debug=list" target="_blank" rel="noopener"&gt;http://YOURDOMAIN/SASStoredProcess/?_debug=list&lt;/A&gt;`&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2020-01-31 at 18.40.49.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/35788iD7519A20AC0E615E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2020-01-31 at 18.40.49.png" alt="Screenshot 2020-01-31 at 18.40.49.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since 9.3 it was possible to store source code inside the Stored Process metadata, so you won't see code on the filesystem for some examples&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2020-01-31 at 18.38.55.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/35787iB150DDB8C391A372/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2020-01-31 at 18.38.55.png" alt="Screenshot 2020-01-31 at 18.38.55.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jan 2020 17:41:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Location-of-SAS-9-3-Stored-Process-Examples-Code/m-p/621502#M5986</guid>
      <dc:creator>AllanBowe</dc:creator>
      <dc:date>2020-01-31T17:41:40Z</dc:date>
    </item>
    <item>
      <title>Re: Location of SAS 9.3 Stored Process Examples Code</title>
      <link>https://communities.sas.com/t5/Developers/Location-of-SAS-9-3-Stored-Process-Examples-Code/m-p/621508#M5987</link>
      <description>&lt;P&gt;Actually, I am looking for the sample code that shipped with the following sas publication &lt;A href="https://support.sas.com/documentation/onlinedoc/inttech/9.3/stpex.pdf.&amp;nbsp;" target="_blank"&gt;https://support.sas.com/documentation/onlinedoc/inttech/9.3/stpex.pdf.&amp;nbsp;&lt;/A&gt; Would like to know if it is possible to get my hands on the code and associated support files.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jan 2020 17:53:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Location-of-SAS-9-3-Stored-Process-Examples-Code/m-p/621508#M5987</guid>
      <dc:creator>jdm_xom</dc:creator>
      <dc:date>2020-01-31T17:53:57Z</dc:date>
    </item>
    <item>
      <title>Re: Location of SAS 9.3 Stored Process Examples Code</title>
      <link>https://communities.sas.com/t5/Developers/Location-of-SAS-9-3-Stored-Process-Examples-Code/m-p/727574#M5988</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/278701"&gt;@jdm_xom&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;You wanted to know the location of sample stored process.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can find them here on a WIndows server. Replace 9.4 with 9.3&lt;/P&gt;
&lt;P&gt;[SASHOME]\SASFoundation\9.4\inttech\sample.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The location can also be found from SAS EG /SMC as shown by&amp;nbsp;&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/223452"&gt;@r_behata&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Mar 2021 21:03:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Location-of-SAS-9-3-Stored-Process-Examples-Code/m-p/727574#M5988</guid>
      <dc:creator>Sajid01</dc:creator>
      <dc:date>2021-03-18T21:03:07Z</dc:date>
    </item>
    <item>
      <title>Re: Location of SAS 9.3 Stored Process Examples Code</title>
      <link>https://communities.sas.com/t5/Developers/Location-of-SAS-9-3-Stored-Process-Examples-Code/m-p/728113#M5989</link>
      <description>&lt;P&gt;Not directly relevant, but for those interested.&amp;nbsp; You can download the source code for those STPs where the code is stored inside the metadata using &lt;A href="https://core.sasjs.io/mm__getstpcode_8sas.html" target="_self"&gt;this macro&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Usage as follows:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/* compile macros */
filename mc url "https://raw.githubusercontent.com/sasjs/core/main/all.sas";
%inc mc;

/*
  get the STP code for an stp at /some/meta/path/someSTP 
  and write it to the WORK folder
*/
%mm_getstpcode(tree=/some/meta/path
  ,name=someSTP
  ,outloc=%sysfunc(pathname(work))/myfile.sas
)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Mar 2021 11:16:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Location-of-SAS-9-3-Stored-Process-Examples-Code/m-p/728113#M5989</guid>
      <dc:creator>AllanBowe</dc:creator>
      <dc:date>2021-03-22T11:16:53Z</dc:date>
    </item>
  </channel>
</rss>

