<?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: Not being able to run my code will post error below in SAS Software for Learning Community</title>
    <link>https://communities.sas.com/t5/SAS-Software-for-Learning/Not-being-able-to-run-my-code-will-post-error-below/m-p/953295#M2480</link>
    <description>&lt;P&gt;Got it thanks so much. Will try again! Appreciate it!&lt;/P&gt;</description>
    <pubDate>Wed, 11 Dec 2024 21:34:31 GMT</pubDate>
    <dc:creator>acleamon</dc:creator>
    <dc:date>2024-12-11T21:34:31Z</dc:date>
    <item>
      <title>Not being able to run my code will post error below</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/Not-being-able-to-run-my-code-will-post-error-below/m-p/953278#M2473</link>
      <description>&lt;DIV class=""&gt;1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;/DIV&gt;&lt;DIV class=""&gt;68&lt;/DIV&gt;&lt;DIV class=""&gt;69 PROC IMPORT DATAFILE= "/home/u63997444/ECON 348/Master_use_edited_again2.csv"&lt;/DIV&gt;&lt;DIV class=""&gt;70 OUT=Master_d&lt;/DIV&gt;&lt;DIV class=""&gt;71 DBMS=csv&lt;/DIV&gt;&lt;DIV class=""&gt;72 REPLACE;&lt;/DIV&gt;&lt;DIV class=""&gt;73 GETNAMES=Yes;&lt;/DIV&gt;&lt;DIV class=""&gt;74 RUN;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&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=""&gt;WORK.PARMS.PARMS.SLIST.&lt;/DIV&gt;</description>
      <pubDate>Wed, 11 Dec 2024 20:33:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/Not-being-able-to-run-my-code-will-post-error-below/m-p/953278#M2473</guid>
      <dc:creator>acleamon</dc:creator>
      <dc:date>2024-12-11T20:33:24Z</dc:date>
    </item>
    <item>
      <title>Re: Not being able to run my code will post error below</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/Not-being-able-to-run-my-code-will-post-error-below/m-p/953280#M2474</link>
      <description>&lt;P&gt;That is a NOTE not an ERROR so your import will still work. Please post your complete SAS log to confirm.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2024 20:36:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/Not-being-able-to-run-my-code-will-post-error-below/m-p/953280#M2474</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2024-12-11T20:36:56Z</dc:date>
    </item>
    <item>
      <title>Re: Not being able to run my code will post error below</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/Not-being-able-to-run-my-code-will-post-error-below/m-p/953285#M2475</link>
      <description>&lt;P&gt;PROC IMPORT DATAFILE= "/home/u63997444/ECON 348/Master_use_edited_again2.csv"&lt;BR /&gt;OUT=Master_d&lt;BR /&gt;DBMS=csv&lt;BR /&gt;REPLACE;&lt;BR /&gt;GETNAMES=Yes;&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;proc contents data=Master_d;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;proc means data=Master_d;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;data capsizedata;&lt;BR /&gt;set Master_d;&lt;/P&gt;&lt;P&gt;/* Assigning capsize based on Firm */&lt;BR /&gt;if 1 &amp;lt;= Firm &amp;lt;= 10 then capsize = "mega";&lt;BR /&gt;else if 11 &amp;lt;= Firm &amp;lt;= 20 then capsize = "large";&lt;BR /&gt;else if 21 &amp;lt;= Firm &amp;lt;= 30 then capsize = "mid";&lt;BR /&gt;else if 31 &amp;lt;= Firm &amp;lt;= 40 then capsize = "small";&lt;BR /&gt;else if 41 &amp;lt;= Firm &amp;lt;= 50 then capsize = "micro";&lt;BR /&gt;else capsize = "unknown"; /* Default case for capsize if Firm is not in expected range */&lt;BR /&gt;&lt;BR /&gt;/* Convert capsize into numeric dummy variables for regression */&lt;BR /&gt;if capsize = "mega" then capsize_mega = 1; else capsize_mega = 0;&lt;BR /&gt;if capsize = "large" then capsize_large = 1; else capsize_large = 0;&lt;BR /&gt;if capsize = "mid" then capsize_mid = 1; else capsize_mid = 0;&lt;BR /&gt;if capsize = "small" then capsize_small = 1; else capsize_small = 0;&lt;BR /&gt;if capsize = "micro" then capsize_micro = 1; else capsize_micro = 0;&lt;/P&gt;&lt;P&gt;data capsizedata;&lt;BR /&gt;set Master_d;&lt;BR /&gt;/* Assigning capsizeadjust based on MarketCap */&lt;BR /&gt;if MarketCap &amp;gt;= 2 then capsizeadjust = "mega_ad";&lt;BR /&gt;else if 10000000000 &amp;lt;= MarketCap &amp;lt;= 200000000000 then capsizeadjust = "large_ad";&lt;BR /&gt;else if 2000000000 &amp;lt;= MarketCap &amp;lt;= 10000000000 then capsizeadjust = "mid_ad";&lt;BR /&gt;else if 300000000 &amp;lt;= MarketCap &amp;lt;= 2000000000 then capsizeadjust = "small_ad";&lt;BR /&gt;else if 50000000 &amp;lt;= MarketCap &amp;lt;= 300000000 then capsizeadjust = "micro_ad";&lt;BR /&gt;else capsizeadjust = "unknown"; /* Default case for capsizeadjust if MarketCap is not in expected range */&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;proc reg data=Master_d;&lt;BR /&gt;Model Price= MarketCap;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;proc reg data=capsizedata;&lt;BR /&gt;model Price =capsize_mega capsize_large capsize_mid capsize_small capsize_micro;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;proc print data=Master_d (obs=10);&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;proc print data=capsizedata (obs=10);&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2024 20:54:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/Not-being-able-to-run-my-code-will-post-error-below/m-p/953285#M2475</guid>
      <dc:creator>acleamon</dc:creator>
      <dc:date>2024-12-11T20:54:32Z</dc:date>
    </item>
    <item>
      <title>Re: Not being able to run my code will post error below</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/Not-being-able-to-run-my-code-will-post-error-below/m-p/953286#M2476</link>
      <description>&lt;DIV class=""&gt;1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;/DIV&gt;&lt;DIV class=""&gt;68&lt;/DIV&gt;&lt;DIV class=""&gt;69 PROC IMPORT DATAFILE= "/home/u63997444/ECON 348/Master_use_edited_again2.csv"&lt;/DIV&gt;&lt;DIV class=""&gt;70 OUT=Master_d&lt;/DIV&gt;&lt;DIV class=""&gt;71 DBMS=csv&lt;/DIV&gt;&lt;DIV class=""&gt;72 REPLACE;&lt;/DIV&gt;&lt;DIV class=""&gt;73 GETNAMES=Yes;&lt;/DIV&gt;&lt;DIV class=""&gt;74 RUN;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&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=""&gt;WORK.PARMS.PARMS.SLIST.&lt;/DIV&gt;&lt;DIV class=""&gt;75 /**********************************************************************&lt;/DIV&gt;&lt;DIV class=""&gt;76 * PRODUCT: SAS&lt;/DIV&gt;&lt;DIV class=""&gt;77 * VERSION: 9.4&lt;/DIV&gt;&lt;DIV class=""&gt;78 * CREATOR: External File Interface&lt;/DIV&gt;&lt;DIV class=""&gt;79 * DATE: 11DEC24&lt;/DIV&gt;&lt;DIV class=""&gt;80 * DESC: Generated SAS Datastep Code&lt;/DIV&gt;&lt;DIV class=""&gt;81 * TEMPLATE SOURCE: (None Specified.)&lt;/DIV&gt;&lt;DIV class=""&gt;82 ***********************************************************************/&lt;/DIV&gt;&lt;DIV class=""&gt;83 data WORK.MASTER_D ;&lt;/DIV&gt;&lt;DIV class=""&gt;84 %let _EFIERR_ = 0; /* set the ERROR detection macro variable */&lt;/DIV&gt;&lt;DIV class=""&gt;85 infile '/home/u63997444/ECON 348/Master_use_edited_again2.csv' delimiter = ',' MISSOVER DSD lrecl=32767 firstobs=2 ;&lt;/DIV&gt;&lt;DIV class=""&gt;86 informat Date mmddyy10. ;&lt;/DIV&gt;&lt;DIV class=""&gt;87 informat " Price"N best32. ;&lt;/DIV&gt;&lt;DIV class=""&gt;88 informat " MarketCap"N best32. ;&lt;/DIV&gt;&lt;DIV class=""&gt;89 informat Shares best32. ;&lt;/DIV&gt;&lt;DIV class=""&gt;90 informat Firm best32. ;&lt;/DIV&gt;&lt;DIV class=""&gt;91 informat FirmName $5. ;&lt;/DIV&gt;&lt;DIV class=""&gt;92 format Date mmddyy10. ;&lt;/DIV&gt;&lt;DIV class=""&gt;93 format " Price"N best12. ;&lt;/DIV&gt;&lt;DIV class=""&gt;94 format " MarketCap"N best12. ;&lt;/DIV&gt;&lt;DIV class=""&gt;95 format Shares best12. ;&lt;/DIV&gt;&lt;DIV class=""&gt;96 format Firm best12. ;&lt;/DIV&gt;&lt;DIV class=""&gt;97 format FirmName $5. ;&lt;/DIV&gt;&lt;DIV class=""&gt;98 input&lt;/DIV&gt;&lt;DIV class=""&gt;99 Date&lt;/DIV&gt;&lt;DIV class=""&gt;100 " Price"N&lt;/DIV&gt;&lt;DIV class=""&gt;101 " MarketCap"N&lt;/DIV&gt;&lt;DIV class=""&gt;102 Shares&lt;/DIV&gt;&lt;DIV class=""&gt;103 Firm&lt;/DIV&gt;&lt;DIV class=""&gt;104 FirmName $&lt;/DIV&gt;&lt;DIV class=""&gt;105 ;&lt;/DIV&gt;&lt;DIV class=""&gt;106 if _ERROR_ then call symputx('_EFIERR_',1); /* set ERROR detection macro variable */&lt;/DIV&gt;&lt;DIV class=""&gt;107 run;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;NOTE: The infile '/home/u63997444/ECON 348/Master_use_edited_again2.csv' is:&lt;/DIV&gt;&lt;DIV class=""&gt;Filename=/home/u63997444/ECON 348/Master_use_edited_again2.csv,&lt;/DIV&gt;&lt;DIV class=""&gt;Owner Name=u63997444,Group Name=oda,&lt;/DIV&gt;&lt;DIV class=""&gt;Access Permission=-rw-r--r--,&lt;/DIV&gt;&lt;DIV class=""&gt;Last Modified=10Dec2024:10:40:10,&lt;/DIV&gt;&lt;DIV class=""&gt;File Size (bytes)=3210548&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;NOTE: 60885 records were read from the infile '/home/u63997444/ECON 348/Master_use_edited_again2.csv'.&lt;/DIV&gt;&lt;DIV class=""&gt;The minimum record length was 44.&lt;/DIV&gt;&lt;DIV class=""&gt;The maximum record length was 66.&lt;/DIV&gt;&lt;DIV class=""&gt;NOTE: The data set WORK.MASTER_D has 60885 observations and 6 variables.&lt;/DIV&gt;&lt;DIV class=""&gt;NOTE: DATA statement used (Total process time):&lt;/DIV&gt;&lt;DIV class=""&gt;real time 0.03 seconds&lt;/DIV&gt;&lt;DIV class=""&gt;user cpu time 0.03 seconds&lt;/DIV&gt;&lt;DIV class=""&gt;system cpu time 0.00 seconds&lt;/DIV&gt;&lt;DIV class=""&gt;memory 11821.15k&lt;/DIV&gt;&lt;DIV class=""&gt;OS Memory 32028.00k&lt;/DIV&gt;&lt;DIV class=""&gt;Timestamp 12/11/2024 08:32:43 PM&lt;/DIV&gt;&lt;DIV class=""&gt;Step Count 24 Switch Count 2&lt;/DIV&gt;&lt;DIV class=""&gt;Page Faults 0&lt;/DIV&gt;&lt;DIV class=""&gt;Page Reclaims 486&lt;/DIV&gt;&lt;DIV class=""&gt;Page Swaps 0&lt;/DIV&gt;&lt;DIV class=""&gt;Voluntary Context Switches 15&lt;/DIV&gt;&lt;DIV class=""&gt;Involuntary Context Switches 2&lt;/DIV&gt;&lt;DIV class=""&gt;Block Input Operations 0&lt;/DIV&gt;&lt;DIV class=""&gt;Block Output Operations 5904&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;60885 rows created in WORK.MASTER_D from /home/u63997444/ECON 348/Master_use_edited_again2.csv.&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;NOTE: WORK.MASTER_D data set was successfully created.&lt;/DIV&gt;&lt;DIV class=""&gt;NOTE: The data set WORK.MASTER_D has 60885 observations and 6 variables.&lt;/DIV&gt;&lt;DIV class=""&gt;NOTE: PROCEDURE IMPORT used (Total process time):&lt;/DIV&gt;&lt;DIV class=""&gt;real time 0.08 seconds&lt;/DIV&gt;&lt;DIV class=""&gt;user cpu time 0.06 seconds&lt;/DIV&gt;&lt;DIV class=""&gt;system cpu time 0.02 seconds&lt;/DIV&gt;&lt;DIV class=""&gt;memory 11821.15k&lt;/DIV&gt;&lt;DIV class=""&gt;OS Memory 32544.00k&lt;/DIV&gt;&lt;DIV class=""&gt;Timestamp 12/11/2024 08:32:43 PM&lt;/DIV&gt;&lt;DIV class=""&gt;Step Count 24 Switch Count 8&lt;/DIV&gt;&lt;DIV class=""&gt;Page Faults 0&lt;/DIV&gt;&lt;DIV class=""&gt;Page Reclaims 4383&lt;/DIV&gt;&lt;DIV class=""&gt;Page Swaps 0&lt;/DIV&gt;&lt;DIV class=""&gt;Voluntary Context Switches 97&lt;/DIV&gt;&lt;DIV class=""&gt;Involuntary Context Switches 2&lt;/DIV&gt;&lt;DIV class=""&gt;Block Input Operations 0&lt;/DIV&gt;&lt;DIV class=""&gt;Block Output Operations 5992&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;108&lt;/DIV&gt;&lt;DIV class=""&gt;109 proc contents data=Master_d;&lt;/DIV&gt;&lt;DIV class=""&gt;110 run;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;NOTE: PROCEDURE CONTENTS used (Total process time):&lt;/DIV&gt;&lt;DIV class=""&gt;real time 0.02 seconds&lt;/DIV&gt;&lt;DIV class=""&gt;user cpu time 0.03 seconds&lt;/DIV&gt;&lt;DIV class=""&gt;system cpu time 0.01 seconds&lt;/DIV&gt;&lt;DIV class=""&gt;memory 3361.53k&lt;/DIV&gt;&lt;DIV class=""&gt;OS Memory 27564.00k&lt;/DIV&gt;&lt;DIV class=""&gt;Timestamp 12/11/2024 08:32:43 PM&lt;/DIV&gt;&lt;DIV class=""&gt;Step Count 25 Switch Count 0&lt;/DIV&gt;&lt;DIV class=""&gt;Page Faults 0&lt;/DIV&gt;&lt;DIV class=""&gt;Page Reclaims 684&lt;/DIV&gt;&lt;DIV class=""&gt;Page Swaps 0&lt;/DIV&gt;&lt;DIV class=""&gt;Voluntary Context Switches 3&lt;/DIV&gt;&lt;DIV class=""&gt;Involuntary Context Switches 1&lt;/DIV&gt;&lt;DIV class=""&gt;Block Input Operations 0&lt;/DIV&gt;&lt;DIV class=""&gt;Block Output Operations 8&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;111&lt;/DIV&gt;&lt;DIV class=""&gt;112 proc means data=Master_d;&lt;/DIV&gt;&lt;DIV class=""&gt;113 run;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;NOTE: There were 60885 observations read from the data set WORK.MASTER_D.&lt;/DIV&gt;&lt;DIV class=""&gt;NOTE: PROCEDURE MEANS used (Total process time):&lt;/DIV&gt;&lt;DIV class=""&gt;real time 0.02 seconds&lt;/DIV&gt;&lt;DIV class=""&gt;user cpu time 0.02 seconds&lt;/DIV&gt;&lt;DIV class=""&gt;system cpu time 0.00 seconds&lt;/DIV&gt;&lt;DIV class=""&gt;memory 7739.09k&lt;/DIV&gt;&lt;DIV class=""&gt;OS Memory 32444.00k&lt;/DIV&gt;&lt;DIV class=""&gt;Timestamp 12/11/2024 08:32:43 PM&lt;/DIV&gt;&lt;DIV class=""&gt;Step Count 26 Switch Count 1&lt;/DIV&gt;&lt;DIV class=""&gt;Page Faults 0&lt;/DIV&gt;&lt;DIV class=""&gt;Page Reclaims 1652&lt;/DIV&gt;&lt;DIV class=""&gt;Page Swaps 0&lt;/DIV&gt;&lt;DIV class=""&gt;Voluntary Context Switches 42&lt;/DIV&gt;&lt;DIV class=""&gt;Involuntary Context Switches 0&lt;/DIV&gt;&lt;DIV class=""&gt;Block Input Operations 0&lt;/DIV&gt;&lt;DIV class=""&gt;Block Output Operations 16&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;114&lt;/DIV&gt;&lt;DIV class=""&gt;115 data capsizedata;&lt;/DIV&gt;&lt;DIV class=""&gt;116 set Master_d;&lt;/DIV&gt;&lt;DIV class=""&gt;117&lt;/DIV&gt;&lt;DIV class=""&gt;118 /* Assigning capsize based on Firm */&lt;/DIV&gt;&lt;DIV class=""&gt;119 if 1 &amp;lt;= Firm &amp;lt;= 10 then capsize = "mega";&lt;/DIV&gt;&lt;DIV class=""&gt;120 else if 11 &amp;lt;= Firm &amp;lt;= 20 then capsize = "large";&lt;/DIV&gt;&lt;DIV class=""&gt;121 else if 21 &amp;lt;= Firm &amp;lt;= 30 then capsize = "mid";&lt;/DIV&gt;&lt;DIV class=""&gt;122 else if 31 &amp;lt;= Firm &amp;lt;= 40 then capsize = "small";&lt;/DIV&gt;&lt;DIV class=""&gt;123 else if 41 &amp;lt;= Firm &amp;lt;= 50 then capsize = "micro";&lt;/DIV&gt;&lt;DIV class=""&gt;124 else capsize = "unknown"; /* Default case for capsize if Firm is not in expected range */&lt;/DIV&gt;&lt;DIV class=""&gt;125&lt;/DIV&gt;&lt;DIV class=""&gt;126 /* Convert capsize into numeric dummy variables for regression */&lt;/DIV&gt;&lt;DIV class=""&gt;127 if capsize = "mega" then capsize_mega = 1; else capsize_mega = 0;&lt;/DIV&gt;&lt;DIV class=""&gt;128 if capsize = "large" then capsize_large = 1; else capsize_large = 0;&lt;/DIV&gt;&lt;DIV class=""&gt;129 if capsize = "mid" then capsize_mid = 1; else capsize_mid = 0;&lt;/DIV&gt;&lt;DIV class=""&gt;130 if capsize = "small" then capsize_small = 1; else capsize_small = 0;&lt;/DIV&gt;&lt;DIV class=""&gt;131 if capsize = "micro" then capsize_micro = 1; else capsize_micro = 0;&lt;/DIV&gt;&lt;DIV class=""&gt;132&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;NOTE: There were 60885 observations read from the data set WORK.MASTER_D.&lt;/DIV&gt;&lt;DIV class=""&gt;NOTE: The data set WORK.CAPSIZEDATA has 60885 observations and 12 variables.&lt;/DIV&gt;&lt;DIV class=""&gt;NOTE: DATA statement used (Total process time):&lt;/DIV&gt;&lt;DIV class=""&gt;real time 0.01 seconds&lt;/DIV&gt;&lt;DIV class=""&gt;user cpu time 0.01 seconds&lt;/DIV&gt;&lt;DIV class=""&gt;system cpu time 0.00 seconds&lt;/DIV&gt;&lt;DIV class=""&gt;memory 3575.78k&lt;/DIV&gt;&lt;DIV class=""&gt;OS Memory 29356.00k&lt;/DIV&gt;&lt;DIV class=""&gt;Timestamp 12/11/2024 08:32:43 PM&lt;/DIV&gt;&lt;DIV class=""&gt;Step Count 27 Switch Count 2&lt;/DIV&gt;&lt;DIV class=""&gt;Page Faults 0&lt;/DIV&gt;&lt;DIV class=""&gt;Page Reclaims 526&lt;/DIV&gt;&lt;DIV class=""&gt;Page Swaps 0&lt;/DIV&gt;&lt;DIV class=""&gt;Voluntary Context Switches 12&lt;/DIV&gt;&lt;DIV class=""&gt;Involuntary Context Switches 0&lt;/DIV&gt;&lt;DIV class=""&gt;Block Input Operations 0&lt;/DIV&gt;&lt;DIV class=""&gt;Block Output Operations 11536&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;133 data capsizedata;&lt;/DIV&gt;&lt;DIV class=""&gt;134 set Master_d;&lt;/DIV&gt;&lt;DIV class=""&gt;135 /* Assigning capsizeadjust based on MarketCap */&lt;/DIV&gt;&lt;DIV class=""&gt;136 if MarketCap &amp;gt;= 2 then capsizeadjust = "mega_ad";&lt;/DIV&gt;&lt;DIV class=""&gt;137 else if 10000000000 &amp;lt;= MarketCap &amp;lt;= 200000000000 then capsizeadjust = "large_ad";&lt;/DIV&gt;&lt;DIV class=""&gt;138 else if 2000000000 &amp;lt;= MarketCap &amp;lt;= 10000000000 then capsizeadjust = "mid_ad";&lt;/DIV&gt;&lt;DIV class=""&gt;139 else if 300000000 &amp;lt;= MarketCap &amp;lt;= 2000000000 then capsizeadjust = "small_ad";&lt;/DIV&gt;&lt;DIV class=""&gt;140 else if 50000000 &amp;lt;= MarketCap &amp;lt;= 300000000 then capsizeadjust = "micro_ad";&lt;/DIV&gt;&lt;DIV class=""&gt;141 else capsizeadjust = "unknown"; /* Default case for capsizeadjust if MarketCap is not in expected range */&lt;/DIV&gt;&lt;DIV class=""&gt;142 run;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;NOTE: Variable MarketCap is uninitialized.&lt;/DIV&gt;&lt;DIV class=""&gt;NOTE: There were 60885 observations read from the data set WORK.MASTER_D.&lt;/DIV&gt;&lt;DIV class=""&gt;NOTE: The data set WORK.CAPSIZEDATA has 60885 observations and 8 variables.&lt;/DIV&gt;&lt;DIV class=""&gt;NOTE: DATA statement used (Total process time):&lt;/DIV&gt;&lt;DIV class=""&gt;real time 0.00 seconds&lt;/DIV&gt;&lt;DIV class=""&gt;user cpu time 0.01 seconds&lt;/DIV&gt;&lt;DIV class=""&gt;system cpu time 0.01 seconds&lt;/DIV&gt;&lt;DIV class=""&gt;memory 3563.93k&lt;/DIV&gt;&lt;DIV class=""&gt;OS Memory 29356.00k&lt;/DIV&gt;&lt;DIV class=""&gt;Timestamp 12/11/2024 08:32:43 PM&lt;/DIV&gt;&lt;DIV class=""&gt;Step Count 28 Switch Count 2&lt;/DIV&gt;&lt;DIV class=""&gt;Page Faults 0&lt;/DIV&gt;&lt;DIV class=""&gt;Page Reclaims 531&lt;/DIV&gt;&lt;DIV class=""&gt;Page Swaps 0&lt;/DIV&gt;&lt;DIV class=""&gt;Voluntary Context Switches 12&lt;/DIV&gt;&lt;DIV class=""&gt;Involuntary Context Switches 1&lt;/DIV&gt;&lt;DIV class=""&gt;Block Input Operations 0&lt;/DIV&gt;&lt;DIV class=""&gt;Block Output Operations 7696&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;143&lt;/DIV&gt;&lt;DIV class=""&gt;144 proc reg data=Master_d;&lt;/DIV&gt;&lt;DIV class=""&gt;145 Model Price= MarketCap;&lt;/DIV&gt;&lt;DIV class=""&gt;ERROR: Variable PRICE not found.&lt;/DIV&gt;&lt;DIV class=""&gt;ERROR: Variable MARKETCAP not found.&lt;/DIV&gt;&lt;DIV class=""&gt;NOTE: The previous statement has been deleted.&lt;/DIV&gt;&lt;DIV class=""&gt;146 run;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;WARNING: No variables specified for an SSCP matrix. Execution terminating.&lt;/DIV&gt;&lt;DIV class=""&gt;NOTE: PROCEDURE REG used (Total process time):&lt;/DIV&gt;&lt;DIV class=""&gt;real time 0.00 seconds&lt;/DIV&gt;&lt;DIV class=""&gt;user cpu time 0.00 seconds&lt;/DIV&gt;&lt;DIV class=""&gt;system cpu time 0.00 seconds&lt;/DIV&gt;&lt;DIV class=""&gt;memory 3498.31k&lt;/DIV&gt;&lt;DIV class=""&gt;OS Memory 28864.00k&lt;/DIV&gt;&lt;DIV class=""&gt;Timestamp 12/11/2024 08:32:43 PM&lt;/DIV&gt;&lt;DIV class=""&gt;Step Count 29 Switch Count 0&lt;/DIV&gt;&lt;DIV class=""&gt;Page Faults 0&lt;/DIV&gt;&lt;DIV class=""&gt;Page Reclaims 616&lt;/DIV&gt;&lt;DIV class=""&gt;Page Swaps 0&lt;/DIV&gt;&lt;DIV class=""&gt;Voluntary Context Switches 0&lt;/DIV&gt;&lt;DIV class=""&gt;Involuntary Context Switches 1&lt;/DIV&gt;&lt;DIV class=""&gt;Block Input Operations 0&lt;/DIV&gt;&lt;DIV class=""&gt;Block Output Operations 48&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;147&lt;/DIV&gt;&lt;DIV class=""&gt;148 proc reg data=capsizedata;&lt;/DIV&gt;&lt;DIV class=""&gt;149 model Price =capsize_mega capsize_large capsize_mid capsize_small capsize_micro;&lt;/DIV&gt;&lt;DIV class=""&gt;ERROR: Variable PRICE not found.&lt;/DIV&gt;&lt;DIV class=""&gt;ERROR: Variable CAPSIZE_MEGA not found.&lt;/DIV&gt;&lt;DIV class=""&gt;ERROR: Variable CAPSIZE_LARGE not found.&lt;/DIV&gt;&lt;DIV class=""&gt;ERROR: Variable CAPSIZE_MID not found.&lt;/DIV&gt;&lt;DIV class=""&gt;ERROR: Variable CAPSIZE_SMALL not found.&lt;/DIV&gt;&lt;DIV class=""&gt;ERROR: Variable CAPSIZE_MICRO not found.&lt;/DIV&gt;&lt;DIV class=""&gt;NOTE: The previous statement has been deleted.&lt;/DIV&gt;&lt;DIV class=""&gt;150 run;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;WARNING: No variables specified for an SSCP matrix. Execution terminating.&lt;/DIV&gt;&lt;DIV class=""&gt;NOTE: PROCEDURE REG used (Total process time):&lt;/DIV&gt;&lt;DIV class=""&gt;real time 0.00 seconds&lt;/DIV&gt;&lt;DIV class=""&gt;user cpu time 0.00 seconds&lt;/DIV&gt;&lt;DIV class=""&gt;system cpu time 0.00 seconds&lt;/DIV&gt;&lt;DIV class=""&gt;memory 3497.43k&lt;/DIV&gt;&lt;DIV class=""&gt;OS Memory 28864.00k&lt;/DIV&gt;&lt;DIV class=""&gt;Timestamp 12/11/2024 08:32:43 PM&lt;/DIV&gt;&lt;DIV class=""&gt;Step Count 30 Switch Count 0&lt;/DIV&gt;&lt;DIV class=""&gt;Page Faults 0&lt;/DIV&gt;&lt;DIV class=""&gt;Page Reclaims 445&lt;/DIV&gt;&lt;DIV class=""&gt;Page Swaps 0&lt;/DIV&gt;&lt;DIV class=""&gt;Voluntary Context Switches 0&lt;/DIV&gt;&lt;DIV class=""&gt;Involuntary Context Switches 0&lt;/DIV&gt;&lt;DIV class=""&gt;Block Input Operations 0&lt;/DIV&gt;&lt;DIV class=""&gt;Block Output Operations 56&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;151&lt;/DIV&gt;&lt;DIV class=""&gt;152 proc print data=Master_d (obs=10);&lt;/DIV&gt;&lt;DIV class=""&gt;153 run;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;NOTE: There were 10 observations read from the data set WORK.MASTER_D.&lt;/DIV&gt;&lt;DIV class=""&gt;NOTE: PROCEDURE PRINT used (Total process time):&lt;/DIV&gt;&lt;DIV class=""&gt;real time 0.01 seconds&lt;/DIV&gt;&lt;DIV class=""&gt;user cpu time 0.02 seconds&lt;/DIV&gt;&lt;DIV class=""&gt;system cpu time 0.00 seconds&lt;/DIV&gt;&lt;DIV class=""&gt;memory 2003.18k&lt;/DIV&gt;&lt;DIV class=""&gt;OS Memory 27304.00k&lt;/DIV&gt;&lt;DIV class=""&gt;Timestamp 12/11/2024 08:32:43 PM&lt;/DIV&gt;&lt;DIV class=""&gt;Step Count 31 Switch Count 0&lt;/DIV&gt;&lt;DIV class=""&gt;Page Faults 0&lt;/DIV&gt;&lt;DIV class=""&gt;Page Reclaims 270&lt;/DIV&gt;&lt;DIV class=""&gt;Page Swaps 0&lt;/DIV&gt;&lt;DIV class=""&gt;Voluntary Context Switches 1&lt;/DIV&gt;&lt;DIV class=""&gt;Involuntary Context Switches 0&lt;/DIV&gt;&lt;DIV class=""&gt;Block Input Operations 0&lt;/DIV&gt;&lt;DIV class=""&gt;Block Output Operations 0&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;154&lt;/DIV&gt;&lt;DIV class=""&gt;155 proc print data=capsizedata (obs=10);&lt;/DIV&gt;&lt;DIV class=""&gt;156 run;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;NOTE: There were 10 observations read from the data set WORK.CAPSIZEDATA.&lt;/DIV&gt;&lt;DIV class=""&gt;NOTE: PROCEDURE PRINT used (Total process time):&lt;/DIV&gt;&lt;DIV class=""&gt;real time 0.01 seconds&lt;/DIV&gt;&lt;DIV class=""&gt;user cpu time 0.01 seconds&lt;/DIV&gt;&lt;DIV class=""&gt;system cpu time 0.00 seconds&lt;/DIV&gt;&lt;DIV class=""&gt;memory 2018.37k&lt;/DIV&gt;&lt;DIV class=""&gt;OS Memory 27304.00k&lt;/DIV&gt;&lt;DIV class=""&gt;Timestamp 12/11/2024 08:32:43 PM&lt;/DIV&gt;&lt;DIV class=""&gt;Step Count 32 Switch Count 0&lt;/DIV&gt;&lt;DIV class=""&gt;Page Faults 0&lt;/DIV&gt;&lt;DIV class=""&gt;Page Reclaims 257&lt;/DIV&gt;&lt;DIV class=""&gt;Page Swaps 0&lt;/DIV&gt;&lt;DIV class=""&gt;Voluntary Context Switches 0&lt;/DIV&gt;&lt;DIV class=""&gt;Involuntary Context Switches 0&lt;/DIV&gt;&lt;DIV class=""&gt;Block Input Operations 0&lt;/DIV&gt;&lt;DIV class=""&gt;Block Output Operations 0&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;157&lt;/DIV&gt;&lt;DIV class=""&gt;158 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;/DIV&gt;&lt;DIV class=""&gt;168&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;My teacher said the reason is this as its something she has never seen before&lt;DIV class=""&gt;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=""&gt;WORK.PARMS.PARMS.SLIST.&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 11 Dec 2024 20:56:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/Not-being-able-to-run-my-code-will-post-error-below/m-p/953286#M2476</guid>
      <dc:creator>acleamon</dc:creator>
      <dc:date>2024-12-11T20:56:22Z</dc:date>
    </item>
    <item>
      <title>Re: Not being able to run my code will post error below</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/Not-being-able-to-run-my-code-will-post-error-below/m-p/953287#M2477</link>
      <description>&lt;P&gt;Your errors start at this step:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;143
