<?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 Need -sysparm more than 200 characters in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Need-sysparm-more-than-200-characters/m-p/282185#M57317</link>
    <description>&lt;LI-SPOILER&gt;&amp;nbsp;&lt;/LI-SPOILER&gt;&lt;P&gt;Hello. I am running sas program on windows in batch. And I need to pass parameters to my .sas program.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried sysparm option, but it has limit in 200 char.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there another way to solve my problem?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My sas version is 9.3&lt;/P&gt;</description>
    <pubDate>Tue, 05 Jul 2016 15:51:27 GMT</pubDate>
    <dc:creator>ilya_1991</dc:creator>
    <dc:date>2016-07-05T15:51:27Z</dc:date>
    <item>
      <title>Need -sysparm more than 200 characters</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-sysparm-more-than-200-characters/m-p/282185#M57317</link>
      <description>&lt;LI-SPOILER&gt;&amp;nbsp;&lt;/LI-SPOILER&gt;&lt;P&gt;Hello. I am running sas program on windows in batch. And I need to pass parameters to my .sas program.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried sysparm option, but it has limit in 200 char.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there another way to solve my problem?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My sas version is 9.3&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2016 15:51:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-sysparm-more-than-200-characters/m-p/282185#M57317</guid>
      <dc:creator>ilya_1991</dc:creator>
      <dc:date>2016-07-05T15:51:27Z</dc:date>
    </item>
    <item>
      <title>Re: Need -sysparm more than 200 characters</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-sysparm-more-than-200-characters/m-p/282197#M57320</link>
      <description>&lt;P&gt;Store your parameters in a set of environment variables and retrieve them in the SAS program with %sysget.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2016 16:14:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-sysparm-more-than-200-characters/m-p/282197#M57320</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2016-07-05T16:14:14Z</dc:date>
    </item>
    <item>
      <title>Re: Need -sysparm more than 200 characters</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-sysparm-more-than-200-characters/m-p/282260#M57338</link>
      <description>&lt;P&gt;I tried, but in the log I see the following message: wrong argument to function sysget&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2016 19:39:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-sysparm-more-than-200-characters/m-p/282260#M57338</guid>
      <dc:creator>ilya_1991</dc:creator>
      <dc:date>2016-07-05T19:39:40Z</dc:date>
    </item>
    <item>
      <title>Re: Need -sysparm more than 200 characters</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-sysparm-more-than-200-characters/m-p/282281#M57344</link>
      <description>&lt;P&gt;Ilya,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I like Kurt's response and bet that you do too.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If not, another way to do this is to store the parameters in a flat file.&amp;nbsp; The first thing your program could do would be to FILENAME the flat file and then read the flat file in a DATA _NULL_ step via an INFILE statement.&amp;nbsp; That step could eat the flat file and assign the parameters to macro variables that would be used further along in the program.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could that work for you?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2016 20:24:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-sysparm-more-than-200-characters/m-p/282281#M57344</guid>
      <dc:creator>MMMIIIIKKKKEEEE</dc:creator>
      <dc:date>2016-07-05T20:24:15Z</dc:date>
    </item>
    <item>
      <title>Re: Need -sysparm more than 200 characters</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-sysparm-more-than-200-characters/m-p/282284#M57345</link>
      <description>&lt;P&gt;Post your code. SYSGET works only in a DATA step or in a %SYSFUNC. %SYSGET is the macro version, for example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;
  MyEnvVar = sysget('MyEnvVar');
run;

%let MyEnvVar = %sysget(MyEnvVar);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 05 Jul 2016 20:31:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-sysparm-more-than-200-characters/m-p/282284#M57345</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2016-07-05T20:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: Need -sysparm more than 200 characters</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-sysparm-more-than-200-characters/m-p/282344#M57381</link>
      <description>&lt;P&gt;Thanks for reply.&amp;nbsp;&lt;BR /&gt;The problem was in the way I parsed parameters.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;&lt;A href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13615" target="_self"&gt;MMMMIIIIKKKKEEEE&lt;/A&gt;, very interesting proposition, I'l try.&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2016 05:38:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-sysparm-more-than-200-characters/m-p/282344#M57381</guid>
      <dc:creator>ilya_1991</dc:creator>
      <dc:date>2016-07-06T05:38:45Z</dc:date>
    </item>
    <item>
      <title>Re: Need -sysparm more than 200 characters</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-sysparm-more-than-200-characters/m-p/282345#M57382</link>
      <description>&lt;P&gt;Do we have some limitations on variable length in -set option?&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2016 05:43:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-sysparm-more-than-200-characters/m-p/282345#M57382</guid>
      <dc:creator>ilya_1991</dc:creator>
      <dc:date>2016-07-06T05:43:03Z</dc:date>
    </item>
  </channel>
</rss>

