<?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 How to specify multiple files to the -config in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-specify-multiple-files-to-the-config/m-p/358774#M84333</link>
    <description>&lt;P&gt;I am trying to make use of the -confi g option to enable use of the UTF8 sas on linux.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I cannot change the sas link which points to bin/sas.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sas -config "file.cfg file2.cfg"&lt;/P&gt;&lt;P&gt;sas -config (file.cfg file2.cfg)&lt;/P&gt;&lt;P&gt;sas -config 'file1.cfg, file2.cfg'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All fail. &amp;nbsp;Any suggestions?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 15 May 2017 15:49:44 GMT</pubDate>
    <dc:creator>abbieagocs</dc:creator>
    <dc:date>2017-05-15T15:49:44Z</dc:date>
    <item>
      <title>How to specify multiple files to the -config</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-specify-multiple-files-to-the-config/m-p/358774#M84333</link>
      <description>&lt;P&gt;I am trying to make use of the -confi g option to enable use of the UTF8 sas on linux.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I cannot change the sas link which points to bin/sas.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sas -config "file.cfg file2.cfg"&lt;/P&gt;&lt;P&gt;sas -config (file.cfg file2.cfg)&lt;/P&gt;&lt;P&gt;sas -config 'file1.cfg, file2.cfg'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All fail. &amp;nbsp;Any suggestions?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 May 2017 15:49:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-specify-multiple-files-to-the-config/m-p/358774#M84333</guid>
      <dc:creator>abbieagocs</dc:creator>
      <dc:date>2017-05-15T15:49:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to specify multiple files to the -config</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-specify-multiple-files-to-the-config/m-p/358781#M84336</link>
      <description>&lt;P&gt;Why do you need two config files?&lt;/P&gt;
&lt;P&gt;Prepare each config filke with all requiered options, adapted to your needs,&lt;/P&gt;
&lt;P&gt;and submit with the one you want, either file1.cfg or file2.cfg&lt;/P&gt;</description>
      <pubDate>Mon, 15 May 2017 16:20:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-specify-multiple-files-to-the-config/m-p/358781#M84336</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2017-05-15T16:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to specify multiple files to the -config</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-specify-multiple-files-to-the-config/m-p/358994#M84405</link>
      <description>&lt;P&gt;I could see, for example, a global CONFIG file and then you want to update the config based on specific requirements for a given project, thus two CONFIG files; although you could also combine these into a single CONFIG file for this specific project, which seems like it eliminates the problem of multiple CONFIG files.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Nevertheless, the SAS documentation for z/OS states&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="xis-note"&gt;&lt;A id="n1q4ec86ok0ji3n1n9whyzwr2str" target="_blank"&gt;&lt;/A&gt;&lt;SPAN class="xis-noteGenText"&gt;Note: &lt;/SPAN&gt;SAS system options that you specify in the user configuration file override system options that are specified in the system configuration file.&lt;/DIV&gt;
&lt;DIV class="xis-paragraph"&gt;&lt;A id="p0tcioir4a1qf0n1g0utgv9bc06x" target="_blank"&gt;&lt;/A&gt;Normally, CONFIG is specified as a PROC option or REXX or CLIST option, and not as a SAS command line system option. However, it can be specified as a SAS command line option. Unlike most such options, if there are multiple instances of CONFIG= on the command line, all instances are processed instead of just the last one. You can take advantage of this to mix types of configuration files that cannot be concatenated. For example, to append a private UNIX configuration file named ~/sas.cfg in batch JCL, use one of the following statements:
&lt;PRE class="xis-codeFragment"&gt;//         OPTIONS='CONFIG=CONFIG CONFIG="~/sas.cfg"'
&lt;/PRE&gt;
or
&lt;PRE class="xis-codeFragment"&gt;//         OPTIONS='CONFIG=(CONFIG "~/sas.cfg")'
&lt;/PRE&gt;
Explicitly specifying the default of CONFIG=CONFIG allows the second CONFIG= value to be appended to the default instead of superseding it.&lt;/DIV&gt;
&lt;DIV class="xis-paragraph"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="xis-paragraph"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;As I have never tried this, I can't comment further on this matter. I also don't know if this works for other operating systems.&lt;/P&gt;</description>
      <pubDate>Tue, 16 May 2017 12:50:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-specify-multiple-files-to-the-config/m-p/358994#M84405</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2017-05-16T12:50:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to specify multiple files to the -config</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-specify-multiple-files-to-the-config/m-p/359026#M84426</link>
      <description>&lt;P&gt;&lt;A href="http://support.sas.com/kb/51/586.html" target="_blank"&gt;http://support.sas.com/kb/51/586.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 May 2017 13:47:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-specify-multiple-files-to-the-config/m-p/359026#M84426</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2017-05-16T13:47:46Z</dc:date>
    </item>
  </channel>
</rss>

