<?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 Help needed with Loop transformation in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/Help-needed-with-Loop-transformation/m-p/48953#M467</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can somebody give me guideline on how to achieve this using&amp;nbsp; SAS DI loop transform...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Flow is SAS Base Table =====&amp;gt; Table Loader======&amp;gt; Staging Table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This SAS Base Table has structure of &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Column1 Column2 Filename&lt;/P&gt;&lt;P&gt;1 2 file1.csv&lt;/P&gt;&lt;P&gt;2 3&amp;nbsp; file2.csv&lt;/P&gt;&lt;P&gt;3 4 file3.csv&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now in my Final Staging Table I&amp;nbsp; have unique ID which I am getting from my audit table &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Column1 Column2 Filename File_ID&lt;/P&gt;&lt;P&gt;1 2 file1.csv 367&lt;/P&gt;&lt;P&gt;2 3&amp;nbsp; file2.csv 385&lt;/P&gt;&lt;P&gt;3 4 file3.csv 396&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So basically I need to iterate this job for all groups of filenames from my input table. I hope I am clear with my requirement and making sense....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Feb 2012 18:18:54 GMT</pubDate>
    <dc:creator>forumsguy</dc:creator>
    <dc:date>2012-02-08T18:18:54Z</dc:date>
    <item>
      <title>Help needed with Loop transformation</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Help-needed-with-Loop-transformation/m-p/48953#M467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can somebody give me guideline on how to achieve this using&amp;nbsp; SAS DI loop transform...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Flow is SAS Base Table =====&amp;gt; Table Loader======&amp;gt; Staging Table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This SAS Base Table has structure of &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Column1 Column2 Filename&lt;/P&gt;&lt;P&gt;1 2 file1.csv&lt;/P&gt;&lt;P&gt;2 3&amp;nbsp; file2.csv&lt;/P&gt;&lt;P&gt;3 4 file3.csv&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now in my Final Staging Table I&amp;nbsp; have unique ID which I am getting from my audit table &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Column1 Column2 Filename File_ID&lt;/P&gt;&lt;P&gt;1 2 file1.csv 367&lt;/P&gt;&lt;P&gt;2 3&amp;nbsp; file2.csv 385&lt;/P&gt;&lt;P&gt;3 4 file3.csv 396&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So basically I need to iterate this job for all groups of filenames from my input table. I hope I am clear with my requirement and making sense....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Feb 2012 18:18:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Help-needed-with-Loop-transformation/m-p/48953#M467</guid>
      <dc:creator>forumsguy</dc:creator>
      <dc:date>2012-02-08T18:18:54Z</dc:date>
    </item>
    <item>
      <title>Help needed with Loop transformation</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Help-needed-with-Loop-transformation/m-p/48954#M468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create the inner job that you want to run in the loop. the job should have INPUT parameters defined.&lt;/P&gt;&lt;P&gt;These input parameters will be mapped later.&lt;/P&gt;&lt;P&gt;1. Put a LOOP transformation and link it to stage-table.&lt;/P&gt;&lt;P&gt;2. Open 'Parameter Mapping' tab of the LOOP and map the parameters you want, Column1 and File_Id in your case.&lt;/P&gt;&lt;P&gt;Put the END LOOP and the end.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Run the job.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2012 20:51:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Help-needed-with-Loop-transformation/m-p/48954#M468</guid>
      <dc:creator>Halaku</dc:creator>
      <dc:date>2012-02-09T20:51:14Z</dc:date>
    </item>
    <item>
      <title>Help needed with Loop transformation</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Help-needed-with-Loop-transformation/m-p/48955#M469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much.. it worked... now can somebody help me in integrating this in one job itself... because this is for loading csv files in table and we will have around 50 fact tables so this will create about 100 jobs which are difficult to maintain......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find attached snapshot of my outer and inner job... can we do both these things in same job is my question... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="job1.JPG" class="jive-image-thumbnail jive-image" onclick="" src="https://communities.sas.com/legacyfs/online/1464_job1.JPG" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Job2.JPG" class="jive-image-thumbnail jive-image" onclick="" src="https://communities.sas.com/legacyfs/online/1465_Job2.JPG" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2012 19:29:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Help-needed-with-Loop-transformation/m-p/48955#M469</guid>
      <dc:creator>forumsguy</dc:creator>
      <dc:date>2012-02-10T19:29:58Z</dc:date>
    </item>
  </channel>
</rss>

