<?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 DATA steps that write SAS programs in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/DATA-steps-that-write-SAS-programs/m-p/49456#M10270</link>
    <description>In the exam content tab of the Advanced Certification Exam Program it says the exam has &lt;BR /&gt;
&lt;BR /&gt;
Reduce programming time by developing reusable SAS programs which incorporate data step views, &lt;I&gt;DATA steps that write SAS programs&lt;/I&gt;, and the FCMP procedure. &lt;BR /&gt;
&lt;BR /&gt;
Does anybody know what &lt;I&gt;DATA steps that write SAS programs&lt;/I&gt; means or where I can find documentation on this subject?</description>
    <pubDate>Wed, 13 Apr 2011 14:57:45 GMT</pubDate>
    <dc:creator>acanes</dc:creator>
    <dc:date>2011-04-13T14:57:45Z</dc:date>
    <item>
      <title>DATA steps that write SAS programs</title>
      <link>https://communities.sas.com/t5/SAS-Programming/DATA-steps-that-write-SAS-programs/m-p/49456#M10270</link>
      <description>In the exam content tab of the Advanced Certification Exam Program it says the exam has &lt;BR /&gt;
&lt;BR /&gt;
Reduce programming time by developing reusable SAS programs which incorporate data step views, &lt;I&gt;DATA steps that write SAS programs&lt;/I&gt;, and the FCMP procedure. &lt;BR /&gt;
&lt;BR /&gt;
Does anybody know what &lt;I&gt;DATA steps that write SAS programs&lt;/I&gt; means or where I can find documentation on this subject?</description>
      <pubDate>Wed, 13 Apr 2011 14:57:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/DATA-steps-that-write-SAS-programs/m-p/49456#M10270</guid>
      <dc:creator>acanes</dc:creator>
      <dc:date>2011-04-13T14:57:45Z</dc:date>
    </item>
    <item>
      <title>Re: DATA steps that write SAS programs</title>
      <link>https://communities.sas.com/t5/SAS-Programming/DATA-steps-that-write-SAS-programs/m-p/49457#M10271</link>
      <description>You might want to look at the use of all the different ways that CALL EXECUTE with a DATA step program can write SAS code that will be executed as soon as the DATA step program is over.&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/mcrolref/61885/HTML/default/viewer.htm#a000543697.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/mcrolref/61885/HTML/default/viewer.htm#a000543697.htm&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://www2.sas.com/proceedings/sugi22/CODERS/PAPER86.PDF" target="_blank"&gt;http://www2.sas.com/proceedings/sugi22/CODERS/PAPER86.PDF&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://www2.sas.com/proceedings/sugi22/CODERS/PAPER70.PDF" target="_blank"&gt;http://www2.sas.com/proceedings/sugi22/CODERS/PAPER70.PDF&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://www2.sas.com/proceedings/sugi30/027-30.pdf" target="_blank"&gt;http://www2.sas.com/proceedings/sugi30/027-30.pdf&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://www.lexjansen.com/pharmasug/2008/po/po11.pdf" target="_blank"&gt;http://www.lexjansen.com/pharmasug/2008/po/po11.pdf&lt;/A&gt;&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Wed, 13 Apr 2011 15:51:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/DATA-steps-that-write-SAS-programs/m-p/49457#M10271</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2011-04-13T15:51:14Z</dc:date>
    </item>
    <item>
      <title>Re: DATA steps that write SAS programs</title>
      <link>https://communities.sas.com/t5/SAS-Programming/DATA-steps-that-write-SAS-programs/m-p/49458#M10272</link>
      <description>There isn't anything special about "Data steps that write SAS programs." SAS code is text strings and data steps can handle text strings with no problem. Here is a simple example:&lt;BR /&gt;&lt;BR /&gt;
