<?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 all attributes from the scheduled job. in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/List-all-attributes-from-the-scheduled-job/m-p/338106#M7723</link>
    <description>&lt;P&gt;SAS is installed on Linux and all jobs are deployed on LSF/Platform Manager.&lt;/P&gt;</description>
    <pubDate>Sat, 04 Mar 2017 10:07:04 GMT</pubDate>
    <dc:creator>aj34321</dc:creator>
    <dc:date>2017-03-04T10:07:04Z</dc:date>
    <item>
      <title>List all attributes from the scheduled job.</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/List-all-attributes-from-the-scheduled-job/m-p/336850#M7714</link>
      <description>&lt;P&gt;Hello Experts,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a requirement in which I need to list down all the dependencies from a scheduled job on metadata.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;These dependencies are found on the Dependency tab of a job property in Schedule Manager.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Would also love to read all other attributes from tab General, Attributes and Job Properties.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can anyone guide me on how to retreive this for a given job or all jobs in&amp;nbsp;a tabular format.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anil&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2017 05:56:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/List-all-attributes-from-the-scheduled-job/m-p/336850#M7714</guid>
      <dc:creator>aj34321</dc:creator>
      <dc:date>2017-03-01T05:56:57Z</dc:date>
    </item>
    <item>
      <title>Re: List all attributes from the scheduled job.</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/List-all-attributes-from-the-scheduled-job/m-p/337822#M7717</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/37860"&gt;@aj34321&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;a question. Where do you schedule your jobs? To your Operating system, to LSF/Process Manager or some other scheduler?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance,&lt;/P&gt;
&lt;P&gt;Juan&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2017 13:38:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/List-all-attributes-from-the-scheduled-job/m-p/337822#M7717</guid>
      <dc:creator>JuanS_OCS</dc:creator>
      <dc:date>2017-03-03T13:38:05Z</dc:date>
    </item>
    <item>
      <title>Re: List all attributes from the scheduled job.</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/List-all-attributes-from-the-scheduled-job/m-p/338106#M7723</link>
      <description>&lt;P&gt;SAS is installed on Linux and all jobs are deployed on LSF/Platform Manager.&lt;/P&gt;</description>
      <pubDate>Sat, 04 Mar 2017 10:07:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/List-all-attributes-from-the-scheduled-job/m-p/338106#M7723</guid>
      <dc:creator>aj34321</dc:creator>
      <dc:date>2017-03-04T10:07:04Z</dc:date>
    </item>
    <item>
      <title>Re: List all attributes from the scheduled job.</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/List-all-attributes-from-the-scheduled-job/m-p/338306#M7730</link>
      <description>&lt;P&gt;Did you checked the xml from your jobs in the Process Manager itself? They generally give a lot of information, although not sure it they provide all what you want.&lt;/P&gt;
