<?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: Defining a autonumber ID column when creating a dataset? in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Defining-a-autonumber-ID-column-when-creating-a-dataset/m-p/74910#M21742</link>
    <description>Nevermind I figured it out $20. fixed it in the input statement.&lt;BR /&gt;
&lt;BR /&gt;
Thanks again for the help&lt;BR /&gt;
Jerry</description>
    <pubDate>Fri, 20 Feb 2009 17:53:41 GMT</pubDate>
    <dc:creator>jerry898969</dc:creator>
    <dc:date>2009-02-20T17:53:41Z</dc:date>
    <item>
      <title>Defining a autonumber ID column when creating a dataset?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Defining-a-autonumber-ID-column-when-creating-a-dataset/m-p/74907#M21739</link>
      <description>Let me start off by saying that I'm very new to SAS so excuse me for any minor mistakes.&lt;BR /&gt;
&lt;BR /&gt;
I'm trying to create a dataset that will have an ID column with autogenerated numbers as the ID's.  &lt;BR /&gt;
With this dataset how can I had an Id field as the first column?&lt;BR /&gt;
&lt;BR /&gt;
data Person;&lt;BR /&gt;
	input fname $ lname $ city $;&lt;BR /&gt;
	datalines;&lt;BR /&gt;
	BOB JONES BOSTON &lt;BR /&gt;
	FRED SMITH MIAMI&lt;BR /&gt;
	;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
Thank You&lt;BR /&gt;
Jerry</description>
      <pubDate>Fri, 20 Feb 2009 16:33:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Defining-a-autonumber-ID-column-when-creating-a-dataset/m-p/74907#M21739</guid>
      <dc:creator>jerry898969</dc:creator>
      <dc:date>2009-02-20T16:33:26Z</dc:date>
    </item>
    <item>
      <title>Re: Defining a autonumber ID column when creating a dataset?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Defining-a-autonumber-ID-column-when-creating-a-dataset/m-p/74908#M21740</link>
      <description>add a line just before the input statement[pre]      ID+1 ;[/pre]&lt;BR /&gt;
 good Luck &lt;BR /&gt;
 &lt;BR /&gt;
PeterC</description>
      <pubDate>Fri, 20 Feb 2009 16:41:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Defining-a-autonumber-ID-column-when-creating-a-dataset/m-p/74908#M21740</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2009-02-20T16:41:59Z</dc:date>
    </item>
    <item>
      <title>Re: Defining a autonumber ID column when creating a dataset?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Defining-a-autonumber-ID-column-when-creating-a-dataset/m-p/74909#M21741</link>
      <description>Pete,&lt;BR /&gt;
Thank you so much that was simple enough.  &lt;BR /&gt;
&lt;BR /&gt;
In my data lines what do I have to do to get New York as the city, it only shows New?  &lt;BR /&gt;
&lt;BR /&gt;
Thanks again&lt;BR /&gt;
Jerry</description>
      <pubDate>Fri, 20 Feb 2009 16:48:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Defining-a-autonumber-ID-column-when-creating-a-dataset/m-p/74909#M21741</guid>
      <dc:creator>jerry898969</dc:creator>
      <dc:date>2009-02-20T16:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: Defining a autonumber ID column when creating a dataset?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Defining-a-autonumber-ID-column-when-creating-a-dataset/m-p/74910#M21742</link>
      <description>Nevermind I figured it out $20. fixed it in the input statement.&lt;BR /&gt;
&lt;BR /&gt;
Thanks again for the help&lt;BR /&gt;
Jerry</description>
      <pubDate>Fri, 20 Feb 2009 17:53:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Defining-a-autonumber-ID-column-when-creating-a-dataset/m-p/74910#M21742</guid>
      <dc:creator>jerry898969</dc:creator>
      <dc:date>2009-02-20T17:53:41Z</dc:date>
    </item>
  </channel>
</rss>

