<?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: Need help with problem 2 in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Need-help-with-problem-2/m-p/699958#M214148</link>
    <description>Okay, I am not sure. the instructor said to not use set ia.prob1 so i took it as not</description>
    <pubDate>Wed, 18 Nov 2020 19:10:02 GMT</pubDate>
    <dc:creator>Curious4</dc:creator>
    <dc:date>2020-11-18T19:10:02Z</dc:date>
    <item>
      <title>Need help with problem 2</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-help-with-problem-2/m-p/699841#M214094</link>
      <description>&lt;P&gt;Anyone has advice on how I can go about doing problem 2 of this sneario? I have already done part 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Nov 2020 01:11:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-help-with-problem-2/m-p/699841#M214094</guid>
      <dc:creator>Curious4</dc:creator>
      <dc:date>2020-11-19T01:11:34Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with problem 2</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-help-with-problem-2/m-p/699848#M214095</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/351456"&gt;@Curious4&lt;/a&gt;&amp;nbsp;. I'm sorry to be so picky, but the text in your screen captures is barely readable. Can you provide the text in the screen captures in somewhat larger size? (I do not download attachments, they are a security threat, so I cannot look in your zip file)&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2020 15:54:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-help-with-problem-2/m-p/699848#M214095</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-11-18T15:54:44Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with problem 2</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-help-with-problem-2/m-p/699860#M214098</link>
      <description>I can send a more zoomed in picture but the zip is the only way to show it as the purpose of the assignment is to work with zipped files without extracting.</description>
      <pubDate>Wed, 18 Nov 2020 16:06:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-help-with-problem-2/m-p/699860#M214098</guid>
      <dc:creator>Curious4</dc:creator>
      <dc:date>2020-11-18T16:06:32Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with problem 2</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-help-with-problem-2/m-p/699864#M214099</link>
      <description>&lt;P&gt;I have updated the post with better images.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2020 16:10:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-help-with-problem-2/m-p/699864#M214099</guid>
      <dc:creator>Curious4</dc:creator>
      <dc:date>2020-11-18T16:10:32Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with problem 2</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-help-with-problem-2/m-p/699867#M214100</link>
      <description>&lt;P&gt;Well, thank you, I can now read problem 2, but since I refuse to download .zip files (or any files, really), you'll have to wait for someone else to help.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2020 16:15:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-help-with-problem-2/m-p/699867#M214100</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-11-18T16:15:39Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with problem 2</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-help-with-problem-2/m-p/699868#M214101</link>
      <description>&lt;P&gt;Okay. Thanks anyway!&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2020 16:16:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-help-with-problem-2/m-p/699868#M214101</guid>
      <dc:creator>Curious4</dc:creator>
      <dc:date>2020-11-18T16:16:13Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with problem 2</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-help-with-problem-2/m-p/699881#M214108</link>
      <description>Zip files have nothing to do the second question so you could provide the original data as a data step or as the text file.</description>
      <pubDate>Wed, 18 Nov 2020 16:41:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-help-with-problem-2/m-p/699881#M214108</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-11-18T16:41:15Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with problem 2</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-help-with-problem-2/m-p/699895#M214116</link>
      <description>&lt;P&gt;I printed it to the original post. thats all i know how to do&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2020 17:04:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-help-with-problem-2/m-p/699895#M214116</guid>
      <dc:creator>Curious4</dc:creator>
      <dc:date>2020-11-18T17:04:49Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with problem 2</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-help-with-problem-2/m-p/699896#M214117</link>
      <description>Have you not imported the file into a SAS data set?</description>
      <pubDate>Wed, 18 Nov 2020 17:10:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-help-with-problem-2/m-p/699896#M214117</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-11-18T17:10:33Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with problem 2</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-help-with-problem-2/m-p/699900#M214120</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data ia.prob02;
set ia.prob01;

prize =  (2012-since) * 10000 /*years*/ + floor(miles/100)*100  /*miles*/;

keep first_name last_name miles state_code prize;

run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/351456"&gt;@Curious4&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Anyone has advice on how I can go about doing problem 2 of this sneario? I have already done part 1&lt;/P&gt;
&lt;PRE&gt;libname ia "/folders/myfolders/DATASETS";

data prob1; set ia.prob1;
Filename zipfiles zip '/folders/myfolders/DATASETS/sweepstakes.zip'; 
Infile zipfiles(sweepstakes.dat); 

Filename sweepstakes zip '/folders/myfolders/DATASETS/sweepstakes.zip' member ='sweepstakes.dat';
infile sweepstakes;

