<?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: Proc dataset option? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Proc-dataset-option/m-p/504700#M135119</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/67134"&gt;@ybz12003&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Of course using DATA step could approach this format purpose.&amp;nbsp;&amp;nbsp; However, I have hundreds of statement (format, rename and label) to modify this dataset.&amp;nbsp;&amp;nbsp; I read use proc dataset could reduce the processing time, comparing with simple data step.&amp;nbsp;&amp;nbsp; That is why I use Proc Dataset.&amp;nbsp;&amp;nbsp; Correct me if I am wrong.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Quote from your otriginal post:&lt;/P&gt;
&lt;P&gt;"I would like to save my new SAS dataset into a new file"&lt;/P&gt;
&lt;P&gt;Since you read and write the dataset anyway, the advantages of using proc datasets won't come into play.&lt;/P&gt;</description>
    <pubDate>Tue, 16 Oct 2018 13:06:06 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2018-10-16T13:06:06Z</dc:date>
    <item>
      <title>Proc dataset option?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-dataset-option/m-p/504285#M134926</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I use proc dataset to format my SAS dataset.&amp;nbsp;&amp;nbsp;&amp;nbsp; I would like to save my new SAS dataset into a new file, please advise how to do it.&amp;nbsp; Thanks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc datasets library=work; 
				 modify test;
				format  ID   $9.   
.
.
.
.
.
.
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 15 Oct 2018 13:19:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-dataset-option/m-p/504285#M134926</guid>
      <dc:creator>ybz12003</dc:creator>
      <dc:date>2018-10-15T13:19:00Z</dc:date>
    </item>
    <item>
      <title>Re: Proc dataset option?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-dataset-option/m-p/504289#M134928</link>
      <description>&lt;P&gt;You will have to copy the dataset before adding the formats. The modify-statement has no option to store the dataset with a new name.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Oct 2018 13:22:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-dataset-option/m-p/504289#M134928</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2018-10-15T13:22:51Z</dc:date>
    </item>
    <item>
      <title>Re: Proc dataset option?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-dataset-option/m-p/504291#M134930</link>
      <description>&lt;P&gt;Do both (creation of a new dataset and assigning the format) in a simple data step.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Oct 2018 13:24:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-dataset-option/m-p/504291#M134930</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-10-15T13:24:52Z</dc:date>
    </item>
    <item>
      <title>Re: Proc dataset option?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-dataset-option/m-p/504694#M135115</link>
      <description>&lt;P&gt;Of course using DATA step could approach this format purpose.&amp;nbsp;&amp;nbsp; However, I have hundreds of statement (format, rename and label) to modify this dataset.&amp;nbsp;&amp;nbsp; I read use proc dataset could reduce the processing time, comparing with simple data step.&amp;nbsp;&amp;nbsp; That is why I use Proc Dataset.&amp;nbsp;&amp;nbsp; Correct me if I am wrong.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Oct 2018 12:54:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-dataset-option/m-p/504694#M135115</guid>
      <dc:creator>ybz12003</dc:creator>
      <dc:date>2018-10-16T12:54:54Z</dc:date>
    </item>
    <item>
      <title>Re: Proc dataset option?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-dataset-option/m-p/504699#M135118</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/67134"&gt;@ybz12003&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Of course using DATA step could approach this format purpose.&amp;nbsp;&amp;nbsp; However, I have hundreds of statement (format, rename and label) to modify this dataset.&amp;nbsp;&amp;nbsp; I read use proc dataset could reduce the processing time, comparing with simple data step.&amp;nbsp;&amp;nbsp; That is why I use Proc Dataset.&amp;nbsp;&amp;nbsp; Correct me if I am wrong.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;That is correct as long as you don't need the modifications applied to a clone of the dataset.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Oct 2018 13:03:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-dataset-option/m-p/504699#M135118</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2018-10-16T13:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: Proc dataset option?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-dataset-option/m-p/504700#M135119</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/67134"&gt;@ybz12003&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Of course using DATA step could approach this format purpose.&amp;nbsp;&amp;nbsp; However, I have hundreds of statement (format, rename and label) to modify this dataset.&amp;nbsp;&amp;nbsp; I read use proc dataset could reduce the processing time, comparing with simple data step.&amp;nbsp;&amp;nbsp; That is why I use Proc Dataset.&amp;nbsp;&amp;nbsp; Correct me if I am wrong.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Quote from your otriginal post:&lt;/P&gt;
&lt;P&gt;"I would like to save my new SAS dataset into a new file"&lt;/P&gt;
&lt;P&gt;Since you read and write the dataset anyway, the advantages of using proc datasets won't come into play.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Oct 2018 13:06:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-dataset-option/m-p/504700#M135119</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-10-16T13:06:06Z</dc:date>
    </item>
  </channel>
</rss>