144 proc reg data=Master_d;
145 Model Price= MarketCap;
ERROR: Variable PRICE not found.
ERROR: Variable MARKETCAP not found.
NOTE: The previous statement has been deleted.
146 run;&lt;/PRE&gt;
&lt;P&gt;My suspicion is that the variables are _Price and _MarketCap because there were leading spaces on the imported column headings you are using as variable names. What does the PROC CONTENTS of the dataset report?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2024 21:09:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/Not-being-able-to-run-my-code-will-post-error-below/m-p/953287#M2477</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2024-12-11T21:09:15Z</dc:date>
    </item>
    <item>
      <title>Re: Not being able to run my code will post error below</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/Not-being-able-to-run-my-code-will-post-error-below/m-p/953289#M2478</link>
      <description>&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;/DIV&gt;&lt;DIV class=""&gt;68&lt;/DIV&gt;&lt;DIV class=""&gt;69 proc contents data=Master_d;&lt;/DIV&gt;&lt;DIV class=""&gt;70 run;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;NOTE: PROCEDURE CONTENTS used (Total process time):&lt;/DIV&gt;&lt;DIV class=""&gt;real time 0.02 seconds&lt;/DIV&gt;&lt;DIV class=""&gt;user cpu time 0.03 seconds&lt;/DIV&gt;&lt;DIV class=""&gt;system cpu time 0.01 seconds&lt;/DIV&gt;&lt;DIV class=""&gt;memory 3192.09k&lt;/DIV&gt;&lt;DIV class=""&gt;OS Memory 26284.00k&lt;/DIV&gt;&lt;DIV class=""&gt;Timestamp 12/11/2024 09:11:15 PM&lt;/DIV&gt;&lt;DIV class=""&gt;Step Count 42 Switch Count 0&lt;/DIV&gt;&lt;DIV class=""&gt;Page Faults 0&lt;/DIV&gt;&lt;DIV class=""&gt;Page Reclaims 571&lt;/DIV&gt;&lt;DIV class=""&gt;Page Swaps 0&lt;/DIV&gt;&lt;DIV class=""&gt;Voluntary Context Switches 3&lt;/DIV&gt;&lt;DIV class=""&gt;Involuntary Context Switches 1&lt;/DIV&gt;&lt;DIV class=""&gt;Block Input Operations 0&lt;/DIV&gt;&lt;DIV class=""&gt;Block Output Operations 16&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;71&lt;/DIV&gt;&lt;DIV class=""&gt;72 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;/DIV&gt;&lt;DIV class=""&gt;82&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;Shows this for the log and results look normal - imported results as pdf&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Wed, 11 Dec 2024 21:14:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/Not-being-able-to-run-my-code-will-post-error-below/m-p/953289#M2478</guid>
      <dc:creator>acleamon</dc:creator>
      <dc:date>2024-12-11T21:14:04Z</dc:date>
    </item>
    <item>
      <title>Re: Not being able to run my code will post error below</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/Not-being-able-to-run-my-code-will-post-error-below/m-p/953290#M2479</link>
      <description>&lt;P&gt;Your real problem is that you are referencing values or variables not in your data set:&lt;/P&gt;
