<?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: use of SET statement in SAS in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/use-of-SET-statement-in-SAS/m-p/59962#M16969</link>
    <description>In addition to the SAS documentation, might I suggest the SAS support  &lt;A href="http://support.sas.com/" target="_blank"&gt;http://support.sas.com/&lt;/A&gt;   website which has much to offer (and it's free to use) for SAS-hosted manuals and supplemental technical and conference reference material.  The website has a SEARCH facility or you can use your favorite Internet search choice, such as the Google advanced search argument below:&lt;BR /&gt;
&lt;BR /&gt;
data step programming set statement site:sas.com&lt;BR /&gt;
&lt;BR /&gt;
Here is a SAS SUGI/SGF conference tutorial paper for your consideration:&lt;BR /&gt;
&lt;BR /&gt;
Programming with the KEEP, RENAME, and DROP Data Set Options&lt;BR /&gt;
Stephen Philp, Pelican Programming, Los Angeles, CA&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://www2.sas.com/proceedings/sugi31/248-31.pdf" target="_blank"&gt;http://www2.sas.com/proceedings/sugi31/248-31.pdf&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
    <pubDate>Fri, 19 Feb 2010 12:51:51 GMT</pubDate>
    <dc:creator>sbb</dc:creator>
    <dc:date>2010-02-19T12:51:51Z</dc:date>
    <item>
      <title>use of SET statement in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/use-of-SET-statement-in-SAS/m-p/59961#M16968</link>
      <description>KINDLY HELP ME IN UNDERSTANDING THE code in the second line ( set sc.payroll1 ) below :-&lt;BR /&gt;
&lt;BR /&gt;
data ticket_agents;&lt;BR /&gt;
	set sc.payroll1 (keep=IDNum JobCode Birth Gender Salary);&lt;BR /&gt;
	where JobCode like 'TA_';&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
regards &lt;BR /&gt;
markc</description>
      <pubDate>Fri, 19 Feb 2010 12:16:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/use-of-SET-statement-in-SAS/m-p/59961#M16968</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-02-19T12:16:23Z</dc:date>
    </item>
    <item>
      <title>Re: use of SET statement in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/use-of-SET-statement-in-SAS/m-p/59962#M16969</link>
      <description>In addition to the SAS documentation, might I suggest the SAS support  &lt;A href="http://support.sas.com/" target="_blank"&gt;http://support.sas.com/&lt;/A&gt;   website which has much to offer (and it's free to use) for SAS-hosted manuals and supplemental technical and conference reference material.  The website has a SEARCH facility or you can use your favorite Internet search choice, such as the Google advanced search argument below:&lt;BR /&gt;
&lt;BR /&gt;
data step programming set statement site:sas.com&lt;BR /&gt;
&lt;BR /&gt;
Here is a SAS SUGI/SGF conference tutorial paper for your consideration:&lt;BR /&gt;
&lt;BR /&gt;
Programming with the KEEP, RENAME, and DROP Data Set Options&lt;BR /&gt;
Stephen Philp, Pelican Programming, Los Angeles, CA&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://www2.sas.com/proceedings/sugi31/248-31.pdf" target="_blank"&gt;http://www2.sas.com/proceedings/sugi31/248-31.pdf&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
      <pubDate>Fri, 19 Feb 2010 12:51:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/use-of-SET-statement-in-SAS/m-p/59962#M16969</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2010-02-19T12:51:51Z</dc:date>
    </item>
    <item>
      <title>Re: use of SET statement in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/use-of-SET-statement-in-SAS/m-p/59963#M16970</link>
      <description>Hi Mark,&lt;BR /&gt;
&lt;BR /&gt;
If you are comfortable with SQL, in simple words-&lt;BR /&gt;
&lt;BR /&gt;
set sc.payroll1 is equivalent to select * from sc.payroll1 where SC is the library where the dataset is stored and payroll1 is the dataset.&lt;BR /&gt;
&lt;BR /&gt;
if you use the "keep" statement with the columns given below&lt;BR /&gt;
select * -- changes to &lt;BR /&gt;
select IDNum, JobCode, Birth, Gender, Salary from sc.payroll1.&lt;BR /&gt;
&lt;BR /&gt;
setting the dataset basically copies the dataset into the input buffer for further use.&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Saurabh.</description>
      <pubDate>Tue, 23 Feb 2010 06:56:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/use-of-SET-statement-in-SAS/m-p/59963#M16970</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-02-23T06:56:55Z</dc:date>
    </item>
  </channel>
</rss>

