<?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: VARIABLE DOES NOT MATCH TYPE PRESCRIBED in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/VARIABLE-DOES-NOT-MATCH-TYPE-PRESCRIBED/m-p/574173#M162190</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/119946"&gt;@vicdicenzo&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;LAKE is a 2-digit character variable. &amp;nbsp;Such as LW, TL, PF, etc.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You can't run numeric analysis on strings. Use proc freq for frequencies.&lt;/P&gt;</description>
    <pubDate>Wed, 17 Jul 2019 13:33:26 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2019-07-17T13:33:26Z</dc:date>
    <item>
      <title>VARIABLE DOES NOT MATCH TYPE PRESCRIBED</title>
      <link>https://communities.sas.com/t5/SAS-Programming/VARIABLE-DOES-NOT-MATCH-TYPE-PRESCRIBED/m-p/574157#M162177</link>
      <description>&lt;P&gt;I am trying to run some simple descriptive stats. &amp;nbsp;My data set only has 11 variables. &amp;nbsp;Some of those variables are string. &amp;nbsp;I am using the 'proc import' function to read the excel file. &amp;nbsp;However, when I run the code, I get the following error messages for the three string variables and I am not sure why. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="sasError"&gt;ERROR: Variable Lake in list does not match type prescribed for this list.&lt;/DIV&gt;&lt;DIV class="sasError focus-line"&gt;ERROR: Variable Species in list does not match type prescribed for this list.&lt;/DIV&gt;&lt;DIV class="sasError"&gt;ERROR: Variable Cat in list does not match type prescribed for this list.&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be appreciated. Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2019 13:13:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/VARIABLE-DOES-NOT-MATCH-TYPE-PRESCRIBED/m-p/574157#M162177</guid>
      <dc:creator>vicdicenzo</dc:creator>
      <dc:date>2019-07-17T13:13:33Z</dc:date>
    </item>
    <item>
      <title>Re: VARIABLE DOES NOT MATCH TYPE PRESCRIBED</title>
      <link>https://communities.sas.com/t5/SAS-Programming/VARIABLE-DOES-NOT-MATCH-TYPE-PRESCRIBED/m-p/574161#M162179</link>
      <description>&lt;P&gt;Please post the&amp;nbsp;&lt;EM&gt;whole&lt;/EM&gt; log of your&amp;nbsp;code.&lt;/P&gt;
&lt;P&gt;Many statistic procedures can only work with numeric variables, so that is most probably the reason.&lt;/P&gt;
&lt;P&gt;Either change to a different method for descriptive analysis, or make sure that numeric values are imported as such. Proc import might misunderstand the data.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2019 13:19:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/VARIABLE-DOES-NOT-MATCH-TYPE-PRESCRIBED/m-p/574161#M162179</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-07-17T13:19:57Z</dc:date>
    </item>
    <item>
      <title>Re: VARIABLE DOES NOT MATCH TYPE PRESCRIBED</title>
      <link>https://communities.sas.com/t5/SAS-Programming/VARIABLE-DOES-NOT-MATCH-TYPE-PRESCRIBED/m-p/574162#M162180</link>
      <description>&lt;P&gt;You need to show the code you ran that generated the error.&lt;/P&gt;
&lt;P&gt;It sounds like you think the variables are character variables, but the Excel file you imported from had them defined as numbers.&amp;nbsp; Or is it the other way around?&lt;/P&gt;
&lt;P&gt;Do you have control over the creation of the Excel file?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2019 13:21:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/VARIABLE-DOES-NOT-MATCH-TYPE-PRESCRIBED/m-p/574162#M162180</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-07-17T13:21:14Z</dc:date>
    </item>
    <item>
      <title>Re: VARIABLE DOES NOT MATCH TYPE PRESCRIBED</title>
      <link>https://communities.sas.com/t5/SAS-Programming/VARIABLE-DOES-NOT-MATCH-TYPE-PRESCRIBED/m-p/574163#M162181</link>
      <description>&lt;P&gt;The error message indicates that the procedure you're using requires these variable to be of type numeric.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;May be post some representative sample data (as a data step creating such data) and especially the actual code you're using or at least the code bit which throws the error.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2019 13:20:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/VARIABLE-DOES-NOT-MATCH-TYPE-PRESCRIBED/m-p/574163#M162181</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2019-07-17T13:20:09Z</dc:date>
    </item>
    <item>
      <title>Re: VARIABLE DOES NOT MATCH TYPE PRESCRIBED</title>
      <link>https://communities.sas.com/t5/SAS-Programming/VARIABLE-DOES-NOT-MATCH-TYPE-PRESCRIBED/m-p/574164#M162182</link>
      <description>&lt;P&gt;Please show us the entire SAS log, not just the error messages. Please click on the {i} icon and paste the text into the window that appears; do not paste the log directly into the reply without first clicking on the {i} icon.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2019 13:20:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/VARIABLE-DOES-NOT-MATCH-TYPE-PRESCRIBED/m-p/574164#M162182</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-07-17T13:20:09Z</dc:date>
    </item>
    <item>
      <title>Re: VARIABLE DOES NOT MATCH TYPE PRESCRIBED</title>
      <link>https://communities.sas.com/t5/SAS-Programming/VARIABLE-DOES-NOT-MATCH-TYPE-PRESCRIBED/m-p/574166#M162184</link>
      <description>&lt;PRE&gt;OPTIONS LS=100 PS=100 NOCENTER NODATE NONUMBER;

