<?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: SAS Di JOB in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/SAS-Di-JOB/m-p/609662#M18515</link>
    <description>&lt;P&gt;My take is that you can't. Insert the sort transformation in each processing chain where it is needed.&lt;/P&gt;
&lt;P&gt;You either work with the tools DI Studio gives you, or with code you write. Select which is better for your organisation.&lt;/P&gt;</description>
    <pubDate>Thu, 05 Dec 2019 12:47:49 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2019-12-05T12:47:49Z</dc:date>
    <item>
      <title>SAS Di JOB</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/SAS-Di-JOB/m-p/609632#M18510</link>
      <description>&lt;P&gt;Hi ,&lt;BR /&gt;Here two datastep statemnets.one is getting the number of records.&lt;BR /&gt;another is looping step.so i want to do it using SAS Di transformations.any other option other than user written code please.&lt;BR /&gt;i know theoritically i can use loop transfomration but please help more on this how can i achieve this in SAS DI please&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_
;
call symputx('tablecount',nobs)
;
set table nobs=nobs
;
stop
;
run
;

%macro macro1
;
%do countloop=1 %to &amp;amp;tablecount
;
data _null_
;
point=&amp;amp;countloop
;
set table point=point
;
call symputx('table_name',cats(libname,'.',memname))
;
stop
;
run
;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 05 Dec 2019 10:13:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/SAS-Di-JOB/m-p/609632#M18510</guid>
      <dc:creator>JJP1</dc:creator>
      <dc:date>2019-12-05T10:13:21Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Di JOB</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/SAS-Di-JOB/m-p/609634#M18511</link>
      <description>&lt;P&gt;What are you doing with the macro variable &amp;amp;table_name?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My suspicion is that you would be much better off doing this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%macro macro1(table_name);
/* your processing here */
%mend;

data _null_;
set table;
call execute('%nrstr(%macro1(' !! catx('.',libname,memname) !! '))');
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 05 Dec 2019 10:20:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/SAS-Di-JOB/m-p/609634#M18511</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-12-05T10:20:40Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Di JOB</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/SAS-Di-JOB/m-p/609648#M18512</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt;.&lt;/P&gt;&lt;P&gt;&amp;amp;table_name is further being used to sort the data.Would you please help how can i do in using SAS DI please&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2019 11:46:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/SAS-Di-JOB/m-p/609648#M18512</guid>
      <dc:creator>JJP1</dc:creator>
      <dc:date>2019-12-05T11:46:20Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Di JOB</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/SAS-Di-JOB/m-p/609650#M18513</link>
      <description>&lt;P&gt;So you want to sort tables? DI Studio has a transformation for that, so use that. And the mechanisms DI Studio provides for repeating tasks.&lt;/P&gt;
&lt;P&gt;Since one of the main reasons for using Data Integration is to keep an eye on the sequence of processing (and inheritance of attributes), you need to define the transformation for every single dataset anyway, otherwise DI loses track of the information.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You need to accept the fact that GUI applications like DI Studio will always have limited capabilities, as you can't have a wizard for each imaginable programming trick. OTOH, they automate lots of things for you. See Maxim 45.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2019 12:00:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/SAS-Di-JOB/m-p/609650#M18513</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-12-05T12:00:56Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Di JOB</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/SAS-Di-JOB/m-p/609657#M18514</link>
      <description>&lt;P&gt;thank you&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt;&amp;nbsp; i need to develop job using below code in SAS DI please.&lt;BR /&gt;how can i do this.so that i can use sort transformation further on this please&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%macro macro1
;
%do countloop=1 %to &amp;amp;tablecount
;
data _null_
;
point=&amp;amp;countloop
;
set table point=point
;
call symputx('table_name',cats(libname,'.',memname))
;
stop
;
run
;
data _null_
;
call symputx('tablecount',nobs)
;
set table nobs=nobs
;
stop
;
run
;

&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 05 Dec 2019 12:28:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/SAS-Di-JOB/m-p/609657#M18514</guid>
      <dc:creator>JJP1</dc:creator>
      <dc:date>2019-12-05T12:28:03Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Di JOB</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/SAS-Di-JOB/m-p/609662#M18515</link>
      <description>&lt;P&gt;My take is that you can't. Insert the sort transformation in each processing chain where it is needed.&lt;/P&gt;
&lt;P&gt;You either work with the tools DI Studio gives you, or with code you write. Select which is better for your organisation.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2019 12:47:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/SAS-Di-JOB/m-p/609662#M18515</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-12-05T12:47:49Z</dc:date>
    </item>
  </channel>
</rss>