proc print data=prob1;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Curious4_0-1605715681018.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/51793iC47EF23F542B6FA0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Curious4_0-1605715681018.png" alt="Curious4_0-1605715681018.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Curious4_1-1605715787477.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/51794i72AF9336C42152CA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Curious4_1-1605715787477.png" alt="Curious4_1-1605715787477.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;sweepstakes.dat:&lt;/P&gt;
&lt;P&gt;Jessica Cho&lt;BR /&gt;Gold 2006 46,153&lt;BR /&gt;American Express&lt;BR /&gt;VA&lt;/P&gt;
&lt;P&gt;Bashid Al Herrum&lt;BR /&gt;Platinum 2011 21,848&lt;BR /&gt;Visa&lt;BR /&gt;CT&lt;/P&gt;
&lt;P&gt;Johnathan Dudashman&lt;BR /&gt;Silver 2010 109,677&lt;BR /&gt;Visa&lt;BR /&gt;NY&lt;/P&gt;
&lt;P&gt;Paul Duncan&lt;BR /&gt;Gold 2004 5,988&lt;BR /&gt;Mastercard&lt;BR /&gt;DC&lt;/P&gt;
&lt;P&gt;Sarah Smith&lt;BR /&gt;Gold 2010 17,325&lt;BR /&gt;Visa&lt;BR /&gt;FL&lt;/P&gt;
&lt;P&gt;Amanda Cole&lt;BR /&gt;Platinum 2008 68,077&lt;BR /&gt;Visa&lt;BR /&gt;MD&lt;/P&gt;
&lt;P&gt;Gregory De Silva&lt;BR /&gt;Platinum 2007 92,785&lt;BR /&gt;American Express&lt;BR /&gt;DE&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2020 17:18:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-help-with-problem-2/m-p/699900#M214120</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-11-18T17:18:54Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with problem 2</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-help-with-problem-2/m-p/699902#M214121</link>
      <description>FYI - If Problem 1 was not solved correctly you cannot answer problem 2. Your code as shown would not be a correct answer to problem 1.</description>
      <pubDate>Wed, 18 Nov 2020 17:21:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-help-with-problem-2/m-p/699902#M214121</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-11-18T17:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with problem 2</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-help-with-problem-2/m-p/699904#M214122</link>
      <description>The assignment does not ask me to do that. it just says to read it from the zip.</description>
      <pubDate>Wed, 18 Nov 2020 17:28:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-help-with-problem-2/m-p/699904#M214122</guid>
      <dc:creator>Curious4</dc:creator>
      <dc:date>2020-11-18T17:28:29Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with problem 2</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-help-with-problem-2/m-p/699905#M214123</link>
      <description>&lt;P&gt;Yes, I am still working on problem 1 but I don't know why I am still getting errors. This is my revised code, I think I am on a better track but haven't gotten rid of all errors.&lt;BR /&gt;&lt;BR /&gt;Filename zipfiles zip '/folders/myfolders/DATASETS/sweepstakes.zip';&lt;BR /&gt;/*Filename sweepstakes zip '/folders/myfolders/DATASETS/sweepstakes.zip' member ='sweepstakes.dat';*/&lt;BR /&gt;data prob1a;&lt;BR /&gt;&lt;BR /&gt;Infile zipfiles(sweepstakes.dat);&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;/*infile sweepstakes;*/&lt;BR /&gt;&lt;BR /&gt;proc print data=prob1a;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2020 17:59:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-help-with-problem-2/m-p/699905#M214123</guid>
      <dc:creator>Curious4</dc:creator>
      <dc:date>2020-11-18T17:59:29Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with problem 2</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-help-with-problem-2/m-p/699920#M214128</link>
      <description>&lt;P&gt;I read it as asking you to create the permanent sas data set as shown but I guess I don't understand your problem then. Good Luck.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/351456"&gt;@Curious4&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;The assignment does not ask me to do that. it just says to read it from the zip.&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2020 18:02:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-help-with-problem-2/m-p/699920#M214128</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-11-18T18:02:35Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with problem 2</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-help-with-problem-2/m-p/699958#M214148</link>
      <description>Okay, I am not sure. the instructor said to not use set ia.prob1 so i took it as not</description>
      <pubDate>Wed, 18 Nov 2020 19:10:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-help-with-problem-2/m-p/699958#M214148</guid>
      <dc:creator>Curious4</dc:creator>
      <dc:date>2020-11-18T19:10:02Z</dc:date>
    </item>
  </channel>
</rss>

