<?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: list of jobs from putty to excel in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/list-of-jobs-from-putty-to-excel/m-p/308740#M66293</link>
    <description>&lt;P&gt;Why create an Excel file when putting the report on the web will be much easier? Then you don't have to deal with email attachments, you only need to notify users that the report has been updated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To get the output of the command into SAS, do this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname oscmd pipe "bjobs -u all";

data jobs;
infile oscmd;
input
  ...... /* list variables, positions and formats according to what the bjobs output looks like */
;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Of course, you need xcmd capability to run external commands.&lt;/P&gt;</description>
    <pubDate>Wed, 02 Nov 2016 12:44:56 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2016-11-02T12:44:56Z</dc:date>
    <item>
      <title>list of jobs from putty to excel</title>
      <link>https://communities.sas.com/t5/SAS-Programming/list-of-jobs-from-putty-to-excel/m-p/308278#M66291</link>
      <description>&lt;P&gt;Hello friends, please help if possible,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I&amp;nbsp;am trying to get list of jobs (bjobs -u all)&amp;nbsp;running on grid (sas 9.4 Linux) environment to excel (via putty) to see how many users having long running jobs and then attach excel report to email to send all users. is there a way to do it? I want to do all automatic fashion - may be via EG code or putty command lines or so? is there a way to do it? - thank you&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2016 14:18:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/list-of-jobs-from-putty-to-excel/m-p/308278#M66291</guid>
      <dc:creator>woo</dc:creator>
      <dc:date>2016-10-31T14:18:22Z</dc:date>
    </item>
    <item>
      <title>Re: list of jobs from putty to excel</title>
      <link>https://communities.sas.com/t5/SAS-Programming/list-of-jobs-from-putty-to-excel/m-p/308740#M66293</link>
      <description>&lt;P&gt;Why create an Excel file when putting the report on the web will be much easier? Then you don't have to deal with email attachments, you only need to notify users that the report has been updated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To get the output of the command into SAS, do this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname oscmd pipe "bjobs -u all";

data jobs;
infile oscmd;
input
  ...... /* list variables, positions and formats according to what the bjobs output looks like */
;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Of course, you need xcmd capability to run external commands.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Nov 2016 12:44:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/list-of-jobs-from-putty-to-excel/m-p/308740#M66293</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2016-11-02T12:44:56Z</dc:date>
    </item>
  </channel>
</rss>

