<?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: STP calling another STP in Developers</title>
    <link>https://communities.sas.com/t5/Developers/STP-calling-another-STP/m-p/752967#M5684</link>
    <description>&lt;P&gt;Hi:&lt;BR /&gt;It might be more productive for you to open a track with SAS Tech Support. They will need to know some information about your installation and the folder path for the stored process you want to call with PROC STP. In our Stored Process self-study class, here: &lt;A href="https://support.sas.com/edu/schedules.html?crs=YSP2&amp;amp;ctry=US" target="_blank" rel="noopener"&gt;https://support.sas.com/edu/schedules.html?crs=YSP2&amp;amp;ctry=US&lt;/A&gt; we have an example of using PROC STP and for our system, we needed to know the metadata user and metadata password in order to connect to the metadata server BEFORE invoking PROC STP. In addition, we had to know the exact metadata folder path for the stored process value for the program= option. Here's our class example, as shown below:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cynthia_sas_0-1625768833503.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/61077i6C6350DD4C1DC563/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Cynthia_sas_0-1625768833503.png" alt="Cynthia_sas_0-1625768833503.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;You might be able to get this information from your Platform Administrator or you might need to work with SAS Technical Support on this.&lt;BR /&gt;Cynthia&lt;/P&gt;</description>
    <pubDate>Thu, 08 Jul 2021 18:27:35 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2021-07-08T18:27:35Z</dc:date>
    <item>
      <title>STP calling another STP</title>
      <link>https://communities.sas.com/t5/Developers/STP-calling-another-STP/m-p/463747#M5677</link>
      <description>&lt;P&gt;hi expert,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i want to build an STP with based on the user selection (screen 1) and generate another input screen (screen 2), and from the 2nd screen based on the selection, a 3rd screen will display, can it be done in STP or can only be done in html?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;rgds&lt;/P&gt;&lt;P&gt;kah huat&lt;/P&gt;</description>
      <pubDate>Mon, 21 May 2018 10:03:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/STP-calling-another-STP/m-p/463747#M5677</guid>
      <dc:creator>sspakh</dc:creator>
      <dc:date>2018-05-21T10:03:26Z</dc:date>
    </item>
    <item>
      <title>Re: STP calling another STP</title>
      <link>https://communities.sas.com/t5/Developers/STP-calling-another-STP/m-p/463982#M5678</link>
      <description>&lt;P&gt;It is possible to write a Stored Process which will generate HTML that allows the user to input parameters and then call another Stored Process but it's quite complicated if you've never done it before and probably something that isn't going to be teachable via a forum. Phil Mason has a number of excellent SAS Global Forum papers which you might want to check out if you're going down this route e.g.&amp;nbsp;&lt;A href="https://support.sas.com/resources/papers/proceedings16/6960-2016.pdf" target="_blank"&gt;https://support.sas.com/resources/papers/proceedings16/6960-2016.pdf&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 May 2018 08:46:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/STP-calling-another-STP/m-p/463982#M5678</guid>
      <dc:creator>ChrisBrooks</dc:creator>
      <dc:date>2018-05-22T08:46:47Z</dc:date>
    </item>
    <item>
      <title>Re: STP calling another STP</title>
      <link>https://communities.sas.com/t5/Developers/STP-calling-another-STP/m-p/464623#M5679</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;thanks for the reply, I was looking for only stp without using html/xml or other, is that possible, I tried using stp to call another stp using proc but it failed&lt;/P&gt;</description>
      <pubDate>Thu, 24 May 2018 02:22:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/STP-calling-another-STP/m-p/464623#M5679</guid>
      <dc:creator>sspakh</dc:creator>
      <dc:date>2018-05-24T02:22:13Z</dc:date>
    </item>
    <item>
      <title>Re: STP calling another STP</title>
      <link>https://communities.sas.com/t5/Developers/STP-calling-another-STP/m-p/464917#M5680</link>
      <description>&lt;P&gt;Do you mean Proc STP?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I used Proc STP a few years ago and found there were a few quirks with it - can you provide some information from the log to show us what the failure was?&lt;/P&gt;</description>
      <pubDate>Thu, 24 May 2018 22:49:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/STP-calling-another-STP/m-p/464917#M5680</guid>
      <dc:creator>ChrisBrooks</dc:creator>
      <dc:date>2018-05-24T22:49:47Z</dc:date>
    </item>
    <item>
      <title>Re: STP calling another STP</title>
      <link>https://communities.sas.com/t5/Developers/STP-calling-another-STP/m-p/464931#M5681</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;I am following an example as follow:&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;stp&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;program&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"/Shared Data/PROC STP"&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;odsout&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=store ;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;inputdata&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; INDS = sashelp.class;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;outputdata&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; OUTSUBSET = work.subset_class;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;inputparam&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; FILTER = &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"(age&amp;lt;=15) and (sex='M')"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;outputparam&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; SUBSET_SZ = subset_n;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;%put&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; SUBSET SIZE is &amp;amp;subset_n;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;which =&lt;FONT color="#800080" face="Courier New" size="3"&gt;"/Shared Data/PROC STP" is another stp program.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;error I get as follow:&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;NOTE: The stored process will execute locally.&lt;/P&gt;&lt;P&gt;NOTE: PROC_STP: ====== Proc STP Execution Starting ======&lt;/P&gt;&lt;P&gt;NOTE: PROC_STP: ====== Stored Process: /Shared Data/PROC STP ======&lt;/P&gt;&lt;P&gt;ERROR: STP: An error occurred preprocessing input parameters: Transient package result is not supported.&lt;/P&gt;&lt;P&gt;NOTE: PROC_STP: ====== Stored Process: /Shared Data/PROC STP Return Status = 1012 ======&lt;/P&gt;&lt;P&gt;NOTE: PROC_STP: ====== Proc STP Execution Ending ======&lt;/P&gt;&lt;P&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/P&gt;&lt;P&gt;NOTE: PROCEDURE STP used (Total process time):&lt;/P&gt;&lt;P&gt;real time 0.15 seconds&lt;/P&gt;&lt;P&gt;cpu time 0.05 seconds&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 May 2018 02:23:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/STP-calling-another-STP/m-p/464931#M5681</guid>
      <dc:creator>sspakh</dc:creator>
      <dc:date>2018-05-25T02:23:04Z</dc:date>
    </item>
    <item>
      <title>Re: STP calling another STP</title>
      <link>https://communities.sas.com/t5/Developers/STP-calling-another-STP/m-p/464989#M5682</link>
      <description>&lt;P&gt;I'm not entirely certain why you're getting this error and I don't currently have access to a metadata server to try things out but try changing your Coe to read as follows (I've changed the value of outputparam). This is of course assuming the macro variable subset_n is set in the called STP&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc stp program="/Shared Data/PROC STP" odsout=store ;
