<?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: SAS Programming 1: Essentials Case Study in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SAS-Programming-1-Essentials-Case-Study/m-p/653163#M196188</link>
    <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ashwini15_0-1591270539151.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/40341iDB30E05E1BE125DA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ashwini15_0-1591270539151.png" alt="Ashwini15_0-1591270539151.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I have clicked run and now I am stuck in an infinite loop&lt;/P&gt;</description>
    <pubDate>Thu, 04 Jun 2020 11:36:03 GMT</pubDate>
    <dc:creator>Ashwini15</dc:creator>
    <dc:date>2020-06-04T11:36:03Z</dc:date>
    <item>
      <title>SAS Programming 1: Essentials Case Study</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Programming-1-Essentials-Case-Study/m-p/653149#M196177</link>
      <description>&lt;P&gt;I am currently doing the essentials case study 1 and this was the code I put in:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc import datafile="/home/u48548322/Case Study- TSA Airport/TSAClaims2002_2017.csv"&lt;BR /&gt;dbms=csv&lt;BR /&gt;out=tsa.claimsimport&lt;BR /&gt;replace;&lt;BR /&gt;guessingrows=max;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The log however states this with no errors, but states that the table is unable to open:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="sasSource"&gt;1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;72&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;73 proc import datafile="/home/u48548322/Case Study- TSA Airport/TSAClaims2002_2017.csv"&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;74 dbms=csv&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;75 out=tsa.claimsimport&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;76 replace;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;77 guessingrows=max;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;78 run;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;NOTE: Unable to open parameter catalog: SASUSER.PARMS.PARMS.SLIST in update mode. Temporary parameter values will be saved to&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;WORK.PARMS.PARMS.SLIST.&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;How can I resolve this.&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Thu, 04 Jun 2020 11:12:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Programming-1-Essentials-Case-Study/m-p/653149#M196177</guid>
      <dc:creator>Ashwini15</dc:creator>
      <dc:date>2020-06-04T11:12:00Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Programming 1: Essentials Case Study</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Programming-1-Essentials-Case-Study/m-p/653154#M196181</link>
      <description>&lt;P&gt;This NOTE informs you that your SASUSER library was opened in read-only mode (default for most current SAS installations, especially those used for learning). It mentions a parameter catalog, not the dataset you created. This would be mentioned as TSA.CLAIMSIMPORT.DATA.&lt;/P&gt;
