<?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: Question regarding sysparm in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Question-regarding-sysparm/m-p/531800#M145636</link>
    <description>&lt;P&gt;Yes! A batch from a scheduling program. Thank you! I have now find where the -sysparm and the values for it in other two files. I'm still not sure how the sysparm works but hopefully with more experience and learning I might be able to write code using it one day.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;</description>
    <pubDate>Thu, 31 Jan 2019 20:20:33 GMT</pubDate>
    <dc:creator>cosmid</dc:creator>
    <dc:date>2019-01-31T20:20:33Z</dc:date>
    <item>
      <title>Question regarding sysparm</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Question-regarding-sysparm/m-p/531713#M145585</link>
      <description>&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;options&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;nobomfile&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;; &lt;/FONT&gt;&lt;FONT color="#008000" face="Courier New" size="2"&gt;*byte-order mark;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;%let&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; progDir=&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;%scan&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;(&amp;amp;sysparm.,1,'|'); &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;%let&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; program=&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;%scan&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;(&amp;amp;sysparm.,4,'|');&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;%let&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; dataYear=&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;%scan&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;(&amp;amp;sysparm.,5,'|');&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;Hi, above is the first&amp;nbsp;few lines of a SAS code. I know it's scanning for words by position separated by |, 1st, 4th, and 5th words were assigned to the variables. &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;I can' understand the definition: SYSPARM enables you to pass a character string from the operating environment to SAS program steps and provides a means of accessing or using the string while a program is executing.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;Since the default value for sysparm is null then where&amp;nbsp;does the value for &amp;amp;sysparm come from? Is another program ran before or maybe in parallel with this program and sysparm gets the value from there?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;Thanks in advance!&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Jan 2019 17:01:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Question-regarding-sysparm/m-p/531713#M145585</guid>
      <dc:creator>cosmid</dc:creator>
      <dc:date>2019-01-31T17:01:49Z</dc:date>
    </item>
    <item>
      <title>Re: Question regarding sysparm</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Question-regarding-sysparm/m-p/531757#M145616</link>
      <description>&lt;P&gt;The value would come from the command string that initiates SAS.&lt;/P&gt;
&lt;P&gt;For example the destop Icon I use to start SAS has the TARGET&amp;nbsp;property of&lt;/P&gt;
&lt;PRE&gt;"C:\Program Files\SASHome\SASFoundation\9.4\sas.exe" -CONFIG "C:\Program Files\SASHome\SASFoundation\9.4\nls\en\sasv9.cfg"&lt;/PRE&gt;
&lt;P&gt;That is the command string.&lt;/P&gt;
&lt;P&gt;If I wanted to add a sysparm option available every time I clicked on that icon would add something like&lt;/P&gt;
&lt;PRE&gt;-sysparm= "list of words"&lt;/PRE&gt;
&lt;P&gt;This could be handy if I wanted to have different Icons on the desktop and pass different values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also if a batch program is used to start SAS, possibly from a scheduling program as one example, then you could add the -sysparm option to the command line. Your batch program generator might pass different options. In the scheduler example I might want something different passed at "morning" program than for an "evening" program start.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Jan 2019 18:54:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Question-regarding-sysparm/m-p/531757#M145616</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-01-31T18:54:06Z</dc:date>
    </item>
    <item>
      <title>Re: Question regarding sysparm</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Question-regarding-sysparm/m-p/531800#M145636</link>
      <description>&lt;P&gt;Yes! A batch from a scheduling program. Thank you! I have now find where the -sysparm and the values for it in other two files. I'm still not sure how the sysparm works but hopefully with more experience and learning I might be able to write code using it one day.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;</description>
      <pubDate>Thu, 31 Jan 2019 20:20:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Question-regarding-sysparm/m-p/531800#M145636</guid>
      <dc:creator>cosmid</dc:creator>
      <dc:date>2019-01-31T20:20:33Z</dc:date>
    </item>
    <item>
      <title>Re: Question regarding sysparm</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Question-regarding-sysparm/m-p/531816#M145645</link>
      <description>&lt;P&gt;The SYSPARM is on of those options that is very operationally dependent. I have used SAS off and on for over 30 years and never needed it. I did test it once but my organizations have never had a need for such.&amp;nbsp; -SYSIN has been another matter though. &lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://communities.sas.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Jan 2019 21:14:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Question-regarding-sysparm/m-p/531816#M145645</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-01-31T21:14:30Z</dc:date>
    </item>
  </channel>
</rss>