&lt;PRE&gt;33 data capsizedata;
134 set Master_d;
135 /* Assigning capsizeadjust based on MarketCap */
136 if MarketCap &amp;gt;= 2 then capsizeadjust = "mega_ad";
137 else if 10000000000 &amp;lt;= MarketCap &amp;lt;= 200000000000 then capsizeadjust = "large_ad";
138 else if 2000000000 &amp;lt;= MarketCap &amp;lt;= 10000000000 then capsizeadjust = "mid_ad";
139 else if 300000000 &amp;lt;= MarketCap &amp;lt;= 2000000000 then capsizeadjust = "small_ad";
140 else if 50000000 &amp;lt;= MarketCap &amp;lt;= 300000000 then capsizeadjust = "micro_ad";
141 else capsizeadjust = "unknown"; /* Default case for capsizeadjust if MarketCap is not in expected range */
142 run;
 
&lt;FONT size="5" color="#800080"&gt;&lt;STRONG&gt;NOTE: Variable MarketCap is uninitialized.&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/PRE&gt;
&lt;P&gt;Uninitialized means the variable has no values assigned.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;44 proc reg data=Master_d;
145 Model Price= MarketCap;
&lt;FONT size="5" color="#800080"&gt;&lt;STRONG&gt;ERROR: Variable PRICE not found.
ERROR: Variable MARKETCAP not found.&lt;/STRONG&gt;&lt;/FONT&gt;
NOTE: The previous statement has been deleted.
146 run;&lt;/PRE&gt;
&lt;P&gt;Reading your log closer there is this bit from proc import:&lt;/P&gt;
&lt;PRE&gt;83 data WORK.MASTER_D ;
84 %let _EFIERR_ = 0; /* set the ERROR detection macro variable */
85 infile '/home/u63997444/ECON 348/Master_use_edited_again2.csv' delimiter = ',' MISSOVER DSD lrecl=32767 firstobs=2 ;
86 informat Date mmddyy10. ;
87 informat&lt;FONT size="5" color="#800080"&gt;&lt;STRONG&gt; " Price"N&lt;/STRONG&gt;&lt;/FONT&gt; best32. ;
88 informat &lt;FONT size="5" color="#800080"&gt;&lt;STRONG&gt;" MarketCap"N&lt;/STRONG&gt; &lt;/FONT&gt;best32. ;
&lt;/PRE&gt;
&lt;P&gt;Proc import has read in the leading space in the source file as part of the name of the variable.&lt;/P&gt;
&lt;P&gt;Which means to use that data set you must use " price"n or " marketcap"n to use those variables.&lt;/P&gt;
&lt;P&gt;This is the result of the Option VALIDVARNAME=ANY, I suspect a default for your install and the way the file is read.&lt;/P&gt;
&lt;P&gt;If you want to use the variables as Price and Marketcap you can edit the generated code from proc import to avoid that easily and reread the file:&lt;/P&gt;
&lt;PRE&gt;data WORK.MASTER_D ;
   infile '/home/u63997444/ECON 348/Master_use_edited_again2.csv' delimiter = ',' MISSOVER DSD lrecl=32767 firstobs=2 ;
   informat Date mmddyy10. ;
   informat Price best32. ;
   informat MarketCap best32. ;
   informat Shares best32. ;
   informat Firm best32. ;
   informat FirmName $5. ;
   format Date mmddyy10. ;
   input
      Date
      Price
      MarketCap
      Shares
      Firm
      FirmName $
   ;