/** Import an XLSX file.  **/

PROC IMPORT DATAFILE="/folders/myfolders/2019/All fish data 1.XLSX"
		    OUT=WORK.FP
		    DBMS=XLSX
		    REPLACE;
RUN;

*ods rtf file = "/folders/myfolders/2019/KERR 2017 creel result.rtf" BODYTITLE;

run;


*********** BRING IN DAILY COUNT DATA ***************;

DATA DAILY; SET FP; 

PROC SORT; BY LAKE YEAR SPECIES CAT; RUN;
PROC MEANS NOPRINT; VAR LAKE YEAR SPECIES CAT; Run;
OUTPUT OUT=NEW N=N;

DATA B; SET NEW;
PROC PRINT; VAR LAKE YEAR SPECIES CAT N; 
TITLE 'NUMBER OF FISH COLLECTED FROM PICKETT BY LAKE AND SPECIES'; RUN;


*ods rtf close;
run;&lt;/PRE&gt;</description>
      <pubDate>Wed, 17 Jul 2019 13:25:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/VARIABLE-DOES-NOT-MATCH-TYPE-PRESCRIBED/m-p/574166#M162184</guid>
      <dc:creator>vicdicenzo</dc:creator>
      <dc:date>2019-07-17T13:25:37Z</dc:date>
    </item>
    <item>
      <title>Re: VARIABLE DOES NOT MATCH TYPE PRESCRIBED</title>
      <link>https://communities.sas.com/t5/SAS-Programming/VARIABLE-DOES-NOT-MATCH-TYPE-PRESCRIBED/m-p/574167#M162185</link>
      <description>&lt;P&gt;This is not the log, this is your code. We need to see the log.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2019 13:26:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/VARIABLE-DOES-NOT-MATCH-TYPE-PRESCRIBED/m-p/574167#M162185</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-07-17T13:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: VARIABLE DOES NOT MATCH TYPE PRESCRIBED</title>
      <link>https://communities.sas.com/t5/SAS-Programming/VARIABLE-DOES-NOT-MATCH-TYPE-PRESCRIBED/m-p/574168#M162186</link>
      <description>&lt;P&gt;How is LAKE coded?&amp;nbsp; What would the mean of LAKE look like?&lt;/P&gt;
