<?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 Source and Target Details in macro variable after Completion of SAS DI Job in SAS Studio</title>
    <link>https://communities.sas.com/t5/SAS-Studio/Source-and-Target-Details-in-macro-variable-after-Completion-of/m-p/514453#M6610</link>
    <description>&lt;P&gt;Hi All,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to insert &lt;SPAN&gt;the Source &amp;amp; Target Table Details&amp;nbsp;&lt;/SPAN&gt;into a table after completion of my all SAS DI jobs.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using a SAS macro as a postcode of my DI job to collect all other details but I am not able to get the source&amp;nbsp;and target table details.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In DI job, I have seen&amp;nbsp;details of the Source/ Target Table in the comment but I am not able to find a process to capture this detail and use it later.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know if anyone is aware of it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 19 Nov 2018 14:36:25 GMT</pubDate>
    <dc:creator>ruchir_m</dc:creator>
    <dc:date>2018-11-19T14:36:25Z</dc:date>
    <item>
      <title>Source and Target Details in macro variable after Completion of SAS DI Job</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Source-and-Target-Details-in-macro-variable-after-Completion-of/m-p/514453#M6610</link>
      <description>&lt;P&gt;Hi All,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to insert &lt;SPAN&gt;the Source &amp;amp; Target Table Details&amp;nbsp;&lt;/SPAN&gt;into a table after completion of my all SAS DI jobs.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using a SAS macro as a postcode of my DI job to collect all other details but I am not able to get the source&amp;nbsp;and target table details.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In DI job, I have seen&amp;nbsp;details of the Source/ Target Table in the comment but I am not able to find a process to capture this detail and use it later.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know if anyone is aware of it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Nov 2018 14:36:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Source-and-Target-Details-in-macro-variable-after-Completion-of/m-p/514453#M6610</guid>
      <dc:creator>ruchir_m</dc:creator>
      <dc:date>2018-11-19T14:36:25Z</dc:date>
    </item>
    <item>
      <title>Re: Source and Target Details in macro variable after Completion of SAS DI Job</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Source-and-Target-Details-in-macro-variable-after-Completion-of/m-p/514456#M6611</link>
      <description>&lt;P&gt;Do a&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%put _all_;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;to see all currently defined macro variables, it might help you.&lt;/P&gt;
&lt;P&gt;Just an idea, I don't work with DI Studio.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Nov 2018 14:43:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Source-and-Target-Details-in-macro-variable-after-Completion-of/m-p/514456#M6611</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-11-19T14:43:06Z</dc:date>
    </item>
    <item>
      <title>Re: Source and Target Details in macro variable after Completion of SAS DI Job</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Source-and-Target-Details-in-macro-variable-after-Completion-of/m-p/514459#M6612</link>
      <description>&lt;P&gt;Thanks Kurt.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I tried but i wasn't able to find the macro variable for details on Source and Target table.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Nov 2018 14:48:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Source-and-Target-Details-in-macro-variable-after-Completion-of/m-p/514459#M6612</guid>
      <dc:creator>ruchir_m</dc:creator>
      <dc:date>2018-11-19T14:48:06Z</dc:date>
    </item>
    <item>
      <title>Re: Source and Target Details in macro variable after Completion of SAS DI Job</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Source-and-Target-Details-in-macro-variable-after-Completion-of/m-p/514492#M6614</link>
      <description>&lt;P&gt;it has been very longtime i did used DI studio. check for something like below like &amp;amp;_output&amp;nbsp; which is your target table ot &amp;amp;syslast or &amp;amp;_input for source tables&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE class="xis-codeFragment"&gt;data
&amp;amp;_OUTPUT; 
  set &amp;amp;SYSLAST; 
  length sex $1; 
  if gender = "Male" then 
    sex = "M"; 
  else if gender = "Female" then 
    sex = "F"; 
  else 
  sex="U"; 
run;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Nov 2018 16:45:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Source-and-Target-Details-in-macro-variable-after-Completion-of/m-p/514492#M6614</guid>
      <dc:creator>kiranv_</dc:creator>
      <dc:date>2018-11-19T16:45:44Z</dc:date>
    </item>
    <item>
      <title>Re: Source and Target Details in macro variable after Completion of SAS DI Job</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Source-and-Target-Details-in-macro-variable-after-Completion-of/m-p/514631#M6615</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159737"&gt;@ruchir_m&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;Look into the code of the transformation where you use the tables as source and target. You'll find in there macro variables generated like &amp;amp;_input and &amp;amp;_output.&lt;/P&gt;
&lt;P&gt;Add post code to this node which does something like&lt;/P&gt;
&lt;PRE&gt;%global mySourceTbl myTargetTbl;
%let mySourceTbl=&amp;amp;_input;
%let myTargetTbl=&amp;amp;_output;&lt;/PRE&gt;
&lt;P&gt;You then can use these macro variables in your job post code.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Nov 2018 23:31:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Source-and-Target-Details-in-macro-variable-after-Completion-of/m-p/514631#M6615</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2018-11-19T23:31:38Z</dc:date>
    </item>
    <item>
      <title>Re: Source and Target Details in macro variable after Completion of SAS DI Job</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Source-and-Target-Details-in-macro-variable-after-Completion-of/m-p/514655#M6616</link>
      <description>&lt;P&gt;Hi Patrick ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am not able to find _input and _output variables.&amp;nbsp;Do I need to enable some option?&lt;/P&gt;</description>
      <pubDate>Tue, 20 Nov 2018 03:30:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Source-and-Target-Details-in-macro-variable-after-Completion-of/m-p/514655#M6616</guid>
      <dc:creator>ruchir_m</dc:creator>
      <dc:date>2018-11-20T03:30:59Z</dc:date>
    </item>
  </channel>
</rss>

