<?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: Can not create Store Process from an EG-project with prompts in Developers</title>
    <link>https://communities.sas.com/t5/Developers/Can-not-create-Store-Process-from-an-EG-project-with-prompts/m-p/45795#M2884</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should surely contact TS for that.&lt;/P&gt;&lt;P&gt;The directio I am aiming at is that conditional prompts dynamic prompts are processed before your process has been started. Not necessary sharing the same Sas session or even not necessary sharing the same app server.&lt;/P&gt;&lt;P&gt;When that is the real root cause that is a sas design and sas implemtation error. The common behavior of SAS TS is avoiding that kind of internal Sas trouble and going for bypasses instead.&lt;/P&gt;&lt;P&gt;So be sure on what you requirements are and implementation is.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Jun 2015 12:28:34 GMT</pubDate>
    <dc:creator>jakarman</dc:creator>
    <dc:date>2015-06-30T12:28:34Z</dc:date>
    <item>
      <title>Can not create Store Process from an EG-project with prompts</title>
      <link>https://communities.sas.com/t5/Developers/Can-not-create-Store-Process-from-an-EG-project-with-prompts/m-p/45788#M2877</link>
      <description>I have finalized a EG-project I want to publish as a Store Process. The problem is I got this error message:&lt;BR /&gt;
&lt;BR /&gt;
"Unable to make a connection to the metadata server possibly due to missing or bad OMR configuration file(s)."&lt;BR /&gt;
&lt;BR /&gt;
Searching on Googles point me to a note on SAS homepage which tell me it is a problem with prompts, but not what problem and how to solve the problem.&lt;BR /&gt;
&lt;BR /&gt;
Can someone help me?</description>
      <pubDate>Wed, 06 Apr 2011 19:12:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Can-not-create-Store-Process-from-an-EG-project-with-prompts/m-p/45788#M2877</guid>
      <dc:creator>AndersBergquist</dc:creator>
      <dc:date>2011-04-06T19:12:07Z</dc:date>
    </item>
    <item>
      <title>Re: Can not create Store Process from an EG-project with prompts</title>
      <link>https://communities.sas.com/t5/Developers/Can-not-create-Store-Process-from-an-EG-project-with-prompts/m-p/45789#M2878</link>
      <description>After some investigation, I think everything come done to the fact that Store Processes is not compatible with EG conditional processing.</description>
      <pubDate>Thu, 07 Apr 2011 06:27:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Can-not-create-Store-Process-from-an-EG-project-with-prompts/m-p/45789#M2878</guid>
      <dc:creator>AndersBergquist</dc:creator>
      <dc:date>2011-04-07T06:27:27Z</dc:date>
    </item>
    <item>
      <title>Re: Can not create Store Process from an EG-project with prompts</title>
      <link>https://communities.sas.com/t5/Developers/Can-not-create-Store-Process-from-an-EG-project-with-prompts/m-p/45790#M2879</link>
      <description>Problem solved.&lt;BR /&gt;
It is a bug in SAS which does only accept US letters in the branchnames. I will rapport this to support.</description>
      <pubDate>Thu, 07 Apr 2011 06:30:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Can-not-create-Store-Process-from-an-EG-project-with-prompts/m-p/45790#M2879</guid>
      <dc:creator>AndersBergquist</dc:creator>
      <dc:date>2011-04-07T06:30:20Z</dc:date>
    </item>
    <item>
      <title>Problem not solved</title>
      <link>https://communities.sas.com/t5/Developers/Can-not-create-Store-Process-from-an-EG-project-with-prompts/m-p/45791#M2880</link>
      <description>Problem is not solved.&lt;BR /&gt;