run;&lt;/PRE&gt;
&lt;P&gt;Or RENAME the variables.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You also will not have the values you expect for some of the variables (when you get the code fixed above) because the character variables you create like this will have the length define by the first use if a LENGTH statement doesn't assign a length first. So Capsize will have a length of 4 characters (the number of letters in "mega") and the other values will actually be "larg" "mid" "smal" "micr" "unkn"&lt;/P&gt;
&lt;PRE&gt;119 if 1 &amp;lt;= Firm &amp;lt;= 10 then capsize = "mega";&lt;/PRE&gt;
&lt;P&gt;Later you will find other procedures such as Proc GLM that support CLASS variables so you don't have to create dummy variables as that can be done with your existing variables and custom formats.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The NOTE about the SASUSER.PARMS has nothing to do with the other problems in your code. That sort of note typically happens when there is some process attempting to use the catalog. Having two SAS sessions for the same user on a shared network might do it. I do know I can cause such with a stand-alone SAS foundation install by having two or more interactive sessions active at the same time on the computer.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2024 21:28:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/Not-being-able-to-run-my-code-will-post-error-below/m-p/953290#M2479</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2024-12-11T21:28:52Z</dc:date>
    </item>
    <item>
      <title>Re: Not being able to run my code will post error below</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/Not-being-able-to-run-my-code-will-post-error-below/m-p/953295#M2480</link>
      <description>&lt;P&gt;Got it thanks so much. Will try again! Appreciate it!&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2024 21:34:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/Not-being-able-to-run-my-code-will-post-error-below/m-p/953295#M2480</guid>
      <dc:creator>acleamon</dc:creator>
      <dc:date>2024-12-11T21:34:31Z</dc:date>
    </item>
    <item>
      <title>Re: Not being able to run my code will post error below</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/Not-being-able-to-run-my-code-will-post-error-below/m-p/953296#M2481</link>
      <description>&lt;P&gt;I agree, PROC CONTENTS looks OK. Does a rerun give you the same error?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2024 21:35:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/Not-being-able-to-run-my-code-will-post-error-below/m-p/953296#M2481</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2024-12-11T21:35:34Z</dc:date>
    </item>
    <item>
      <title>Re: Not being able to run my code will post error below</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/Not-being-able-to-run-my-code-will-post-error-below/m-p/953297#M2482</link>
      <description>&lt;P&gt;One of the things you will learn to consider is leading blanks in unexpected places and that the way 99% of the output created, HTML, PDF, RTF especially may not display them.&amp;nbsp; Please run this code as an example:&lt;/P&gt;
