<?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 Running two sas job by  using /bin in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/Running-two-sas-job-by-using-bin/m-p/268988#M7464</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I would like to run two sas sessions under unix by using&amp;nbsp; /bin , like this :&lt;/P&gt;
&lt;DIV style="left: 144.04px; top: 1012.06px; font-size: 15.2px; font-family: monospace; transform: scaleX(1.02222);" data-canvas-width="110.39999999999996"&gt;data _null_;&lt;/DIV&gt;
&lt;DIV style="left: 751.483px; top: 1029.66px; font-size: 15.2px; font-family: monospace;"&gt;x&amp;nbsp;&amp;nbsp; /../../ 9.2/utilities/bin&amp;nbsp;&amp;nbsp; SAS '/../../path/pgm2.sas'&lt;/DIV&gt;
&lt;P&gt;&amp;amp;&amp;amp;;&lt;/P&gt;
&lt;P&gt;x&amp;nbsp;&amp;nbsp;&amp;nbsp; /../../ 9.2/utilities/bin&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SAS '/../../path/pgm2.sas'&lt;/P&gt;
&lt;DIV style="left: 760.683px; top: 1143.31px; font-size: 15.2px; font-family: monospace; transform: scaleX(1.02222);" data-canvas-width="27.599999999999994"&gt;&amp;amp;&amp;amp;;&lt;/DIV&gt;
&lt;DIV style="left: 144.04px; top: 1160.91px; font-size: 15.2px; font-family: monospace; transform: scaleX(1.02222);" data-canvas-width="36.8"&gt;run;&lt;/DIV&gt;
&lt;DIV style="left: 144.04px; top: 1160.91px; font-size: 15.2px; font-family: monospace; transform: scaleX(1.02222);" data-canvas-width="36.8"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV style="left: 144.04px; top: 1160.91px; font-size: 15.2px; font-family: monospace; transform: scaleX(1.02222);" data-canvas-width="36.8"&gt;It does not work. Please, why ?&lt;/DIV&gt;
&lt;DIV style="left: 144.04px; top: 1160.91px; font-size: 15.2px; font-family: monospace; transform: scaleX(1.02222);" data-canvas-width="36.8"&gt;I have look at this link : &lt;A href="http://support.sas.com/resources/papers/proceedings10/278-2010.pdf" target="_blank"&gt;http://support.sas.com/resources/papers/proceedings10/278-2010.pdf&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="left: 144.04px; top: 1160.91px; font-size: 15.2px; font-family: monospace; transform: scaleX(1.02222);" data-canvas-width="36.8"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
    <pubDate>Sat, 07 May 2016 10:02:51 GMT</pubDate>
    <dc:creator>LineMoon</dc:creator>
    <dc:date>2016-05-07T10:02:51Z</dc:date>
    <item>
      <title>Running two sas job by  using /bin</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Running-two-sas-job-by-using-bin/m-p/268988#M7464</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I would like to run two sas sessions under unix by using&amp;nbsp; /bin , like this :&lt;/P&gt;
&lt;DIV style="left: 144.04px; top: 1012.06px; font-size: 15.2px; font-family: monospace; transform: scaleX(1.02222);" data-canvas-width="110.39999999999996"&gt;data _null_;&lt;/DIV&gt;
&lt;DIV style="left: 751.483px; top: 1029.66px; font-size: 15.2px; font-family: monospace;"&gt;x&amp;nbsp;&amp;nbsp; /../../ 9.2/utilities/bin&amp;nbsp;&amp;nbsp; SAS '/../../path/pgm2.sas'&lt;/DIV&gt;
&lt;P&gt;&amp;amp;&amp;amp;;&lt;/P&gt;
&lt;P&gt;x&amp;nbsp;&amp;nbsp;&amp;nbsp; /../../ 9.2/utilities/bin&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SAS '/../../path/pgm2.sas'&lt;/P&gt;
&lt;DIV style="left: 760.683px; top: 1143.31px; font-size: 15.2px; font-family: monospace; transform: scaleX(1.02222);" data-canvas-width="27.599999999999994"&gt;&amp;amp;&amp;amp;;&lt;/DIV&gt;
&lt;DIV style="left: 144.04px; top: 1160.91px; font-size: 15.2px; font-family: monospace; transform: scaleX(1.02222);" data-canvas-width="36.8"&gt;run;&lt;/DIV&gt;
&lt;DIV style="left: 144.04px; top: 1160.91px; font-size: 15.2px; font-family: monospace; transform: scaleX(1.02222);" data-canvas-width="36.8"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV style="left: 144.04px; top: 1160.91px; font-size: 15.2px; font-family: monospace; transform: scaleX(1.02222);" data-canvas-width="36.8"&gt;It does not work. Please, why ?&lt;/DIV&gt;
&lt;DIV style="left: 144.04px; top: 1160.91px; font-size: 15.2px; font-family: monospace; transform: scaleX(1.02222);" data-canvas-width="36.8"&gt;I have look at this link : &lt;A href="http://support.sas.com/resources/papers/proceedings10/278-2010.pdf" target="_blank"&gt;http://support.sas.com/resources/papers/proceedings10/278-2010.pdf&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="left: 144.04px; top: 1160.91px; font-size: 15.2px; font-family: monospace; transform: scaleX(1.02222);" data-canvas-width="36.8"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Sat, 07 May 2016 10:02:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Running-two-sas-job-by-using-bin/m-p/268988#M7464</guid>
      <dc:creator>LineMoon</dc:creator>
      <dc:date>2016-05-07T10:02:51Z</dc:date>
    </item>
    <item>
      <title>Re: Running two sas job by  using /bin</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Running-two-sas-job-by-using-bin/m-p/268998#M7465</link>
      <description>&lt;P&gt;The X Statement works in Open Code and does not need a data step around it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To catch all messages from running an external command, I recommend the filename pipe method:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;filename oscmd pipe "system_command_you_want_to_run 2&amp;gt;&amp;amp;1";

data _null_;
infile oscmd;
input;
put _infile_;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The 2&amp;gt;&amp;amp;1 reroutes stderr to stdout, therefore you will see all system responses in your log.&lt;/P&gt;</description>
      <pubDate>Sat, 07 May 2016 10:55:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Running-two-sas-job-by-using-bin/m-p/268998#M7465</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2016-05-07T10:55:25Z</dc:date>
    </item>
    <item>
      <title>Re: Running two sas job by  using /bin</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Running-two-sas-job-by-using-bin/m-p/268999#M7466</link>
      <description>&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;I will use that..&lt;/P&gt;
&lt;P&gt;But I think , we can use /bin to run a session in batch? my 9.2/utilities/bin is it correct ?&lt;/P&gt;</description>
      <pubDate>Sat, 07 May 2016 11:10:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Running-two-sas-job-by-using-bin/m-p/268999#M7466</guid>
      <dc:creator>LineMoon</dc:creator>
      <dc:date>2016-05-07T11:10:00Z</dc:date>
    </item>
    <item>
      <title>Re: Running two sas job by  using /bin</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Running-two-sas-job-by-using-bin/m-p/269005#M7467</link>
      <description>Only you or someone at your site known where SAS is installed. &lt;BR /&gt;Then the seems that you are mixing a relative search path with .. but given the initial / that becomes an absolute one.&lt;BR /&gt;Also, there is a space  in front of 9.2 and lots of spaces after bin, should pobably be a / instead.</description>
      <pubDate>Sat, 07 May 2016 14:32:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Running-two-sas-job-by-using-bin/m-p/269005#M7467</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2016-05-07T14:32:45Z</dc:date>
    </item>
  </channel>
</rss>