I think Store Processes does not support Conditional processing.</description>
      <pubDate>Thu, 07 Apr 2011 07:03:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Can-not-create-Store-Process-from-an-EG-project-with-prompts/m-p/45791#M2880</guid>
      <dc:creator>AndersBergquist</dc:creator>
      <dc:date>2011-04-07T07:03:47Z</dc:date>
    </item>
    <item>
      <title>Re: Problem not solved</title>
      <link>https://communities.sas.com/t5/Developers/Can-not-create-Store-Process-from-an-EG-project-with-prompts/m-p/45792#M2881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there any SAS Usage note regarding this? My client is facing a similar issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jul 2013 20:20:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Can-not-create-Store-Process-from-an-EG-project-with-prompts/m-p/45792#M2881</guid>
      <dc:creator>saspert</dc:creator>
      <dc:date>2013-07-15T20:20:53Z</dc:date>
    </item>
    <item>
      <title>Re: Can not create Store Process from an EG-project with prompts</title>
      <link>https://communities.sas.com/t5/Developers/Can-not-create-Store-Process-from-an-EG-project-with-prompts/m-p/45793#M2882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;is it a dynamic prompt using a dataset as input (9.2 and later)?&lt;/P&gt;&lt;P&gt;In that case there are undocumented requirements possible indicating a design/coding error by SAS institute.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Aug 2013 12:58:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Can-not-create-Store-Process-from-an-EG-project-with-prompts/m-p/45793#M2882</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2013-08-02T12:58:21Z</dc:date>
    </item>
    <item>
      <title>Re: Can not create Store Process from an EG-project with prompts</title>
      <link>https://communities.sas.com/t5/Developers/Can-not-create-Store-Process-from-an-EG-project-with-prompts/m-p/45794#M2883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Jaap&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The same error occured in my EG project that have a dynamic prompt using a dataset. (EG 6.1)&lt;/P&gt;&lt;P&gt;Where can I get the undocumented requirements that you mentioned?&lt;/P&gt;&lt;P&gt;Or should I ask tech support?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks inadvance.&lt;/P&gt;&lt;P&gt;Shen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2015 10:23:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Can-not-create-Store-Process-from-an-EG-project-with-prompts/m-p/45794#M2883</guid>
      <dc:creator>ShenQicheng</dc:creator>
      <dc:date>2015-06-30T10:23:50Z</dc:date>
    </item>
    <item>
      <title>Re: Can not create Store Process from an EG-project with prompts</title>
      <link>https://communities.sas.com/t5/Developers/Can-not-create-Store-Process-from-an-EG-project-with-prompts/m-p/45795#M2884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should surely contact TS for that.&lt;/P&gt;&lt;P&gt;The directio I am aiming at is that conditional prompts dynamic prompts are processed before your process has been started. Not necessary sharing the same Sas session or even not necessary sharing the same app server.&lt;/P&gt;&lt;P&gt;When that is the real root cause that is a sas design and sas implemtation error. The common behavior of SAS TS is avoiding that kind of internal Sas trouble and going for bypasses instead.&lt;/P&gt;&lt;P&gt;So be sure on what you requirements are and implementation is.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2015 12:28:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Can-not-create-Store-Process-from-an-EG-project-with-prompts/m-p/45795#M2884</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2015-06-30T12:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: Can not create Store Process from an EG-project with prompts</title>
      <link>https://communities.sas.com/t5/Developers/Can-not-create-Store-Process-from-an-EG-project-with-prompts/m-p/45796#M2885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, Jaap&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll contact TS for that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2015 12:57:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Can-not-create-Store-Process-from-an-EG-project-with-prompts/m-p/45796#M2885</guid>
      <dc:creator>ShenQicheng</dc:creator>
      <dc:date>2015-06-30T12:57:08Z</dc:date>
    </item>
    <item>
      <title>Re: Can not create Store Process from an EG-project with prompts</title>
      <link>https://communities.sas.com/t5/Developers/Can-not-create-Store-Process-from-an-EG-project-with-prompts/m-p/45797#M2886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had a similar issue and developed a workaround. &lt;/P&gt;&lt;P&gt; *Make certain that your code contains the following *ProcessBody;&amp;nbsp;&amp;nbsp; %stpbegin;&amp;nbsp;&amp;nbsp; %stpend; statements in the right places. &lt;/P&gt;&lt;P&gt; *Make certain that your code defines all macro variables as global.&amp;nbsp; This works best for me if I place the %global before the *ProcessBody;.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt; *Have a general understanding of the macro %_eg_WhereParam&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; *If your macro variable can contain many values, be sure to understand the macroname0, macroname and &lt;SPAN style="font-size: 13.3333330154419px;"&gt;&amp;amp;macroname_count macro variables.&amp;nbsp; My macro variable is named&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; brand.&amp;nbsp; The Stored Process prompt returned the macro variables "brand", "brand0" and "brand_count".&amp;nbsp; The number of brand variables I found are brand1 to brand&amp;amp;brand_count.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%macro bildin(bran=&amp;amp;brand.);&lt;/P&gt;&lt;P&gt;%let sp = ,;&lt;/P&gt;&lt;P&gt;%if %sysevalf(&amp;amp;brand_count) = %sysevalf(1) %then %do; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %let brandlst = "&amp;amp;bran.";&lt;/P&gt;&lt;P&gt;%end;&lt;/P&gt;&lt;P&gt;%else %do;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; %let brandlst =;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; %do k = 1 %to %sysevalf(&amp;amp;brand_count.);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %if &amp;amp;k. = 1 %then %let brandlst = %quote("&amp;amp;&amp;amp;brand&amp;amp;k.");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %else %let brandlst = %qsysfunc(catx(%quote(&amp;amp;sp.),&amp;amp;brandlst.,%QUOTE("&amp;amp;&amp;amp;brand&amp;amp;k.")));&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; %end;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; %if k = %sysevalf(&amp;amp;brand_count.) %then %do;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %let brandlst = %quote(&amp;amp;brandlst.);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; %end;&lt;/P&gt;&lt;P&gt;%end;&lt;/P&gt;&lt;P&gt;%mend bildin;&lt;/P&gt;&lt;P&gt;%bildin;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used the &amp;amp;brandlist macro this way. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; WHERE t1.BRAND NOT IS MISSING &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AND t1.BRAND IN&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ( &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %UNQUOTE(&amp;amp;BRANDLST.) &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ) &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2015 19:35:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Can-not-create-Store-Process-from-an-EG-project-with-prompts/m-p/45797#M2886</guid>
      <dc:creator>jwillis</dc:creator>
      <dc:date>2015-06-30T19:35:07Z</dc:date>
    </item>
  </channel>
</rss>