&lt;P&gt;You can safely ignore the message.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you still think you have problems, post the &lt;EM&gt;whole&lt;/EM&gt; log (from the start of your proc import down to any message), using this button:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bildschirmfoto 2020-04-07 um 08.32.59.png"&gt;&lt;img src="https://communities.sas.com/skins/images/710AFAD0E2288E4865F0ACA859F48344/responsive_peak/images/image_not_found.png" alt="Bildschirmfoto 2020-04-07 um 08.32.59.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jun 2020 11:24:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Programming-1-Essentials-Case-Study/m-p/653154#M196181</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-06-04T11:24:23Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Programming 1: Essentials Case Study</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Programming-1-Essentials-Case-Study/m-p/653155#M196182</link>
      <description>&lt;P&gt;Thank you for this, however when I want to print the data using proc print statement. I get stuck in an infinite loop when i run the programme. Please explain this to me??&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jun 2020 11:27:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Programming-1-Essentials-Case-Study/m-p/653155#M196182</guid>
      <dc:creator>Ashwini15</dc:creator>
      <dc:date>2020-06-04T11:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Programming 1: Essentials Case Study</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Programming-1-Essentials-Case-Study/m-p/653158#M196185</link>
      <description>&lt;P&gt;If you have lots of observations in your dataset, a proc print output might be too large for your SAS interface (Studio or Enterprise Guide). Just run your import and show us the log from that.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jun 2020 11:32:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Programming-1-Essentials-Case-Study/m-p/653158#M196185</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-06-04T11:32:15Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Programming 1: Essentials Case Study</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Programming-1-Essentials-Case-Study/m-p/653163#M196188</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ashwini15_0-1591270539151.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/40341iDB30E05E1BE125DA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ashwini15_0-1591270539151.png" alt="Ashwini15_0-1591270539151.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I have clicked run and now I am stuck in an infinite loop&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jun 2020 11:36:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Programming-1-Essentials-Case-Study/m-p/653163#M196188</guid>
      <dc:creator>Ashwini15</dc:creator>
      <dc:date>2020-06-04T11:36:03Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Programming 1: Essentials Case Study</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Programming-1-Essentials-Case-Study/m-p/653165#M196190</link>
      <description>&lt;PRE&gt;1          OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 72         
 73         proc import datafile="/home/u48548322/Case Study- TSA Airport/TSAClaims2002_2017.csv"
 74         dbms=csv
 75         out=tsa.claims_cleaned
 76         replace;
 77         guessingrows=max;
 78         run;
 
 NOTE: Unable to open parameter catalog: SASUSER.PARMS.PARMS.SLIST in update mode. Temporary parameter values will be saved to 
 WORK.PARMS.PARMS.SLIST.
 79          /**********************************************************************
 80          *   PRODUCT:   SAS
 81          *   VERSION:   9.4
 82          *   CREATOR:   External File Interface
 83          *   DATE:      04JUN20
 84          *   DESC:      Generated SAS Datastep Code
 85          *   TEMPLATE SOURCE:  (None Specified.)
 86          ***********************************************************************/
 87             data TSA.CLAIMS_CLEANED    ;
 88             %let _EFIERR_ = 0; /* set the ERROR detection macro variable */
 89             infile '/home/u48548322/Case Study- TSA Airport/TSAClaims2002_2017.csv' delimiter = ',' MISSOVER DSD lrecl=32767
 89       ! firstobs=2 ;
 90                informat Claim_Number $13. ;
 91                informat Date_Received best32. ;
 92                informat Incident_Date best32. ;
 93                informat Airport_Code $3. ;
 94                informat Airport_Name $48. ;
 95                informat Claim_Type $39. ;
 96                informat Claim_Site $15. ;
 97                informat Item_Category $834. ;
 98                informat Close_Amount best32. ;
 99                informat Disposition $23. ;
 100               informat StateName $17. ;
 101               informat State $2. ;
 102               informat County $20. ;
 103               informat City $33. ;
 104               format Claim_Number $13. ;
 105               format Date_Received best12. ;
 106               format Incident_Date best12. ;
 107               format Airport_Code $3. ;
 108               format Airport_Name $48. ;
 109               format Claim_Type $39. ;
 110               format Claim_Site $15. ;
 111               format Item_Category $834. ;
 112               format Close_Amount best12. ;
 113               format Disposition $23. ;
 114               format StateName $17. ;
 115               format State $2. ;
 116               format County $20. ;
 117               format City $33. ;
 118            input
 119                        Claim_Number  $
 120                        Date_Received
 121                        Incident_Date
 122                        Airport_Code  $
 123                        Airport_Name  $
 124                        Claim_Type  $
 125                        Claim_Site  $
 126                        Item_Category  $
 127                        Close_Amount
 128                        Disposition  $
 129                        StateName  $
 130                        State  $
 131                        County  $
 132                        City  $
 133            ;
 134            if _ERROR_ then call symputx('_EFIERR_',1);  /* set ERROR detection macro variable */
 135            run;
 
 NOTE: The infile '/home/u48548322/Case Study- TSA Airport/TSAClaims2002_2017.csv' is:
       Filename=/home/u48548322/Case Study- TSA Airport/TSAClaims2002_2017.csv,
       Owner Name=u48548322,Group Name=oda,
       Access Permission=-rw-r--r--,
       Last Modified=04 June 2020 11:09:42,
       File Size (bytes)=35157057
 
 NOTE: 220855 records were read from the infile '/home/u48548322/Case Study- TSA Airport/TSAClaims2002_2017.csv'.
       The minimum record length was 23.
       The maximum record length was 994.
 NOTE: The data set TSA.CLAIMS_CLEANED has 220855 observations and 14 variables.
 NOTE: DATA statement used (Total process time):
       real time           1.68 seconds
       user cpu time       0.33 seconds
       system cpu time     0.22 seconds
       memory              12781.40k
       OS Memory           43132.00k
       Timestamp           04/06/2020 11:35:44 AM
       Step Count                        29  Switch Count  1
       Page Faults                       0
       Page Reclaims                     481
       Page Swaps                        0
       Voluntary Context Switches        3152
       Involuntary Context Switches      6
       Block Input Operations            0
       Block Output Operations           463624
       
 
 220855 rows created in TSA.CLAIMS_CLEANED from /home/u48548322/Case Study- TSA Airport/TSAClaims2002_2017.csv.
   
   
   
 NOTE: TSA.CLAIMS_CLEANED data set was successfully created.
 NOTE: The data set TSA.CLAIMS_CLEANED has 220855 observations and 14 variables.
 NOTE: PROCEDURE IMPORT used (Total process time):
       real time           1:35.74
       user cpu time       1:33.99
       system cpu time     0.62 seconds
       memory              12781.40k
       OS Memory           43648.00k
       Timestamp           04/06/2020 11:35:44 AM
       Step Count                        29  Switch Count  8
       Page Faults                       0
       Page Reclaims                     15216
       Page Swaps                        0
       Voluntary Context Switches        3262
       Involuntary Context Switches      115
       Block Input Operations            288
       Block Output Operations           463744
       
 
 136        
 137        
 138        OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 150        &lt;/PRE&gt;&lt;P&gt;Here is the log I got.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jun 2020 11:39:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Programming-1-Essentials-Case-Study/m-p/653165#M196190</guid>
      <dc:creator>Ashwini15</dc:creator>
      <dc:date>2020-06-04T11:39:36Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Programming 1: Essentials Case Study</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Programming-1-Essentials-Case-Study/m-p/653166#M196191</link>
      <description>&lt;P&gt;Restart your SAS session, and run the steps in order (mark the code and then click submit).&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jun 2020 11:39:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Programming-1-Essentials-Case-Study/m-p/653166#M196191</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-06-04T11:39:45Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Programming 1: Essentials Case Study</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Programming-1-Essentials-Case-Study/m-p/653167#M196192</link>
      <description>&lt;P&gt;This is your essential clue:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt; NOTE: TSA.CLAIMS_CLEANED data set was successfully created.
 NOTE: The data set TSA.CLAIMS_CLEANED has 220855 observations and 14 variables.
 NOTE: PROCEDURE IMPORT used (Total process time):
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;So the dataset was successfully created.&lt;/P&gt;
&lt;P&gt;But if you want to print 200000 lines with possibly considerably large content (those 14 columns might be quite wide), this might overwhelm your front-end (the browser if you use SAS Studio).&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jun 2020 11:43:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Programming-1-Essentials-Case-Study/m-p/653167#M196192</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-06-04T11:43:36Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Programming 1: Essentials Case Study</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Programming-1-Essentials-Case-Study/m-p/653169#M196193</link>
      <description>• Import the raw data file TSAClaims2002_2017.csv.&lt;BR /&gt;• The final data should be in the permanent library tsa, and the data set should be named&lt;BR /&gt;claims_cleaned.&lt;BR /&gt;• Entirely duplicated records need to be removed from the data set.&lt;BR /&gt;• All missing and “-“ values in the columns Claim_Type, Claim_Site, and Disposition must be&lt;BR /&gt;changed to Unknown.&lt;BR /&gt;• Values in the columns Claim_Type, Claim_Site, and Disposition must follow the requirements in&lt;BR /&gt;the data layout.&lt;BR /&gt;• All StateName values should be in proper case.&lt;BR /&gt;• All State values should be in uppercase.&lt;BR /&gt;• You create a new column named Date_Issues with a value of Needs Review to indicate that a&lt;BR /&gt;row has a date issue. Date issues consist of the following:&lt;BR /&gt;– a missing value for Incident_Date or Date_Received&lt;BR /&gt;– an Incident_Date or Date_Received value out of the predefined year range of 2002 through&lt;BR /&gt;2017&lt;BR /&gt;– an Incident_Date value that occurs after the Date_Received value&lt;BR /&gt;• Remove the County and City columns.&lt;BR /&gt;• Currency should be permanently formatted with a dollar sign and include two decimal points.&lt;BR /&gt;• All dates should be permanently formatted in the style 01JAN2000.&lt;BR /&gt;• Permanent labels should be assigned columns by replacing the underscores with a space.&lt;BR /&gt;• Final data should be sorted in ascending order by Incident_Date.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I have done the first two bullet points, however when I try to do the subsequent steps it doesnt show anything or I am stuck in an infinite loop.</description>
      <pubDate>Thu, 04 Jun 2020 11:50:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Programming-1-Essentials-Case-Study/m-p/653169#M196193</guid>
      <dc:creator>Ashwini15</dc:creator>
      <dc:date>2020-06-04T11:50:12Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Programming 1: Essentials Case Study</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Programming-1-Essentials-Case-Study/m-p/653171#M196195</link>
      <description>&lt;P&gt;Please post the code you tried for #3.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jun 2020 11:53:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Programming-1-Essentials-Case-Study/m-p/653171#M196195</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-06-04T11:53:50Z</dc:date>
    </item>
  </channel>
</rss>