inputdata INDS = sashelp.class;
outputdata OUTSUBSET = work.subset_class;
inputparam FILTER = "(age&amp;lt;=15) and (sex='M')";
outputparam subset_n;
run;
%put SUBSET SIZE is &amp;amp;subset_n;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 25 May 2018 08:31:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/STP-calling-another-STP/m-p/464989#M5682</guid>
      <dc:creator>ChrisBrooks</dc:creator>
      <dc:date>2018-05-25T08:31:31Z</dc:date>
    </item>
    <item>
      <title>Re: STP calling another STP</title>
      <link>https://communities.sas.com/t5/Developers/STP-calling-another-STP/m-p/752939#M5683</link>
      <description>&lt;P&gt;Hi Sspakh,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am getting an exact error as follow. I want to know that did you find out any solution on the same.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please assist me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jul 2021 17:21:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/STP-calling-another-STP/m-p/752939#M5683</guid>
      <dc:creator>SKG</dc:creator>
      <dc:date>2021-07-08T17:21:34Z</dc:date>
    </item>
    <item>
      <title>Re: STP calling another STP</title>
      <link>https://communities.sas.com/t5/Developers/STP-calling-another-STP/m-p/752967#M5684</link>
      <description>&lt;P&gt;Hi:&lt;BR /&gt;It might be more productive for you to open a track with SAS Tech Support. They will need to know some information about your installation and the folder path for the stored process you want to call with PROC STP. In our Stored Process self-study class, here: &lt;A href="https://support.sas.com/edu/schedules.html?crs=YSP2&amp;amp;ctry=US" target="_blank" rel="noopener"&gt;https://support.sas.com/edu/schedules.html?crs=YSP2&amp;amp;ctry=US&lt;/A&gt; we have an example of using PROC STP and for our system, we needed to know the metadata user and metadata password in order to connect to the metadata server BEFORE invoking PROC STP. In addition, we had to know the exact metadata folder path for the stored process value for the program= option. Here's our class example, as shown below:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cynthia_sas_0-1625768833503.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/61077i6C6350DD4C1DC563/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Cynthia_sas_0-1625768833503.png" alt="Cynthia_sas_0-1625768833503.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;You might be able to get this information from your Platform Administrator or you might need to work with SAS Technical Support on this.&lt;BR /&gt;Cynthia&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jul 2021 18:27:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/STP-calling-another-STP/m-p/752967#M5684</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2021-07-08T18:27:35Z</dc:date>
    </item>
  </channel>
</rss>