&lt;PRE&gt;data junk;
   var = "         abc";output;
   var = "    abc";output;
   var = "abc"; output;
run;

proc freq data=junk;
   tables var;
run;&lt;/PRE&gt;
&lt;P&gt;What does&amp;nbsp; your output look like?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Mine:&lt;/P&gt;
&lt;DIV class="branch"&gt;
&lt;DIV class="l proctitle"&gt;The FREQ Procedure&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV align="left"&gt;
&lt;TABLE class="table" summary="Procedure Freq: One-Way Frequencies" cellspacing="0" cellpadding="3"&gt;&lt;COLGROUP&gt; &lt;COL /&gt;&lt;/COLGROUP&gt; &lt;COLGROUP&gt; &lt;COL /&gt; &lt;COL /&gt; &lt;COL /&gt; &lt;COL /&gt;&lt;/COLGROUP&gt;
&lt;THEAD&gt;
&lt;TR&gt;
&lt;TH class="l m header" scope="col"&gt;var&lt;/TH&gt;
&lt;TH class="r m header" scope="col"&gt;Frequency&lt;/TH&gt;
&lt;TH class="r m header" scope="col"&gt;Percent&lt;/TH&gt;
&lt;TH class="r m header" scope="col"&gt;Cumulative&lt;BR /&gt;Frequency&lt;/TH&gt;
&lt;TH class="r m header" scope="col"&gt;Cumulative&lt;BR /&gt;Percent&lt;/TH&gt;
&lt;/TR&gt;
&lt;/THEAD&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TH class="l m rowheader" scope="row"&gt;abc&lt;/TH&gt;
&lt;TD class="r data"&gt;1&lt;/TD&gt;
&lt;TD class="r data"&gt;33.33&lt;/TD&gt;
&lt;TD class="r data"&gt;1&lt;/TD&gt;
&lt;TD class="r data"&gt;33.33&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TH class="l m rowheader" scope="row"&gt;abc&lt;/TH&gt;
&lt;TD class="r data"&gt;1&lt;/TD&gt;
&lt;TD class="r data"&gt;33.33&lt;/TD&gt;
&lt;TD class="r data"&gt;2&lt;/TD&gt;
&lt;TD class="r data"&gt;66.67&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TH class="l m rowheader" scope="row"&gt;abc&lt;/TH&gt;
&lt;TD class="r data"&gt;1&lt;/TD&gt;
&lt;TD class="r data"&gt;33.33&lt;/TD&gt;
&lt;TD class="r data"&gt;3&lt;/TD&gt;
&lt;TD class="r data"&gt;100.00&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;NONE of the leading spaces of the values show but the different values are counted as separate by the Freq Procedure (and others).&lt;/P&gt;
&lt;P&gt;The same happens with Proc Contents and the name literals.&lt;/P&gt;
&lt;PRE&gt;data stupidnames;
   '    name1'n='Boy';
