<?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: create data set in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/create-data-set/m-p/615277#M179961</link>
    <description>&lt;P&gt;Your datalines block needs to either have&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;consistent column widths or&lt;/LI&gt;
&lt;LI&gt;consistent use of delimiters&lt;/LI&gt;
&lt;/UL&gt;</description>
    <pubDate>Mon, 06 Jan 2020 10:50:36 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2020-01-06T10:50:36Z</dc:date>
    <item>
      <title>create data set</title>
      <link>https://communities.sas.com/t5/SAS-Programming/create-data-set/m-p/615274#M179960</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;I want to create a data set .&lt;/P&gt;
&lt;P&gt;What is the best way to do it please?&lt;/P&gt;
&lt;P&gt;I don't get the values all values and all rows.&lt;/P&gt;
&lt;P&gt;There should be 42 rows&amp;nbsp; and 5 columns&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Data tbl;
input field $ @1 PCT @7 Amnt @10  Factor @17	Reduce @20;
cards;
max   .  .             1          -4490
max   30 20000  1          -2461
max	  40 20000  1          -2981
max	  50 20000  1          -3433
max	  30 50000  1          -3621
max	  40 50000  1          -3843
max	  50 50000  1          -4039
max   .  .             1.1       -4157
max	  30 20000  1.1       -2306
max	  40 20000  1.1       -2788
max	  50 20000  1.1       -3202
max	  30 50000  1.1       -3361
max	  40 50000  1.1       -3568
max	  50 50000  1.1        -3749
max   .  .      1.2	        -3858
max	  30 20000  1.2        -2161
max	  40 20000  1.2        -2607
max	  50 20000  1.2        -2988
max	  30 50000  1.2        -3125
max	  40 50000  1.2        -3319
max	  50 50000  1.2        -3486
S_Max .  .           1           -5114
S_Max 30 20000	1      -2697
S_Max 40 20000	1      -3281
S_Max 50 20000	1      -3802
S_Max 30 50000	1      -4094
S_Max 40 50000	1      -4342
S_Max 50 50000	1      -4564
S_Max .	 .             1.1    -4804
S_Max 30 20000	1.1	-2573
S_Max 40 20000	1.1	-3122
S_Max 50 20000	1.1	-3606
S_Max 30 50000	1.1	-3859
S_Max 40 50000	1.1	-4093
S_Max 50 50000	1.1	-4301
S_Max .  .		1.2	-4514
S_Max 30 20000	1.2	-2449
S_Max 40 20000	1.2	-2964
S_Max 50 20000	1.2	-3415
S_Max 30 50000	1.2	-3637
S_Max 40 50000	1.2	-3857
S_Max 50 50000	1.2	-4052
;
run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 06 Jan 2020 10:20:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/create-data-set/m-p/615274#M179960</guid>
      <dc:creator>Ronein</dc:creator>
      <dc:date>2020-01-06T10:20:35Z</dc:date>
    </item>
    <item>
      <title>Re: create data set</title>
      <link>https://communities.sas.com/t5/SAS-Programming/create-data-set/m-p/615277#M179961</link>
      <description>&lt;P&gt;Your datalines block needs to either have&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;consistent column widths or&lt;/LI&gt;
&lt;LI&gt;consistent use of delimiters&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Mon, 06 Jan 2020 10:50:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/create-data-set/m-p/615277#M179961</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-01-06T10:50:36Z</dc:date>
    </item>
    <item>
      <title>Re: create data set</title>
      <link>https://communities.sas.com/t5/SAS-Programming/create-data-set/m-p/615282#M179963</link>
      <description>&lt;P&gt;Great and thank you!!&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Data tbl;
 INFILE DATALINES DLM=',';
input field $ PCT Amnt   Factor	Reduce ;
cards;
max,.,.,1,-4490
max,30,20000,1,-2461
max,40,20000,1,-2981
max,50,20000,1,-3433
max,30,50000,1,-3621
max,40,50000,1,-3843
max,50,50000,1,-4039
max,.,.,1.1,-4157
max,30,20000,1.1,-2306
max,40,20000,1.1,-2788
max,50,20000,1.1,-3202
max,30,50000,1.1,-3361
max,40,50000,1.1,-3568
max,50,50000,1.1,-3749
max,.,.,1.2,-3858
max,30,20000,1.2,-2161
max,40,20000,1.2,-2607
max,50,20000,1.2,-2988
max,30,50000,1.2,-3125
max,40,50000,1.2,-3319
max,50,50000,1.2,-3486
S_Max,.,.,1,-5114
S_Max,30,20000,1,-2697
S_Max,40,20000,1,-3281
S_Max,50,20000,1,-3802
S_Max,30,50000,1,-4094
S_Max,40,50000,1,-4342
S_Max,50,50000,1,-4564
S_Max,.,.,1.1,-4804
S_Max,30,20000,1.1,-2573
S_Max,40,20000,1.1,-3122
S_Max,50,20000,1.1,-3606
S_Max,30,50000,1.1,-3859
S_Max,40,50000,1.1,-4093
S_Max,50,50000,1.1,-4301
S_Max,.,.,1.2,-4514
S_Max,30,20000,1.2,-2449
S_Max,40,20000,1.2,-2964
S_Max,50,20000,1.2,-3415
S_Max,30,50000,1.2,-3637
S_Max,40,50000,1.2,-3857
S_Max,50,50000,1.2,-4052
;
run;

&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 06 Jan 2020 11:16:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/create-data-set/m-p/615282#M179963</guid>
      <dc:creator>Ronein</dc:creator>
      <dc:date>2020-01-06T11:16:21Z</dc:date>
    </item>
  </channel>
</rss>

