<?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: Database SAS in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Database-SAS/m-p/130492#M260583</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;NUMERO_POLICE is just the name of the variable in the 4 variables (in my first question)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NUMERO_POLICE is the variable that contain seven characters with ALWAYS zeros before the number. For my second question, they want another database that contain only the variable NUMERO_POLICE (in my first question) WITH at least one time the character "1" in the number that contain always zeros before the number....&lt;/P&gt;&lt;P&gt;Sorry if its complicated.... =S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 09 Mar 2013 00:59:44 GMT</pubDate>
    <dc:creator>Andrée</dc:creator>
    <dc:date>2013-03-09T00:59:44Z</dc:date>
    <item>
      <title>Database SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Database-SAS/m-p/130483#M260574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a important work to do.... (Sorry for my English)&lt;/P&gt;&lt;P&gt;Can you give me the processus or why can i do this : I have to create a database with 1000 obervations and with ONLY 4 variables :&lt;/P&gt;&lt;P&gt;(the 4 variables must have Label, format and Length)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Variable 1:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Name: Numero_Police&lt;/P&gt;&lt;P&gt;Format: 7 charactere (always with 0 before the number)&lt;/P&gt;&lt;P&gt;Value: Disctint number equal to the number of the observation (i.e 0000010)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Variable 2:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Name: Date_fin&lt;/P&gt;&lt;P&gt;Format: Date format SAS (like Date9)&lt;/P&gt;&lt;P&gt;Value: Day=1, Month=Number of obervation / 85 (round and the minimum is 1), Years=2012&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Variable 3:&lt;BR /&gt;&lt;/SPAN&gt;Name: Prix_Charge&lt;/P&gt;&lt;P&gt;Format: Numerical variable with 2 decimal&lt;/P&gt;&lt;P&gt;Value: Random number [0.1]*1000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Variable 4:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Name: Province&lt;/P&gt;&lt;P&gt;Format: chain of character&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Observation&lt;/EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;EM&gt;Values&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;1 to 200&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Quebec&lt;/P&gt;&lt;P&gt;201 to 400&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Ontario&lt;/P&gt;&lt;P&gt;401 to 600&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Terre-Neuve&lt;/P&gt;&lt;P&gt;601 to 800&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Alberta&lt;/P&gt;&lt;P&gt;801 to 1000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Manitoba&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2013 20:07:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Database-SAS/m-p/130483#M260574</guid>
      <dc:creator>Andrée</dc:creator>
      <dc:date>2013-03-07T20:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: Database SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Database-SAS/m-p/130484#M260575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;data want(drop=i);&lt;/P&gt;&lt;P&gt;format&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Numero_Police z7.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date_Fin date9.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Prix_Charge 6.2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Province $10.&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;do i = 1 to 1000;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Numero_Police=i;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date_Fin=mdy(max(i/85,1),1,2012);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Prix_Charge=ranuni(0)*1000;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if i le 200 then Province='Quebec';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; else if i le 400 then Province='Ontario';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; else if i le 600 then Province='Terre-Neuve';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; else if i le 800 then Province='Alberta';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; else Province='Manitoba';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; output;&lt;/P&gt;&lt;P&gt;end;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2013 20:16:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Database-SAS/m-p/130484#M260575</guid>
      <dc:creator>DBailey</dc:creator>
      <dc:date>2013-03-07T20:16:46Z</dc:date>
    </item>
    <item>
      <title>Re: Database SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Database-SAS/m-p/130485#M260576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much!!&lt;/P&gt;&lt;P&gt;But i create Data Devoir1 (DROP=i);&lt;/P&gt;&lt;P&gt;So normally the Data go in Bibliotheque Work by default... But its not there??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2013 20:54:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Database-SAS/m-p/130485#M260576</guid>
      <dc:creator>Andrée</dc:creator>
      <dc:date>2013-03-07T20:54:54Z</dc:date>
    </item>
    <item>
      <title>Re: Database SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Database-SAS/m-p/130486#M260577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is has if nothing was created...!?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2013 20:59:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Database-SAS/m-p/130486#M260577</guid>
      <dc:creator>Andrée</dc:creator>
      <dc:date>2013-03-07T20:59:30Z</dc:date>
    </item>
    <item>
      <title>Re: Database SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Database-SAS/m-p/130487#M260578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;did it work before you change the dataset name?&amp;nbsp; If you are using Enterprise Guide, you may need to refresh the library before the dataset will show.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2013 21:06:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Database-SAS/m-p/130487#M260578</guid>
      <dc:creator>DBailey</dc:creator>
      <dc:date>2013-03-07T21:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: Database SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Database-SAS/m-p/130488#M260579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Didnt work... it is not created at any place... i try many thing like creating my database on different file or just put the name Devoir1 for creating this one on Work Library... but didnt work...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2013 21:37:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Database-SAS/m-p/130488#M260579</guid>
      <dc:creator>Andrée</dc:creator>
      <dc:date>2013-03-07T21:37:27Z</dc:date>
    </item>
    <item>
      <title>Re: Database SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Database-SAS/m-p/130489#M260580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What does the log say?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2013 22:02:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Database-SAS/m-p/130489#M260580</guid>
      <dc:creator>DBailey</dc:creator>
      <dc:date>2013-03-07T22:02:19Z</dc:date>
    </item>
    <item>
      <title>Re: Database SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Database-SAS/m-p/130490#M260581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok thank you its ok!&lt;/P&gt;&lt;P&gt;If i want to create an other database with the first one, but with only the 3 next variables:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1- POURC_AN: Percentage of the year pass between 1er janvier 2012 and DATE_FIN (FORMAT PERCENT with 1 decimale)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2-DATE_FIN2: Values of the DATE_FIN variable (Numerical format AAAAMMJJ)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3-DATE_FIN3: Values of the DATE_FIN variable (caractere chain AAAAMMJJ)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; **And if you can, i have to create a database with only the observation of NUMERO_POLICE that contain minimum one time the caractere "1" in the number!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help!!! &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Mar 2013 22:21:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Database-SAS/m-p/130490#M260581</guid>
      <dc:creator>Andrée</dc:creator>
      <dc:date>2013-03-08T22:21:06Z</dc:date>
    </item>
    <item>
      <title>Re: Database SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Database-SAS/m-p/130491#M260582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you're looking for date format of yymmddn8.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm confused about NUMERO_POLICE.&amp;nbsp; It is a number, not a character.&amp;nbsp; Do you only want 1,10,11,12,13,14,15,16,17,18,19,21,31,41,51,61,etc.?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Mar 2013 23:20:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Database-SAS/m-p/130491#M260582</guid>
      <dc:creator>DBailey</dc:creator>
      <dc:date>2013-03-08T23:20:26Z</dc:date>
    </item>
    <item>
      <title>Re: Database SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Database-SAS/m-p/130492#M260583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;NUMERO_POLICE is just the name of the variable in the 4 variables (in my first question)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NUMERO_POLICE is the variable that contain seven characters with ALWAYS zeros before the number. For my second question, they want another database that contain only the variable NUMERO_POLICE (in my first question) WITH at least one time the character "1" in the number that contain always zeros before the number....&lt;/P&gt;&lt;P&gt;Sorry if its complicated.... =S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Mar 2013 00:59:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Database-SAS/m-p/130492#M260583</guid>
      <dc:creator>Andrée</dc:creator>
      <dc:date>2013-03-09T00:59:44Z</dc:date>
    </item>
    <item>
      <title>Re: Database SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Database-SAS/m-p/130493#M260584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;NUMERO_POLICE is just the name of the variable in the 4 variables (in my first question)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NUMERO_POLICE is the variable that contain seven characters with ALWAYS zeros before the number. For my second question, they want another database that contain only the variable NUMERO_POLICE (in my first question) WITH at least one time the character "1" in the number that contain always zeros before the number....&lt;/P&gt;&lt;P&gt;Sorry if its complicated.... =S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Mar 2013 01:01:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Database-SAS/m-p/130493#M260584</guid>
      <dc:creator>Andrée</dc:creator>
      <dc:date>2013-03-09T01:01:26Z</dc:date>
    </item>
  </channel>
</rss>