&lt;P&gt;You probably want to take the mean of some other variable.&amp;nbsp; Perhaps you meant to use LAKE in a BY or CLASS statement in PROC MEANS instead of as one of the variables to analyzed?&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2019 13:28:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/VARIABLE-DOES-NOT-MATCH-TYPE-PRESCRIBED/m-p/574168#M162186</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-07-17T13:28:27Z</dc:date>
    </item>
    <item>
      <title>Re: VARIABLE DOES NOT MATCH TYPE PRESCRIBED</title>
      <link>https://communities.sas.com/t5/SAS-Programming/VARIABLE-DOES-NOT-MATCH-TYPE-PRESCRIBED/m-p/574169#M162187</link>
      <description>&lt;PRE&gt;OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 NOTE: ODS statements in the SAS Studio environment may disable some output features.
 73         
 74         *************** THIS PROGRAM ANALYZES FORT PICKETT DATA ***********;
 75         
 76         OPTIONS LS=100 PS=100 NOCENTER NODATE NONUMBER;
 77         
 78         /** Import an XLSX file.  **/
 79         
 80         PROC IMPORT DATAFILE="/folders/myfolders/2019/All fish data 1.XLSX"
 81             OUT=WORK.FP
 82             DBMS=XLSX
 83             REPLACE;
 84         RUN;
 
 NOTE: One or more variables were converted because the data type is not supported by the V9 engine. 
       For more details, run with options MSGLEVEL=I.
 NOTE: The import data set has 2826 observations and 11 variables.
 NOTE: WORK.FP data set was successfully created.
 NOTE: PROCEDURE IMPORT used (Total process time):
       real time           0.39 seconds
       cpu time            0.36 seconds
       
 
 85         
 86         *ods rtf file = "/folders/myfolders/2019/KERR 2017 creel result.rtf" BODYTITLE;
 87         
 88         run;
 89         
 90         
 91         *********** BRING IN DAILY COUNT DATA ***************;
 92         
 93         DATA DAILY; SET FP;
 94         
 
 NOTE: There were 2826 observations read from the data set WORK.FP.
 NOTE: The data set WORK.DAILY has 2826 observations and 11 variables.
 NOTE: DATA statement used (Total process time):
       real time           0.00 seconds
       cpu time            0.00 seconds
       
 
 95         PROC SORT; BY LAKE YEAR SPECIES CAT; RUN;
 
 NOTE: There were 2826 observations read from the data set WORK.DAILY.
 NOTE: The data set WORK.DAILY has 2826 observations and 11 variables.
 NOTE: PROCEDURE SORT used (Total process time):
       real time           0.00 seconds
       cpu time            0.01 seconds
       
 
 96         PROC MEANS NOPRINT; VAR LAKE YEAR SPECIES CAT; Run;
 ERROR: Variable Lake in list does not match type prescribed for this list.
 ERROR: Variable Species in list does not match type prescribed for this list.
 ERROR: Variable Cat in list does not match type prescribed for this list.
 
 NOTE: The SAS System stopped processing this step because of errors.
 NOTE: PROCEDURE MEANS used (Total process time):
       real time           0.00 seconds
       cpu time            0.00 seconds
       
 97         OUTPUT OUT=NEW N=N;
 98         
 
 
 99         DATA B; SET NEW;
 ERROR: File WORK.NEW.DATA does not exist.
 
 NOTE: The SAS System stopped processing this step because of errors.
 WARNING: The data set WORK.B may be incomplete.  When this step was stopped there were 0 
          observations and 0 variables.
 WARNING: Data set WORK.B was not replaced because this step was stopped.
 NOTE: DATA statement used (Total process time):
       real time           0.01 seconds
       cpu time            0.01 seconds
       
 
 
 100        PROC PRINT; VAR LAKE YEAR SPECIES CAT N;
 ERROR: Variable N not found.
 101        TITLE 'NUMBER OF FISH COLLECTED FROM PICKETT BY LAKE AND SPECIES'; RUN;
 NOTE: The SAS System stopped processing this step because of errors.
 NOTE: PROCEDURE PRINT used (Total process time):
       real time           0.00 seconds
       cpu time            0.00 seconds
       
 102        
 103        
 104        *ods rtf close;
 105        run;
 106        
 107        
 108        
 109        OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 121        &lt;/PRE&gt;</description>
      <pubDate>Wed, 17 Jul 2019 13:28:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/VARIABLE-DOES-NOT-MATCH-TYPE-PRESCRIBED/m-p/574169#M162187</guid>
      <dc:creator>vicdicenzo</dc:creator>
      <dc:date>2019-07-17T13:28:29Z</dc:date>
    </item>
    <item>
      <title>Re: VARIABLE DOES NOT MATCH TYPE PRESCRIBED</title>
      <link>https://communities.sas.com/t5/SAS-Programming/VARIABLE-DOES-NOT-MATCH-TYPE-PRESCRIBED/m-p/574170#M162188</link>
      <description>&lt;P&gt;LAKE is a 2-digit character variable. &amp;nbsp;Such as LW, TL, PF, etc.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2019 13:29:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/VARIABLE-DOES-NOT-MATCH-TYPE-PRESCRIBED/m-p/574170#M162188</guid>
      <dc:creator>vicdicenzo</dc:creator>
      <dc:date>2019-07-17T13:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: VARIABLE DOES NOT MATCH TYPE PRESCRIBED</title>
      <link>https://communities.sas.com/t5/SAS-Programming/VARIABLE-DOES-NOT-MATCH-TYPE-PRESCRIBED/m-p/574172#M162189</link>
      <description>&lt;P&gt;Take a look at the columns named&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;LAKE YEAR SPECIES CAT&lt;/PRE&gt;
