<?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: Split a dataset into several datasets in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Split-a-dataset-into-several-datasets/m-p/307419#M65836</link>
    <description>&lt;P&gt;So, you need to clarify your question. &amp;nbsp;What have you done to enact your requirements?&lt;/P&gt;
&lt;P&gt;"&lt;SPAN&gt; need to create several excel per variable" - what does this mean? &amp;nbsp;To create files which can be opened in Excel, you could use ods tagsets.excelxp, libname Excel, ods excel, proc export, put to CSV etc.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You say you need one archive, presuming this is a ZIP file, then you need access to your Operating Sstem. &amp;nbsp;You then call the exe file from your compressions software, e.g:&lt;BR /&gt;x 'c:\zip\winzip.exe "..." "outputfile.zip"';&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;wher the elipses are the locatin of the output files to compress. &amp;nbsp;You could also use ods document if you have SAS 9.4.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Emails can be sent in datastep:&lt;BR /&gt;&lt;A href="http://www2.sas.com/proceedings/forum2008/038-2008.pdf" target="_blank"&gt;http://www2.sas.com/proceedings/forum2008/038-2008.pdf&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Simply put though, we are here to answer questions, not do the work in its entirety. &amp;nbsp;Have a go and come back if you have any troubles.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 26 Oct 2016 14:34:30 GMT</pubDate>
    <dc:creator>RW9</dc:creator>
    <dc:date>2016-10-26T14:34:30Z</dc:date>
    <item>
      <title>Split a dataset into several datasets</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Split-a-dataset-into-several-datasets/m-p/307402#M65831</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have one dataset and I need to create several excel per variable.&lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;P&gt;Dataset:&lt;/P&gt;&lt;P&gt;Name &amp;nbsp;Code &amp;nbsp;Date of Birth &amp;nbsp;Country&lt;/P&gt;&lt;P&gt;John &amp;nbsp; &amp;nbsp; 18 &amp;nbsp; &amp;nbsp; &amp;nbsp;10/10/1998 &amp;nbsp; &amp;nbsp; &amp;nbsp;USA&lt;/P&gt;&lt;P&gt;John &amp;nbsp; &amp;nbsp; 20 &amp;nbsp; &amp;nbsp; &amp;nbsp;01/11/2000 &amp;nbsp; &amp;nbsp; &amp;nbsp;USA&lt;/P&gt;&lt;P&gt;Mike &amp;nbsp; &amp;nbsp; 22 &amp;nbsp; &amp;nbsp; &amp;nbsp;10/10/2001 &amp;nbsp; &amp;nbsp; &amp;nbsp;USA&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to create one archive per name. And if it is possible, I need to compact the archive with password and send an e-mail.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can&amp;nbsp;you guys help me?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2016 14:04:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Split-a-dataset-into-several-datasets/m-p/307402#M65831</guid>
      <dc:creator>ftatsukawa</dc:creator>
      <dc:date>2016-10-26T14:04:08Z</dc:date>
    </item>
    <item>
      <title>Re: Split a dataset into several datasets</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Split-a-dataset-into-several-datasets/m-p/307419#M65836</link>
      <description>&lt;P&gt;So, you need to clarify your question. &amp;nbsp;What have you done to enact your requirements?&lt;/P&gt;
&lt;P&gt;"&lt;SPAN&gt; need to create several excel per variable" - what does this mean? &amp;nbsp;To create files which can be opened in Excel, you could use ods tagsets.excelxp, libname Excel, ods excel, proc export, put to CSV etc.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You say you need one archive, presuming this is a ZIP file, then you need access to your Operating Sstem. &amp;nbsp;You then call the exe file from your compressions software, e.g:&lt;BR /&gt;x 'c:\zip\winzip.exe "..." "outputfile.zip"';&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;wher the elipses are the locatin of the output files to compress. &amp;nbsp;You could also use ods document if you have SAS 9.4.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Emails can be sent in datastep:&lt;BR /&gt;&lt;A href="http://www2.sas.com/proceedings/forum2008/038-2008.pdf" target="_blank"&gt;http://www2.sas.com/proceedings/forum2008/038-2008.pdf&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Simply put though, we are here to answer questions, not do the work in its entirety. &amp;nbsp;Have a go and come back if you have any troubles.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2016 14:34:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Split-a-dataset-into-several-datasets/m-p/307419#M65836</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2016-10-26T14:34:30Z</dc:date>
    </item>
  </channel>
</rss>

