<?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: _WEBIN_ macro variables are not being created when attempting to upload a file using a stored process in Developers</title>
    <link>https://communities.sas.com/t5/Developers/WEBIN-macro-variables-are-not-being-created-when-attempting-to/m-p/94220#M3612</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It turns out that the space after "multipart" makes a difference.&amp;nbsp; It seems several websites had a space which came over during a copy/paste.&lt;/P&gt;&lt;P&gt;enctype="multipart /form-data"&amp;gt;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Apr 2013 20:13:25 GMT</pubDate>
    <dc:creator>BenB</dc:creator>
    <dc:date>2013-04-02T20:13:25Z</dc:date>
    <item>
      <title>_WEBIN_ macro variables are not being created when attempting to upload a file using a stored process</title>
      <link>https://communities.sas.com/t5/Developers/WEBIN-macro-variables-are-not-being-created-when-attempting-to/m-p/94219#M3611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to use this information&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://support.sas.com/documentation/cdl/en/stpug/61271/HTML/default/viewer.htm#a003254547.htm"&gt;http://support.sas.com/documentation/cdl/en/stpug/61271/HTML/default/viewer.htm#a003254547.htm&lt;/A&gt; (Example 1: Uploading a Single File) to allow a user to upload a file.&amp;nbsp; When I use the example code though, I get an error referring to the _WEBIN_ macro variables (that they are missing).&amp;nbsp; I tried printing the variables that are created and there aren't any _WEBIN_ variable, even though other macro variables I created show up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13649078316523347" jivemacro_uid="_13649078316523347"&gt;
&lt;P&gt;&amp;lt;html&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;form action="&lt;A class="jive-link-external-small" href="http://MYSASSERVER/SASStoredProcess/do"&gt;http://MYSASSERVER/SASStoredProcess/do&lt;/A&gt;" method="post" enctype="multipart /form-data"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;input type="hidden" NAME="_program" value="/Stored Processes/CLB_MIS/clbo_mis_attachment"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;table border="0" cellpadding="5"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;tr&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;th&amp;gt;Choose a file to upload:&amp;lt;/th&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;td&amp;gt;&amp;lt;input type="file" name="myfile"&amp;gt;&amp;lt;/td&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;/tr&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;tr&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;td colspan="2" align="center"&amp;gt;&amp;lt;input type="submit" value="OK"&amp;gt;&amp;lt;INPUT TYPE="CHECKBOX" NAME="_debug" VALUE="log"&amp;gt;&amp;lt;/td&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;/tr&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;/table&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;/form&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;/html&amp;gt;&lt;/P&gt;

&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been using this in the stored process to check for the _WEBIN macro variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13649078315904034" jivemacro_uid="_13649078315904034"&gt;
&lt;P&gt;proc sql;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; select&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; scope&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; , name&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; , resolve(value) as value&lt;/P&gt;
&lt;P&gt;&amp;nbsp; from&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; dictionary.macros&lt;/P&gt;
&lt;P&gt;where&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; scope = "GLOBAL"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; and name like "/_WEBIN%" escape "/"&lt;/P&gt;
&lt;P&gt;&amp;nbsp; order by&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; name&lt;/P&gt;
&lt;P&gt;&amp;nbsp; ;&lt;/P&gt;
&lt;P&gt;quit;&lt;/P&gt;


&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions on what to change?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Apr 2013 19:27:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/WEBIN-macro-variables-are-not-being-created-when-attempting-to/m-p/94219#M3611</guid>
      <dc:creator>BenB</dc:creator>
      <dc:date>2013-04-01T19:27:23Z</dc:date>
    </item>
    <item>
      <title>Re: _WEBIN_ macro variables are not being created when attempting to upload a file using a stored process</title>
      <link>https://communities.sas.com/t5/Developers/WEBIN-macro-variables-are-not-being-created-when-attempting-to/m-p/94220#M3612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It turns out that the space after "multipart" makes a difference.&amp;nbsp; It seems several websites had a space which came over during a copy/paste.&lt;/P&gt;&lt;P&gt;enctype="multipart /form-data"&amp;gt;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Apr 2013 20:13:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/WEBIN-macro-variables-are-not-being-created-when-attempting-to/m-p/94220#M3612</guid>
      <dc:creator>BenB</dc:creator>
      <dc:date>2013-04-02T20:13:25Z</dc:date>
    </item>
  </channel>
</rss>

