<?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: Find Generated Transformations' ID/URI used in a given job. in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Find-Generated-Transformations-ID-URI-used-in-a-given-job/m-p/839373#M331898</link>
    <description>&lt;P&gt;Problem solved: both TransformationStep and the valid Prototype (Generated Transform in DI) have Class property.&lt;/P&gt;&lt;P&gt;You can get it by:&lt;/P&gt;&lt;PRE&gt;metadata_getprop(TransStepURI, 'Class', Class);&lt;/PRE&gt;&lt;P&gt;And find the transformation in the repository with the same Class property value.&lt;/P&gt;</description>
    <pubDate>Wed, 19 Oct 2022 13:04:32 GMT</pubDate>
    <dc:creator>caeduspl</dc:creator>
    <dc:date>2022-10-19T13:04:32Z</dc:date>
    <item>
      <title>Find Generated Transformations' ID/URI used in a given job.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Find-Generated-Transformations-ID-URI-used-in-a-given-job/m-p/839156#M331803</link>
      <description>&lt;P&gt;Hello I am developing a tool which analyse metadata dependencies in DI Studio Jobs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let's say I have a Generated Transformation (Prototype) object with an ID AAA.BBB and I used it in many jobs AAA.XXX (id) included.&lt;/P&gt;&lt;P&gt;Via analysing associations I was able to find used PhysicalTable, ExternalTable and Job (subjobs) objects used in a AAA.XXX job.&lt;BR /&gt;I achieved that using Job --&amp;gt; CustomAssociations --&amp;gt; ControlOrder --&amp;gt; AssociatedObjects path.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am in fact able to get a TransformationStep object (AAA.YYY id) which implements AAA.BBB Generated Transform (Prototype) yet its still not the AAA.BBB ID found.&lt;BR /&gt;Let's go further AAA.YYY has interesting associations: Transformations and UsingPrototype.&lt;BR /&gt;Transformations leads to a Steps association returning object which is the TransformationStep - its a AAA.YYY again. Its a dead end.&lt;/P&gt;&lt;P&gt;UsingPrototype is promising. I get the Prototype type object AAA.ZZZ (note its not the AAA.BBB I am looking for). Furthermore it doesnt have a name in the attributes and I cannot resolve it path in DI folder tree. It has a UsedByPrototypes association but it drives me back to TransformationSteps so a dead end again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there anyway to pinpoint Generated Transforms used in a DI Job?&lt;BR /&gt;I would preferably stick to data step functions&lt;/P&gt;&lt;PRE&gt;metadata_getnasl
metadata_getnasn
metadata_getnatr&lt;/PRE&gt;&lt;P&gt;because I am already familiar with them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards and thank you!&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2022 11:36:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Find-Generated-Transformations-ID-URI-used-in-a-given-job/m-p/839156#M331803</guid>
      <dc:creator>caeduspl</dc:creator>
      <dc:date>2022-10-18T11:36:49Z</dc:date>
    </item>
    <item>
      <title>Re: Find Generated Transformations' ID/URI used in a given job.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Find-Generated-Transformations-ID-URI-used-in-a-given-job/m-p/839373#M331898</link>
      <description>&lt;P&gt;Problem solved: both TransformationStep and the valid Prototype (Generated Transform in DI) have Class property.&lt;/P&gt;&lt;P&gt;You can get it by:&lt;/P&gt;&lt;PRE&gt;metadata_getprop(TransStepURI, 'Class', Class);&lt;/PRE&gt;&lt;P&gt;And find the transformation in the repository with the same Class property value.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Oct 2022 13:04:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Find-Generated-Transformations-ID-URI-used-in-a-given-job/m-p/839373#M331898</guid>
      <dc:creator>caeduspl</dc:creator>
      <dc:date>2022-10-19T13:04:32Z</dc:date>
    </item>
  </channel>
</rss>