&lt;BR /&gt;&lt;BR /&gt;
&lt;SPAN style="color:#008000;font-family:Courier New;font-size:10pt;"&gt;/*&amp;nbsp;a&amp;nbsp;data&amp;nbsp;step&amp;nbsp;that&amp;nbsp;generates&amp;nbsp;a&amp;nbsp;sas&amp;nbsp;program&amp;nbsp;*/&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;
&lt;B&gt;&lt;SPAN style="color:#000080;font-family:Courier New;font-size:10pt;"&gt;data&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style="font-family:Courier New;font-size:10pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color:#0000FF;font-family:Courier New;font-size:10pt;"&gt;_null_&lt;/SPAN&gt;&lt;SPAN style="font-family:Courier New;font-size:10pt;"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;
&lt;SPAN style="font-family:Courier New;font-size:10pt;"&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color:#0000FF;font-family:Courier New;font-size:10pt;"&gt;file&lt;/SPAN&gt;&lt;SPAN style="font-family:Courier New;font-size:10pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color:#800080;font-family:Courier New;font-size:10pt;"&gt;"c:\temp\code.sas"&lt;/SPAN&gt;&lt;SPAN style="font-family:Courier New;font-size:10pt;"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;
&lt;SPAN style="font-family:Courier New;font-size:10pt;"&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color:#0000FF;font-family:Courier New;font-size:10pt;"&gt;input&lt;/SPAN&gt;&lt;SPAN style="font-family:Courier New;font-size:10pt;"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;
&lt;SPAN style="font-family:Courier New;font-size:10pt;"&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color:#0000FF;font-family:Courier New;font-size:10pt;"&gt;put&lt;/SPAN&gt;&lt;SPAN style="font-family:Courier New;font-size:10pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color:#0000FF;font-family:Courier New;font-size:10pt;"&gt;_infile_&lt;/SPAN&gt;&lt;SPAN style="font-family:Courier New;font-size:10pt;"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;
&lt;SPAN style="color:#0000FF;font-family:Courier New;font-size:10pt;"&gt;cards4&lt;/SPAN&gt;&lt;SPAN style="font-family:Courier New;font-size:10pt;"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;
&lt;SPAN style="font-family:Courier New;font-size:10pt;"&gt;&amp;nbsp;&amp;nbsp;proc&amp;nbsp;print&amp;nbsp;data=sashelp.class;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;
&lt;SPAN style="font-family:Courier New;font-size:10pt;"&gt;&amp;nbsp;&amp;nbsp;run;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;
&lt;SPAN style="font-family:Courier New;font-size:10pt;"&gt;;;;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;
&lt;B&gt;&lt;SPAN style="color:#000080;font-family:Courier New;font-size:10pt;"&gt;run&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style="font-family:Courier New;font-size:10pt;"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;
&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;
&lt;SPAN style="color:#008000;font-family:Courier New;font-size:10pt;"&gt;/*&amp;nbsp;one&amp;nbsp;way&amp;nbsp;to&amp;nbsp;run&amp;nbsp;the&amp;nbsp;generated&amp;nbsp;program&amp;nbsp;*/&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;
&lt;SPAN style="color:#0000FF;font-family:Courier New;font-size:10pt;"&gt;%inc&lt;/SPAN&gt;&lt;SPAN style="font-family:Courier New;font-size:10pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color:#800080;font-family:Courier New;font-size:10pt;"&gt;"c:\temp\code.sas"&lt;/SPAN&gt;&lt;SPAN style="font-family:Courier New;font-size:10pt;"&gt;&amp;nbsp;/&amp;nbsp;source;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 15 Apr 2011 20:45:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/DATA-steps-that-write-SAS-programs/m-p/49458#M10272</guid>
      <dc:creator>chang_y_chung_hotmail_com</dc:creator>
      <dc:date>2011-04-15T20:45:11Z</dc:date>
    </item>
    <item>
      <title>Re: DATA steps that write SAS programs</title>
      <link>https://communities.sas.com/t5/SAS-Programming/DATA-steps-that-write-SAS-programs/m-p/49459#M10273</link>
      <description>Acanes,&lt;BR /&gt;
&lt;BR /&gt;
Your question is about something that is generically called "automatic programming."&lt;BR /&gt;
&lt;A href="http://en.wikipedia.org/wiki/Automatic_programming" target="_blank"&gt;http://en.wikipedia.org/wiki/Automatic_programming&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
I frequently use the technique to read the metadata from a database to generate the descriptive statements (LABELs and such) related to the data that is coming in from other tables in the database.  Cynthia and Chang showed you other examples.&lt;BR /&gt;
&lt;BR /&gt;
Doc Muhlbaier&lt;BR /&gt;
Duke</description>
      <pubDate>Sun, 17 Apr 2011 14:51:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/DATA-steps-that-write-SAS-programs/m-p/49459#M10273</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2011-04-17T14:51:47Z</dc:date>
    </item>
  </channel>
</rss>

