<?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: sysparm option in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/sysparm-option/m-p/44629#M9156</link>
    <description>See &lt;A href="http://support.sas.com/documentation/cdl/en/hosto390/59577/HTML/default/mvs-init-custom.htm#mvs-init-sysops" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/hosto390/59577/HTML/default/mvs-init-custom.htm#mvs-init-sysops&lt;/A&gt; for information about system options in z/OS. Here's information about SYSPARM itself: &lt;A href="http://support.sas.com/documentation/cdl/en/mcrolref/59526/HTML/default/a000543608.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/mcrolref/59526/HTML/default/a000543608.htm&lt;/A&gt;.</description>
    <pubDate>Tue, 09 Sep 2008 19:34:07 GMT</pubDate>
    <dc:creator>Tim_SAS</dc:creator>
    <dc:date>2008-09-09T19:34:07Z</dc:date>
    <item>
      <title>sysparm option</title>
      <link>https://communities.sas.com/t5/SAS-Programming/sysparm-option/m-p/44624#M9151</link>
      <description>Hi, I've this code. Can anyone explain me how the sysparm option is resolving the macro program parameters? &lt;BR /&gt;
&lt;BR /&gt;
%macro master(qtr,date,prodate,doyrend);&lt;BR /&gt;
&lt;BR /&gt;
  options source1;&lt;BR /&gt;
...&lt;BR /&gt;
..&lt;BR /&gt;
...&lt;BR /&gt;
...&lt;BR /&gt;
%mend master;&lt;BR /&gt;
&lt;BR /&gt;
%master(%scan(&amp;amp;sysparm,1,'\'),%scan(&amp;amp;sysparm,2,'\'),%scan(&amp;amp;sysparm,3,'\'),%scan(&amp;amp;sysparm,4,'\'));&lt;BR /&gt;
&lt;BR /&gt;
endsas;</description>
      <pubDate>Tue, 09 Sep 2008 13:12:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/sysparm-option/m-p/44624#M9151</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-09-09T13:12:06Z</dc:date>
    </item>
    <item>
      <title>Re: sysparm option</title>
      <link>https://communities.sas.com/t5/SAS-Programming/sysparm-option/m-p/44625#M9152</link>
      <description>It seems that the macro program parameter will be entered as a sysparm delimited by a backslash. %scan returns the n'th word from a string delimited, in your case, by a backslash.&lt;BR /&gt;
&lt;BR /&gt;
Is that what you were asking for?&lt;BR /&gt;
&lt;BR /&gt;
/Linus</description>
      <pubDate>Tue, 09 Sep 2008 13:37:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/sysparm-option/m-p/44625#M9152</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2008-09-09T13:37:18Z</dc:date>
    </item>
    <item>
      <title>Re: sysparm option</title>
      <link>https://communities.sas.com/t5/SAS-Programming/sysparm-option/m-p/44626#M9153</link>
      <description>I was wondering what does &amp;amp;sysparm resolve to.</description>
      <pubDate>Tue, 09 Sep 2008 14:47:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/sysparm-option/m-p/44626#M9153</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-09-09T14:47:52Z</dc:date>
    </item>
    <item>
      <title>Re: sysparm option</title>
      <link>https://communities.sas.com/t5/SAS-Programming/sysparm-option/m-p/44627#M9154</link>
      <description>It resolves to the value you set to the -sysparm option at SAS invocation. It's the most common way to pass input parameters to a SAS batch job. It could look like this:&lt;BR /&gt;
&lt;BR /&gt;
sas -autoexec '/opt/sas/sas9/autoexec.sas' -config '/opt/sas/sas9/autoexec.sas' -sysparm '2008Q1\01Jan2008\03Jan2008\xxxx'&lt;BR /&gt;
&lt;BR /&gt;
/Linus</description>
      <pubDate>Tue, 09 Sep 2008 14:55:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/sysparm-option/m-p/44627#M9154</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2008-09-09T14:55:49Z</dc:date>
    </item>
    <item>
      <title>Re: sysparm option</title>
      <link>https://communities.sas.com/t5/SAS-Programming/sysparm-option/m-p/44628#M9155</link>
      <description>I want to run this in the mainframe OS in batch mode. What kind of a statement will I use to invoke sysparm varibale. How will I be specifying the value to it?&lt;BR /&gt;
&lt;BR /&gt;
If you could explain with an exapmle that would be great. &lt;BR /&gt;
&lt;BR /&gt;
Thanks,</description>
      <pubDate>Tue, 09 Sep 2008 17:00:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/sysparm-option/m-p/44628#M9155</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-09-09T17:00:46Z</dc:date>
    </item>
    <item>
      <title>Re: sysparm option</title>
      <link>https://communities.sas.com/t5/SAS-Programming/sysparm-option/m-p/44629#M9156</link>
      <description>See &lt;A href="http://support.sas.com/documentation/cdl/en/hosto390/59577/HTML/default/mvs-init-custom.htm#mvs-init-sysops" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/hosto390/59577/HTML/default/mvs-init-custom.htm#mvs-init-sysops&lt;/A&gt; for information about system options in z/OS. Here's information about SYSPARM itself: &lt;A href="http://support.sas.com/documentation/cdl/en/mcrolref/59526/HTML/default/a000543608.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/mcrolref/59526/HTML/default/a000543608.htm&lt;/A&gt;.</description>
      <pubDate>Tue, 09 Sep 2008 19:34:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/sysparm-option/m-p/44629#M9156</guid>
      <dc:creator>Tim_SAS</dc:creator>
      <dc:date>2008-09-09T19:34:07Z</dc:date>
    </item>
    <item>
      <title>Re: sysparm option</title>
      <link>https://communities.sas.com/t5/SAS-Programming/sysparm-option/m-p/44630#M9157</link>
      <description>You will need to review your site's SAS batch JCL procedure (PROC) to determine whether or not you have an explicit SYSPARM= JCL symbol or whether you must code an OPTIONS= JCL symbolic override, and supply the SAS OPTIONS/CONFIG setting for SYSPARM= within the OPTIONS parameter.  &lt;BR /&gt;
&lt;BR /&gt;
The SAS support website &lt;A href="http://support.sas.com/" target="_blank"&gt;http://support.sas.com/&lt;/A&gt;  has this very specific gem to answer your question:&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://support.sas.com/kb/22/376.html" target="_blank"&gt;http://support.sas.com/kb/22/376.html&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
But, again, the local site's SAS JCL PROC setup may require your adjustment.  Consider contacting your SAS System Administrator if needed.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
      <pubDate>Tue, 09 Sep 2008 20:37:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/sysparm-option/m-p/44630#M9157</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2008-09-09T20:37:14Z</dc:date>
    </item>
  </channel>
</rss>