&lt;P&gt;in your Excel spreadsheet.&lt;/P&gt;
&lt;P&gt;Variables in the VAR statement in proc summary have to be numeric. If those columns are not numeric, choose another method of describing them (eg frequencies).&lt;/P&gt;
&lt;P&gt;If the columns&amp;nbsp;&lt;EM&gt;are&lt;/EM&gt; numeric, but proc import has a problem:&lt;/P&gt;
&lt;P&gt;Either run an intermediate data step that converts the columns.&lt;/P&gt;
&lt;P&gt;Or save the data to a csv file from Excel and import it with a user-written data step that sets correct data types.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2019 13:32:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/VARIABLE-DOES-NOT-MATCH-TYPE-PRESCRIBED/m-p/574172#M162189</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-07-17T13:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: VARIABLE DOES NOT MATCH TYPE PRESCRIBED</title>
      <link>https://communities.sas.com/t5/SAS-Programming/VARIABLE-DOES-NOT-MATCH-TYPE-PRESCRIBED/m-p/574173#M162190</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/119946"&gt;@vicdicenzo&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;LAKE is a 2-digit character variable. &amp;nbsp;Such as LW, TL, PF, etc.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You can't run numeric analysis on strings. Use proc freq for frequencies.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2019 13:33:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/VARIABLE-DOES-NOT-MATCH-TYPE-PRESCRIBED/m-p/574173#M162190</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-07-17T13:33:26Z</dc:date>
    </item>
    <item>
      <title>Re: VARIABLE DOES NOT MATCH TYPE PRESCRIBED</title>
      <link>https://communities.sas.com/t5/SAS-Programming/VARIABLE-DOES-NOT-MATCH-TYPE-PRESCRIBED/m-p/574175#M162192</link>
      <description>&lt;P&gt;I am sorry, I have corrected the VAR code. But still having an issue with proc means noprint&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;NOTE: ODS statements in the SAS Studio environment may disable some output features.
 73         
 74         *************** THIS PROGRAM ANALYZES FORT PICKETT DATA ***********;
 75         
 76         OPTIONS LS=100 PS=100 NOCENTER NODATE NONUMBER;
 77         
 78         /** Import an XLSX file.  **/
 79         
 80         PROC IMPORT DATAFILE="/folders/myfolders/2019/All fish data 1.XLSX"
 81             OUT=WORK.FP
 82             DBMS=XLSX
 83             REPLACE;
 84         RUN;
 
 NOTE: One or more variables were converted because the data type is not supported by the V9 engine. 
       For more details, run with options MSGLEVEL=I.
 NOTE: The import data set has 2826 observations and 11 variables.
 NOTE: WORK.FP data set was successfully created.
 NOTE: PROCEDURE IMPORT used (Total process time):
       real time           0.36 seconds
       cpu time            0.34 seconds
       
 
 85         
 86         *ods rtf file = "/folders/myfolders/2019/KERR 2017 creel result.rtf" BODYTITLE;
 87         
 88         run;
 89         
 90         
 91         *********** BRING IN DAILY COUNT DATA ***************;
 92         
 93         DATA DAILY; SET FP;
 94         
 
 NOTE: There were 2826 observations read from the data set WORK.FP.
 NOTE: The data set WORK.DAILY has 2826 observations and 11 variables.
 NOTE: DATA statement used (Total process time):
       real time           0.00 seconds
       cpu time            0.00 seconds
       
 
 95         PROC SORT; BY LAKE YEAR SPECIES CAT; RUN;
 
 NOTE: There were 2826 observations read from the data set WORK.DAILY.
 NOTE: The data set WORK.DAILY has 2826 observations and 11 variables.
 NOTE: PROCEDURE SORT used (Total process time):
       real time           0.01 seconds
       cpu time            0.00 seconds
       
 
 96         PROC MEANS NOPRINT; BY LAKE YEAR SPECIES CAT; VAR CLASS; Run;
 
 ERROR: Neither the PRINT option nor a valid output statement has been given.
 NOTE: The SAS System stopped processing this step because of errors.
 NOTE: PROCEDURE MEANS used (Total process time):
       real time           0.00 seconds
       cpu time            0.00 seconds
       
 97         OUTPUT OUT=NEW N=N;
 98         
 
 
 99         DATA B; SET NEW;
 ERROR: File WORK.NEW.DATA does not exist.
 
 NOTE: The SAS System stopped processing this step because of errors.
 WARNING: The data set WORK.B may be incomplete.  When this step was stopped there were 0 
          observations and 0 variables.
 WARNING: Data set WORK.B was not replaced because this step was stopped.
 NOTE: DATA statement used (Total process time):
       real time           0.00 seconds
       cpu time            0.01 seconds
       
 
 
 100        PROC PRINT; VAR LAKE YEAR SPECIES CAT N;
 ERROR: Variable N not found.
 101        TITLE 'NUMBER OF FISH COLLECTED FROM PICKETT BY LAKE AND SPECIES'; RUN;
 NOTE: The SAS System stopped processing this step because of errors.
 NOTE: PROCEDURE PRINT used (Total process time):
       real time           0.00 seconds
       cpu time            0.01 seconds
       
 102        
 103        
 104        *ods rtf close;
 105        run;
 106        
 107        
 108        
 109        OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 121        &lt;/PRE&gt;</description>
      <pubDate>Wed, 17 Jul 2019 13:36:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/VARIABLE-DOES-NOT-MATCH-TYPE-PRESCRIBED/m-p/574175#M162192</guid>
      <dc:creator>vicdicenzo</dc:creator>
      <dc:date>2019-07-17T13:36:47Z</dc:date>
    </item>
    <item>
      <title>Re: VARIABLE DOES NOT MATCH TYPE PRESCRIBED</title>
      <link>https://communities.sas.com/t5/SAS-Programming/VARIABLE-DOES-NOT-MATCH-TYPE-PRESCRIBED/m-p/574176#M162193</link>
      <description>&lt;PRE&gt;96         PROC MEANS NOPRINT; BY LAKE YEAR SPECIES CAT; VAR CLASS; Run;&lt;/PRE&gt;
