<?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: DataFlux Work Table in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/DataFlux-Work-Table/m-p/722637#M19813</link>
    <description>&lt;P&gt;Sounds like you are on the right track.&amp;nbsp; In this attached screenshot, I'm showing a loop that reads the Work Table row by row.&amp;nbsp; This is how you would set it up, making sure in the Workflow reader ("Read from Temp Table" in my pic)&amp;nbsp;that you set the Source Binding to point to your Work Table on the "Table" entry, as well as the "Default Value" of Readmode set to "NEXTROW" as indicated on the Inputs tab.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think this should get you closer to getting it to run.&amp;nbsp; It will iterate through this loop for every row on your work table.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Workflow.PNG" style="width: 801px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/55321i0040EEB331A487F2/image-size/large?v=v2&amp;amp;px=999" role="button" title="Workflow.PNG" alt="Workflow.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 01 Mar 2021 17:49:02 GMT</pubDate>
    <dc:creator>TonyL_</dc:creator>
    <dc:date>2021-03-01T17:49:02Z</dc:date>
    <item>
      <title>DataFlux Work Table</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/DataFlux-Work-Table/m-p/722605#M19812</link>
      <description>&lt;P&gt;I am new to using work tables. I have a process job that contains a&amp;nbsp;Process Flow Work Table Reader node that contains the 'group number' information that I want to pull data on. My next step joins to a data job that references the work table reader and joins to a sql node that pulls from a different data connection.&amp;nbsp; When I run the dj it only pulls in one group id, the other group numbers aren't considered.&amp;nbsp; So I thought that if I added an 'if then' node immediately after the 'process flow work table reader' that said if its the last row - then stop, otherwise pull in the next group id and run against the dj.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately I still only get one group row from the work table pulling in to get details on.&amp;nbsp; Any suggestions?&amp;nbsp; Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Mar 2021 16:00:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/DataFlux-Work-Table/m-p/722605#M19812</guid>
      <dc:creator>beamer108</dc:creator>
      <dc:date>2021-03-01T16:00:40Z</dc:date>
    </item>
    <item>
      <title>Re: DataFlux Work Table</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/DataFlux-Work-Table/m-p/722637#M19813</link>
      <description>&lt;P&gt;Sounds like you are on the right track.&amp;nbsp; In this attached screenshot, I'm showing a loop that reads the Work Table row by row.&amp;nbsp; This is how you would set it up, making sure in the Workflow reader ("Read from Temp Table" in my pic)&amp;nbsp;that you set the Source Binding to point to your Work Table on the "Table" entry, as well as the "Default Value" of Readmode set to "NEXTROW" as indicated on the Inputs tab.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think this should get you closer to getting it to run.&amp;nbsp; It will iterate through this loop for every row on your work table.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Workflow.PNG" style="width: 801px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/55321i0040EEB331A487F2/image-size/large?v=v2&amp;amp;px=999" role="button" title="Workflow.PNG" alt="Workflow.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Mar 2021 17:49:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/DataFlux-Work-Table/m-p/722637#M19813</guid>
      <dc:creator>TonyL_</dc:creator>
      <dc:date>2021-03-01T17:49:02Z</dc:date>
    </item>
    <item>
      <title>Re: DataFlux Work Table</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/DataFlux-Work-Table/m-p/722640#M19814</link>
      <description>&lt;P&gt;Also, in the conditional node pictured (End of Work Table in my screenshot) you'll need to set up the Expression entry and the EOF entry as pictured below.&amp;nbsp; The Source Binding for EOF here needs to point to the Workflow Table Reader _EOF.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Conditional Node.PNG" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/55322iE4726BE9747A3BCC/image-size/large?v=v2&amp;amp;px=999" role="button" title="Conditional Node.PNG" alt="Conditional Node.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Mar 2021 17:53:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/DataFlux-Work-Table/m-p/722640#M19814</guid>
      <dc:creator>TonyL_</dc:creator>
      <dc:date>2021-03-01T17:53:58Z</dc:date>
    </item>
    <item>
      <title>Re: DataFlux Work Table</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/DataFlux-Work-Table/m-p/722645#M19815</link>
      <description>&lt;P&gt;Thank you TonyL for the quick response.&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is what I have&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="beamer108_0-1614622088220.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/55323i883D19791F521242/image-size/medium?v=v2&amp;amp;px=400" role="button" title="beamer108_0-1614622088220.png" alt="beamer108_0-1614622088220.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="beamer108_1-1614622126627.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/55324iDEBEB0B66DC71EE4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="beamer108_1-1614622126627.png" alt="beamer108_1-1614622126627.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But for some reason only one group gets pulled in.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Mar 2021 18:10:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/DataFlux-Work-Table/m-p/722645#M19815</guid>
      <dc:creator>beamer108</dc:creator>
      <dc:date>2021-03-01T18:10:08Z</dc:date>
    </item>
    <item>
      <title>Re: DataFlux Work Table</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/DataFlux-Work-Table/m-p/722651#M19816</link>
      <description>&lt;P&gt;I notice that you have eof on the left in lower case, however in the equation it shows as EOF==1.&amp;nbsp; I'd probably redo that one on the left to upper case to match the equation, for starters.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Mar 2021 18:22:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/DataFlux-Work-Table/m-p/722651#M19816</guid>
      <dc:creator>TonyL_</dc:creator>
      <dc:date>2021-03-01T18:22:22Z</dc:date>
    </item>
    <item>
      <title>Re: DataFlux Work Table</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/DataFlux-Work-Table/m-p/722652#M19817</link>
      <description>&lt;P&gt;when I pull up the adv prop for the sql node (within the dj) after running this I get:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="beamer108_1-1614622939615.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/55327i6F1DBA6961FCA568/image-size/medium?v=v2&amp;amp;px=400" role="button" title="beamer108_1-1614622939615.png" alt="beamer108_1-1614622939615.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the default value SQL_STMT Default value it shows my macro embedded in my sql node as this:&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="beamer108_0-1614622365559.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/55326iB970E8431F8F5180/image-size/medium?v=v2&amp;amp;px=400" role="button" title="beamer108_0-1614622365559.png" alt="beamer108_0-1614622365559.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;but when I at the 'run time value' I show this:&lt;/P&gt;&lt;P&gt;and grp_subgrp_dim.grp_id = '00012345'&amp;nbsp; - which is one of the group numbers in my work table, and the one group that appears in my output txt file.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Mar 2021 18:23:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/DataFlux-Work-Table/m-p/722652#M19817</guid>
      <dc:creator>beamer108</dc:creator>
      <dc:date>2021-03-01T18:23:33Z</dc:date>
    </item>
    <item>
      <title>Re: DataFlux Work Table - FIXED</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/DataFlux-Work-Table/m-p/723158#M19823</link>
      <description>&lt;P&gt;&amp;nbsp;I found in the adv prop of my text file output node that the default setting for 'Append' is set to false.&amp;nbsp; Once I updated this to 'true' the job ran successfully pulling in all rows from my work table.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the assistance.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Mar 2021 14:46:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/DataFlux-Work-Table/m-p/723158#M19823</guid>
      <dc:creator>beamer108</dc:creator>
      <dc:date>2021-03-03T14:46:50Z</dc:date>
    </item>
    <item>
      <title>Re: DataFlux Work Table - FIXED</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/DataFlux-Work-Table/m-p/723184#M19824</link>
      <description>&lt;P&gt;OK, glad to hear that.&amp;nbsp; So it looks like it was actually looping over the work table correctly, but probably&amp;nbsp;just overwriting your results each time around.&amp;nbsp; Good catch!&lt;/P&gt;</description>
      <pubDate>Wed, 03 Mar 2021 15:53:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/DataFlux-Work-Table/m-p/723184#M19824</guid>
      <dc:creator>TonyL_</dc:creator>
      <dc:date>2021-03-03T15:53:31Z</dc:date>
    </item>
  </channel>
</rss>

