<?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: Read job execution order from metadata in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/Read-job-execution-order-from-metadata/m-p/835794#M25146</link>
    <description>&lt;P&gt;Just faced the same problem, in case someone else needs an answer on this old question.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Loop the AssociatedObjects association of the&amp;nbsp;ControlOrder object with&amp;nbsp;metadata_getnasn() function. Comparing to the Metadata Browser the&amp;nbsp;metadata_getnasn() returns the TransformationSteps in the proper order.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 29 Sep 2022 09:27:41 GMT</pubDate>
    <dc:creator>isergei</dc:creator>
    <dc:date>2022-09-29T09:27:41Z</dc:date>
    <item>
      <title>Read job execution order from metadata</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Read-job-execution-order-from-metadata/m-p/487271#M13916</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the DI-Studio you can see the execution order of the transformation steps inside of a job and it even tells you that information in the little basic facts window when you click on the step. But I can't find this information anywhere in the metadata of the transformation step. All I can see is the dependencies of steps that preced/succeed the step but I ran into a problem there if a step has multiple successors.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can somebody point me in the right direction where the execution order of the steps inside of a job is stored in the metadata?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind regards&lt;/P&gt;
&lt;P&gt;Criptic&lt;/P&gt;</description>
      <pubDate>Thu, 16 Aug 2018 06:15:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Read-job-execution-order-from-metadata/m-p/487271#M13916</guid>
      <dc:creator>Criptic</dc:creator>
      <dc:date>2018-08-16T06:15:13Z</dc:date>
    </item>
    <item>
      <title>Re: Read job execution order from metadata</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Read-job-execution-order-from-metadata/m-p/487272#M13917</link>
      <description>&lt;P&gt;When I look at the metadata via metabrowse I can see Unter Job &amp;gt; JobActivities &amp;gt; Steps that the steps are listed in reverse order of the numbers but when I read the data with&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;nobj6 = metadata_getnasn(uri_jobActivitie, "Steps", k, uri_jobStep);
rc5 = metadata_getattr(uri_jobStep, "Name", stepName);
rc6 = metadata_getattr(uri_jobStep, "Desc", stepDesc);
rc7 = metadata_getattr(uri_jobStep, "Id", stepID);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I get a different order.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Aug 2018 06:28:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Read-job-execution-order-from-metadata/m-p/487272#M13917</guid>
      <dc:creator>Criptic</dc:creator>
      <dc:date>2018-08-16T06:28:05Z</dc:date>
    </item>
    <item>
      <title>Re: Read job execution order from metadata</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Read-job-execution-order-from-metadata/m-p/488830#M13994</link>
      <description>&lt;P&gt;Okay after a lot of digging I finally found my answer.&lt;/P&gt;
&lt;P&gt;TransformationSteps have an association named Referenced Objects and in there you can find an object called ControlOrder and if you open that up you can find an XML-Defintion of the job which contains the tag&amp;nbsp;&amp;lt;AssociatedObjects&amp;gt; and in there is a listing of the TransformationSteps in the right order.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What I'm now missing is how to access the XML of the object not just via metabrowse but via data step&lt;/P&gt;</description>
      <pubDate>Wed, 22 Aug 2018 11:44:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Read-job-execution-order-from-metadata/m-p/488830#M13994</guid>
      <dc:creator>Criptic</dc:creator>
      <dc:date>2018-08-22T11:44:33Z</dc:date>
    </item>
    <item>
      <title>Re: Read job execution order from metadata</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Read-job-execution-order-from-metadata/m-p/835794#M25146</link>
      <description>&lt;P&gt;Just faced the same problem, in case someone else needs an answer on this old question.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Loop the AssociatedObjects association of the&amp;nbsp;ControlOrder object with&amp;nbsp;metadata_getnasn() function. Comparing to the Metadata Browser the&amp;nbsp;metadata_getnasn() returns the TransformationSteps in the proper order.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Sep 2022 09:27:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Read-job-execution-order-from-metadata/m-p/835794#M25146</guid>
      <dc:creator>isergei</dc:creator>
      <dc:date>2022-09-29T09:27:41Z</dc:date>
    </item>
  </channel>
</rss>