run;

proc contents data=stupidnames;
run;&lt;/PRE&gt;
&lt;P&gt;with output in part again not showing the leading spaces.&lt;/P&gt;
&lt;DIV class="branch"&gt;&lt;BR /&gt;&lt;A name="IDX6" target="_blank"&gt;&lt;/A&gt;
&lt;DIV&gt;
&lt;DIV align="left"&gt;
&lt;TABLE class="table" summary="Procedure Contents: Variables" cellspacing="0" cellpadding="3"&gt;&lt;COLGROUP&gt; &lt;COL /&gt;&lt;/COLGROUP&gt; &lt;COLGROUP&gt; &lt;COL /&gt; &lt;COL /&gt; &lt;COL /&gt;&lt;/COLGROUP&gt;
&lt;THEAD&gt;
&lt;TR&gt;
&lt;TH class="c m header" colspan="4" scope="colgroup"&gt;Alphabetic List of Variables and Attributes&lt;/TH&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TH class="c m header" scope="col"&gt;#&lt;/TH&gt;
&lt;TH class="c m header" scope="col"&gt;Variable&lt;/TH&gt;
&lt;TH class="c m header" scope="col"&gt;Type&lt;/TH&gt;
&lt;TH class="c m header" scope="col"&gt;Len&lt;/TH&gt;
&lt;/TR&gt;
&lt;/THEAD&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TH class="l m rowheader" scope="row"&gt;1&lt;/TH&gt;
&lt;TD class="l data"&gt;name1&lt;/TD&gt;
&lt;TD class="l data"&gt;Char&lt;/TD&gt;
&lt;TD class="r data"&gt;3&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The name literals were added to SAS to allow references to variables in other data sources such as external databases a bit easier for those that allow other characters in names other than letters, digits or the _ character that SAS uses natively.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 11 Dec 2024 21:42:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/Not-being-able-to-run-my-code-will-post-error-below/m-p/953297#M2482</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2024-12-11T21:42:17Z</dc:date>
    </item>
    <item>
      <title>Re: Not being able to run my code will post error below</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/Not-being-able-to-run-my-code-will-post-error-below/m-p/953304#M2483</link>
      <description>&lt;P&gt;Don't use PROC IMPORT to read a CSV for anything important.&amp;nbsp; You can use it help you understand what is in the file, but once you know just write a data step to read it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So replace the PROC IMPORT call with this data step instead.&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data MASTER_D ;
  infile '/home/u63997444/ECON 348/Master_use_edited_again2.csv' dsd truncover firstobs=2 ;
  input Date :mmddyy. Price MarketCap Shares Firm FirmName :$8. ;
  format date yymmdd10.;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 11 Dec 2024 23:30:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/Not-being-able-to-run-my-code-will-post-error-below/m-p/953304#M2483</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2024-12-11T23:30:08Z</dc:date>
    </item>
    <item>
      <title>Re: Not being able to run my code will post error below</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/Not-being-able-to-run-my-code-will-post-error-below/m-p/953306#M2484</link>
      <description>&lt;P&gt;That highlights on of the biggest problems with ODS output.&amp;nbsp; It "eats" leading spaces.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you run the same code and send the results to the normal OUTPUT (what they now call the LISTING destination) then you will see the leading spaces.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2024 23:45:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/Not-being-able-to-run-my-code-will-post-error-below/m-p/953306#M2484</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2024-12-11T23:45:49Z</dc:date>
    </item>
    <item>
      <title>Re: Not being able to run my code will post error below</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/Not-being-able-to-run-my-code-will-post-error-below/m-p/953364#M2485</link>
      <description>&lt;P&gt;BIG (oil-tanker-sized) hint for the future: never use PROC IMPORT for text files; write the DATA step yourself, according to the documentation/description of the file. Even if no such documentation exists,&amp;nbsp;&lt;EM&gt;you&lt;/EM&gt; are much better at making guesses about the data structure than the IMPORT procedure.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2024 11:19:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/Not-being-able-to-run-my-code-will-post-error-below/m-p/953364#M2485</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2024-12-12T11:19:19Z</dc:date>
    </item>
  </channel>
</rss>