&lt;P&gt;The premature run statement ends the proc means step, and invalidates the following output statement. Move it to the correct position where your proc means code really ends.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2019 13:40:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/VARIABLE-DOES-NOT-MATCH-TYPE-PRESCRIBED/m-p/574176#M162193</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-07-17T13:40:41Z</dc:date>
    </item>
    <item>
      <title>Re: VARIABLE DOES NOT MATCH TYPE PRESCRIBED</title>
      <link>https://communities.sas.com/t5/SAS-Programming/VARIABLE-DOES-NOT-MATCH-TYPE-PRESCRIBED/m-p/574178#M162194</link>
      <description>&lt;PRE&gt;96         PROC MEANS NOPRINT; BY LAKE YEAR SPECIES CAT; VAR CLASS; Run;
 
 &lt;FONT color="#FF0000"&gt;ERROR: Neither the PRINT option nor a valid output statement has been given.&lt;/FONT&gt;
 NOTE: The SAS System stopped processing this step because of errors.
 NOTE: PROCEDURE MEANS used (Total process time):
       real time           0.00 seconds
       cpu time            0.00 seconds
       
 97         OUTPUT OUT=NEW N=N;
 98         &lt;/PRE&gt;
&lt;P&gt;PROC MEANS has ended at the point in your code where the error appears (in red), and it does not have all the necessary components. What caused the PROC to come to an end? Can you figure it out?&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2019 13:41:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/VARIABLE-DOES-NOT-MATCH-TYPE-PRESCRIBED/m-p/574178#M162194</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-07-17T13:41:13Z</dc:date>
    </item>
    <item>
      <title>Re: VARIABLE DOES NOT MATCH TYPE PRESCRIBED</title>
      <link>https://communities.sas.com/t5/SAS-Programming/VARIABLE-DOES-NOT-MATCH-TYPE-PRESCRIBED/m-p/574179#M162195</link>
      <description>&lt;P&gt;Thank you all for the assistance.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2019 13:42:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/VARIABLE-DOES-NOT-MATCH-TYPE-PRESCRIBED/m-p/574179#M162195</guid>
      <dc:creator>vicdicenzo</dc:creator>
      <dc:date>2019-07-17T13:42:33Z</dc:date>
    </item>
  </channel>
</rss>