&lt;P&gt;And good thing of XMLs, you can process them easily &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 05 Mar 2017 21:21:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/List-all-attributes-from-the-scheduled-job/m-p/338306#M7730</guid>
      <dc:creator>JuanS_OCS</dc:creator>
      <dc:date>2017-03-05T21:21:41Z</dc:date>
    </item>
    <item>
      <title>Re: List all attributes from the scheduled job.</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/List-all-attributes-from-the-scheduled-job/m-p/338334#M7732</link>
      <description>&lt;P&gt;Hi.. I'm very new to Metadata querying / reporting hence i'm not sure how this XML can be retreived. If you can guide the steps would be really helpful. Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Mar 2017 01:33:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/List-all-attributes-from-the-scheduled-job/m-p/338334#M7732</guid>
      <dc:creator>aj34321</dc:creator>
      <dc:date>2017-03-06T01:33:26Z</dc:date>
    </item>
    <item>
      <title>Re: List all attributes from the scheduled job.</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/List-all-attributes-from-the-scheduled-job/m-p/338368#M7733</link>
      <description>&lt;P&gt;I wrote a short presentation in 2007 about&amp;nbsp;&lt;A href="https://platformadmin.com/blogs/paul/2010/07/metadata-reporting/" target="_self"&gt;Metadata Reporting with SAS Software&lt;/A&gt;&amp;nbsp;that included a couple of sample programs that use SAS proc metadata to query metadata, read the XML response into a SAS table, using the SAS XML Libname Engine (SXLE), that can then be used in SAS reports. That might help you get started. You might also notice the presentation included a couple of screenshots showing sample reports on jobs.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For more information on metadata reporting&amp;nbsp;see the SAS documentation, specifically:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/lrmeta/70119/HTML/default/viewer.htm#titlepage.htm" target="_self"&gt;SAS 9.4 Language Interfaces to Metadata&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/omaref/68021/HTML/default/viewer.htm#titlepage.htm" target="_self"&gt;SAS 9.4 Open Metadata Interface: Reference and Usage&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/omamodref/67417/HTML/default/viewer.htm#titlepage.htm" target="_self"&gt;SAS 9.4 Metadata Model: Reference&lt;/A&gt;&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Mon, 06 Mar 2017 07:46:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/List-all-attributes-from-the-scheduled-job/m-p/338368#M7733</guid>
      <dc:creator>PaulHomes</dc:creator>
      <dc:date>2017-03-06T07:46:20Z</dc:date>
    </item>
    <item>
      <title>Re: List all attributes from the scheduled job.</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/List-all-attributes-from-the-scheduled-job/m-p/338377#M7734</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/37860"&gt;@aj34321&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;about your question regarding the XML, you can find it under your Process Manager folder. Under this folder, you can find &lt;STRONG&gt;/work/events/js.events&lt;/STRONG&gt;. This file describes all the events that will be triggered in your system. Dates are on an integer format, or float, but the interesting fact of this file is that it will give you a good overview of what is scheduled in your system,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Additionally to this file, under your LSF_Shared folder, you can find the folder &lt;STRONG&gt;/work/your_cluster/logdir/ &lt;/STRONG&gt;and inside this folder, the files&lt;STRONG&gt; lsb.events &lt;/STRONG&gt;and&lt;STRONG&gt; lsb.acct&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;In opposition to the previous file, these are not an XML file, but a space separated file. These files are interesting because they includes very detailed onformation of every job&amp;nbsp;that has run on your LSF system as: user, resources, host, job, full command (log, program, etc), and execution times, and other details. Those last files you can just import them into Excel or a SAS dataset, to be processed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.ibm.com/support/knowledgecenter/en/SSETD4_9.1.2/lsf_config_ref/lsb.acct.5.html" target="_blank"&gt;https://www.ibm.com/support/knowledgecenter/en/SSETD4_9.1.2/lsf_config_ref/lsb.acct.5.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.ibm.com/support/knowledgecenter/en/SSETD4_9.1.2/lsf_config_ref/lsb.events.5.html" target="_blank"&gt;https://www.ibm.com/support/knowledgecenter/en/SSETD4_9.1.2/lsf_config_ref/lsb.events.5.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Mar 2017 09:10:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/List-all-attributes-from-the-scheduled-job/m-p/338377#M7734</guid>
      <dc:creator>JuanS_OCS</dc:creator>
      <dc:date>2017-03-06T09:10:50Z</dc:date>
    </item>
    <item>
      <title>Re: List all attributes from the scheduled job.</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/List-all-attributes-from-the-scheduled-job/m-p/338378#M7735</link>
      <description>&lt;P&gt;Great addition&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/18432"&gt;@PaulHomes&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;as I previously mentioned, SAS Metadata querying is a great solution (and I would say, the best one), althougth I believe it is a bit advanced topic, specially for a newcomer to the SAS metadata. It is often a challenge to me &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/37860"&gt;@aj34321&lt;/a&gt;, I subscribe to what was proposed by Paul: give a try to query the Metadata, and if you feel yourself blocked, below you have a good alternative.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Mar 2017 09:18:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/List-all-attributes-from-the-scheduled-job/m-p/338378#M7735</guid>
      <dc:creator>JuanS_OCS</dc:creator>
      <dc:date>2017-03-06T09:18:41Z</dc:date>
    </item>
    <item>
      <title>Re: List all attributes from the scheduled job.</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/List-all-attributes-from-the-scheduled-job/m-p/338619#M7746</link>
      <description>&lt;P&gt;I would agree with&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/35204"&gt;@JuanS_OCS&lt;/a&gt;&amp;nbsp;in that if the information you need is readily available in those Platform Process Manager / LSF files then I would choose that method. Pulling basic attributes out of metadata using the SAS Open Metadata Interface is reasonably straightforward, but once you have to start chasing object associations, if gets complex very quickly. The SAS metadata model is fine grained and rich but&amp;nbsp;it's a very steep learning curve and I wouldn't underestimate the amount of time/effort required to&amp;nbsp;go beyond simple queries.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Mar 2017 23:59:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/List-all-attributes-from-the-scheduled-job/m-p/338619#M7746</guid>
      <dc:creator>PaulHomes</dc:creator>
      <dc:date>2017-03-06T23:59:19Z</dc:date>
    </item>
    <item>
      <title>Re: List all attributes from the scheduled job.</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/List-all-attributes-from-the-scheduled-job/m-p/338718#M7758</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/37860"&gt;@aj34321&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;As can be read from the replies from both&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/35204"&gt;@JuanS_OCS&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/18432"&gt;@PaulHomes&lt;/a&gt;&amp;nbsp;there are several ways to obtain the information.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Personally I am more in favour to obtaining the information through the metadata API using SAS since this is were basically your information resides. However it will indeed take some time to learn and find your way, although once found it surely gets more easier and will open a great way of also accessing and reporting on the other information that can be found in the SAS metadata.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I work for a&amp;nbsp;dedicated SAS Partner and we have developed a tool that provides real time information on flows and jobs that are registered and submitted. The information is obtained from the metadata using base SAS and SAS SCL code.It provides information on history but also real time information while the flow is running.&lt;/P&gt;
&lt;P&gt;We, unfortunately, only have a video giving an impression of an earlier release of the tool which you can find &lt;A title="EOM Job Monitor" href="https://www.youtube.com/watch?v=sHTce8qgxsU" target="_blank"&gt;here&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The latest version is available on &lt;A title="GitHub Job Monitor" href="https://github.com/bheinsius/eom-sas-dimon" target="_blank"&gt;GitHub&lt;/A&gt; and is shared under the GNU 3 License.&lt;/P&gt;
&lt;P&gt;Feel free to check it out.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind regards,&lt;/P&gt;
&lt;P&gt;--Resa&lt;/P&gt;</description>
      <pubDate>Tue, 07 Mar 2017 08:58:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/List-all-attributes-from-the-scheduled-job/m-p/338718#M7758</guid>
      <dc:creator>Resa</dc:creator>
      <dc:date>2017-03-07T08:58:39Z</dc:date>
    </item>
  </channel>
</rss>

