<?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: No output in results for proc means data = * in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/No-output-in-results-for-proc-means-data/m-p/824496#M35153</link>
    <description>&lt;P&gt;My log is attached here for the following code:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;/*import data and create temp dataset work.Assignment1*/
PROC IMPORT DATAFILE='/home/u61857737/my_data.csv'
	DBMS=CSV
	replace
	OUT=Assignment1;
	GETNAMES=YES;
	
RUN;

/*assign data to dataset dt1*/
data dt1;
	set work.Assignment1;
	run;

/*Exercise 1.1*/
/*Replicate mean and standard deviation of age for parcipants in study years “1999-2004”, “2005-2010” and “2011-2014” in Table 1*/

proc means data=work.dt1 mean; /*no change for dt1, Assignment1 or work.Assignment1*/
	var age;	
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 20 Jul 2022 20:54:56 GMT</pubDate>
    <dc:creator>gwwp</dc:creator>
    <dc:date>2022-07-20T20:54:56Z</dc:date>
    <item>
      <title>No output in results for proc means data = *</title>
      <link>https://communities.sas.com/t5/New-SAS-User/No-output-in-results-for-proc-means-data/m-p/824452#M35139</link>
      <description>&lt;P&gt;I am using SAS Studio, and am unable to get output in results when running proc means for vars &lt;CODE class=""&gt;age&lt;/CODE&gt; broken down by r1surveyyear. Here is my code, which is based on the class lecture:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;*import data and create temp dataset work.Assignment1;
PROC IMPORT DATAFILE='/home/u61957777/my_data.csv'
	DBMS=CSV
	replace
	OUT=Assignment1;
	GETNAMES=YES;
	
RUN;

*assign data to dataset dt1;
data dt1;
	set work.Assignment1;
	run;

*Replicate mean and standard deviation of age by survey period;

proc means data=dt1 mean; *no change for work.dt1, Assignment1 or work.Assignment1;
	var age;	
	class r1surveyyear;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;After &lt;EM&gt;run&lt;/EM&gt;, there is no output in the results tab, and the log ends at the line for *replicate mean and standard deviation of age.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What am I missing here to get the output in results?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am also having &lt;A href="https://communities.sas.com/t5/SAS-Programming/No-means-output-with-intermittent-fileref-HTMLOUT-error/td-p/824420" target="_blank" rel="noopener"&gt;problems with what appear to be server-related errors,&lt;/A&gt; but the response in my question indicates that this has nothing to do with the lack of output in results.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2022 19:24:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/No-output-in-results-for-proc-means-data/m-p/824452#M35139</guid>
      <dc:creator>gwwp</dc:creator>
      <dc:date>2022-07-20T19:24:42Z</dc:date>
    </item>
    <item>
      <title>Re: No output in results for proc means data = *</title>
      <link>https://communities.sas.com/t5/New-SAS-User/No-output-in-results-for-proc-means-data/m-p/824456#M35141</link>
      <description>&lt;P&gt;Please look at the LOG yourself and see what problems appear in the LOG.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If that doesn't help, show us the &lt;FONT color="#FF0000"&gt;entire&lt;/FONT&gt; LOG (that's every single line, every single character, do not chop parts out)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Copy the LOG as text, and paste it into the window that appears when you click on the &amp;lt;/&amp;gt; icon.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Insert Log Icon in SAS Communities.png" style="width: 859px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/66171iFEC370B1DBF07B28/image-size/large?v=v2&amp;amp;px=999" role="button" title="Insert Log Icon in SAS Communities.png" alt="Insert Log Icon in SAS Communities.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2022 19:34:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/No-output-in-results-for-proc-means-data/m-p/824456#M35141</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-07-20T19:34:12Z</dc:date>
    </item>
    <item>
      <title>Re: No output in results for proc means data = *</title>
      <link>https://communities.sas.com/t5/New-SAS-User/No-output-in-results-for-proc-means-data/m-p/824459#M35142</link>
      <description>&lt;P&gt;LOG.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;LOGS describe what SAS attempted and often provides the details that simple code doesn't such as missing data sets.&lt;/P&gt;
&lt;P&gt;So, copy the LOG text and paste that into a text box.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sometimes odd characters end up outside the visible part of the editor, especially when copy/pasting from other locations. If one of those characters is exactly the wrong one then you can have submission problems. If the code does not appear in the log then something along these lines might be involved and is going to be very hard to see as we do not have your system and the entire visible contents of your editor.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have also seen a few odd things when using statement style comments, those that look like * some commented text; especially when actual code involves macros.&lt;/P&gt;
&lt;P&gt;As a long shot I might suggest use of the /* comment text */&amp;nbsp; instead. DO not nest these inside each other.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2022 19:38:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/No-output-in-results-for-proc-means-data/m-p/824459#M35142</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2022-07-20T19:38:01Z</dc:date>
    </item>
    <item>
      <title>Re: No output in results for proc means data = *</title>
      <link>https://communities.sas.com/t5/New-SAS-User/No-output-in-results-for-proc-means-data/m-p/824468#M35143</link>
      <description>&lt;P&gt;How large is the dataset?&lt;/P&gt;
&lt;P&gt;How many levels does the CLASS variable&amp;nbsp;r1surveyyear have?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2022 19:45:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/No-output-in-results-for-proc-means-data/m-p/824468#M35143</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2022-07-20T19:45:03Z</dc:date>
    </item>
    <item>
      <title>Re: No output in results for proc means data = *</title>
      <link>https://communities.sas.com/t5/New-SAS-User/No-output-in-results-for-proc-means-data/m-p/824469#M35144</link>
      <description>&lt;P&gt;What do you mean by this statement in your code:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt; *no change for work.dt1, Assignment1 or work.Assignment1;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;PROC MEANS will not change any of the above data sets. It will display output. If you're having issues with displayed output this is likely a part of that.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you start a new, clean session of SAS and run the following what do you get?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc means data=sashelp.class mean;
class sex;
output out=want n = mean= /autoname;
ods output summary=want2;
 run;

title 'Version 1';
proc print data=want;
title 'Version 2';
proc print data=want2;
run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 20 Jul 2022 19:48:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/No-output-in-results-for-proc-means-data/m-p/824469#M35144</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2022-07-20T19:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: No output in results for proc means data = *</title>
      <link>https://communities.sas.com/t5/New-SAS-User/No-output-in-results-for-proc-means-data/m-p/824483#M35146</link>
      <description>&lt;P&gt;OP apparently posted a bit of log and then removed it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Interestingly there was a bit of code just before problem with proc means that looked like&lt;/P&gt;
&lt;PRE&gt; 172        
 173        *Exercise 1.1
 174        *Replicate mean and standard deviati&lt;/PRE&gt;
&lt;P&gt;Previous code shown did not include the *Exercise 1.1 bit so I suspect we have an issue with nested comment where the Exercise comment was not properly closed.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2022 20:12:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/No-output-in-results-for-proc-means-data/m-p/824483#M35146</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2022-07-20T20:12:12Z</dc:date>
    </item>
    <item>
      <title>Re: No output in results for proc means data = *</title>
      <link>https://communities.sas.com/t5/New-SAS-User/No-output-in-results-for-proc-means-data/m-p/824488#M35148</link>
      <description>&lt;P&gt;Could you explain what a clean session of SAS is and how to get it? I'm using SAS Studio. Yesterday I was able to produce output to the results tab, but that work was lost.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to display the output to results of proc means for my dataset. Regardless of whether I state is as data=dt1, data=work.dt1, data=Assignment1 or data=work.Assignment1, there is no output. My logs are posted in separate comments here.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2022 20:28:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/No-output-in-results-for-proc-means-data/m-p/824488#M35148</guid>
      <dc:creator>gwwp</dc:creator>
      <dc:date>2022-07-20T20:28:04Z</dc:date>
    </item>
    <item>
      <title>Re: No output in results for proc means data = *</title>
      <link>https://communities.sas.com/t5/New-SAS-User/No-output-in-results-for-proc-means-data/m-p/824489#M35149</link>
      <description>&lt;P&gt;The new logs I posted after adjusting the comments per your suggestion don't seem to be displaying in the thread here, but after I fixed them I am still not seeing anything in the results panel, and the error log still ends on the same truncated line.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My Code:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;/*import data and create temp dataset work.Assignment1*/
PROC IMPORT DATAFILE='/home/u61857737/my_data.csv'
	DBMS=CSV
	replace
	OUT=Assignment1;
	GETNAMES=YES;
	
RUN;

/*assign data to dataset dt1*/
data dt1;
	set work.Assignment1;
	run;

/*Exercise 1.1*/
/*Replicate mean and standard deviation of age for parcipants in study years 
“1999-2004”, “2005-2010” and “2011-2014” in Table 1*/

proc means data=work.dt1 mean; /*no change for work.dt1, Assignment1 or work.Assignment1*/
	var age;	
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The LOG:&lt;/P&gt;&lt;PRE&gt; 1          OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 2          TITLE;
 3          FOOTNOTE;
 4          OPTIONS LOCALE=en_US DFLANG=LOCALE;
 5          DATA _NULL_;
 6          RUN;
 7          OPTIONS VALIDVARNAME=ANY;
 8          OPTIONS VALIDMEMNAME=EXTEND;
 9          FILENAME _HTMLOUT TEMP;
 10         FILENAME _GSFNAME TEMP;
 11         FILENAME _DATAOUT TEMP;
 12         %LET SYSCC=0;
 13         %LET _CLIENTAPP='SAS Studio';
 14         %LET _CLIENTAPPABREV=Studio;
 15         %LET _CLIENTAPPVERSION=3.81;
 16         %LET _CLIENTVERSION=3.81;
 17         %LET _CLIENTMODE=wip;
 18         %LET _SASSERVERNAME=%BQUOTE(SASApp);
 19         %LET _SASHOSTNAME=%BQUOTE(odaws01-euw1);
 20         %LET _SASPROGRAMFILEHOST=%BQUOTE(odaws01-euw1);
 21         %LET _CLIENTUSERID=%BQUOTE(u61857737);
 22         %LET _CLIENTUSERNAME=%BQUOTE(u61857737);
 23         %LET CLIENTMACHINE=%BQUOTE(CPEE4BFFA89FC8F-CME4BFFA89FC8D.CPE.NET.CABLE.ROGERS.COM);
 24         %LET _CLIENTMACHINE=%BQUOTE(CPEE4BFFA89FC8F-CME4BFFA89FC8D.CPE.NET.CABLE.ROGERS.COM);
 25         %let SASWORKLOCATION="%sysfunc(getoption(work))/";
 26         FILENAME _CWD '.';
 27         DATA _NULL_;
 28         CALL SYMPUT('_SASWORKINGDIR',PATHNAME('_CWD'));
 29         RUN;
 30         FILENAME _CWD;
 31         
 32         %LET _SASPROGRAMFILE = %NRQUOTE(%NRSTR(/home/u61857737/Assignment1.sas));
 33         %LET _BASEURL = %BQUOTE(https://odamid-euw1.oda.sas.com/SASStudio/);
 34         %LET _EXECENV=SASStudio;
 35         DATA _NULL_;
 36         CALL SYMPUT("GRAPHINIT","");
 37         CALL SYMPUT("GRAPHTERM","");
 38         RC=TSLVL('SASXGOPT','N');
 39         _ERROR_=0;
 40         IF (RC^=' ') THEN DO;
 41         CALL SYMPUT("GRAPHINIT","GOPTIONS RESET=ALL GSFNAME=_GSFNAME;");
 42         CALL SYMPUT("GRAPHTERM","GOPTIONS NOACCESSIBLE;");
 43         END;
 44         RUN;
 45         DATA _NULL_;
 46         RC=SYSPROD("PRODNUM002");
 47         IF (RC^=1) THEN DO;
 48         CALL SYMPUT("GRAPHINIT","");
 49         CALL SYMPUT("GRAPHTERM","");
 50         END;
 51         RUN;
 52         %LET _DATAOUT_MIME_TYPE=;
 53         %LET _DATAOUT_NAME=;
 54         %LET _DATAOUT_TABLE=;
 55         %LET _DATAOUT_URL=;
 56         %SYMDEL _DATAOUT_MIME_TYPE _DATAOUT_NAME _DATAOUT_URL _DATAOUT_TABLE;
 57         %LET _SASWS_ = %BQUOTE(/home/u61857737);
 58         %LET _SASWSTEMP_=%BQUOTE(/home/u61857737/.sasstudio/.images/bf38490f-c8f1-45a6-a711-4bceb3f90ad1);
 59         ODS LISTING CLOSE;
 60         ODS AUTONAVIGATE OFF;
 61         ODS GRAPHICS ON;
 62         ODS HTML5 (ID=WEB) DEVICE=PNG GPATH="&amp;amp;_SASWSTEMP_" ENCODING=utf8  FILE=_HTMLOUT (TITLE='Results: Assignment1.sas')
 62       ! STYLE=Htmlblue OPTIONS(BITMAP_MODE='INLINE' OUTLINE='ON' SVG_MODE='INLINE'
 62       ! CSS_PREFIX='.ods_bf38490f-c8f1-45a6-a711-4bceb3f90ad1' BODY_ID='div_bf38490f-c8f1-45a6-a711-4bceb3f90ad1' );
 63         &amp;amp;GRAPHINIT;
 64         OPTIONS FIRSTOBS=1;
 65         OPTIONS OBS=MAX;
 66         OPTIONS DTRESET DATE NUMBER NOTES;
 67         OPTIONS NOTES STIMER SOURCE NOSYNTAXCHECK;
 68         
 69         /*import data and create temp dataset work.Assignment1*/
 70         PROC IMPORT DATAFILE='/home/u61857737/my_data.csv'
 71         DBMS=CSV
 72         replace
 73         OUT=Assignment1;
 74         GETNAMES=YES;
 75         
 76         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.
 77          /**********************************************************************
 78          *   PRODUCT:   SAS
 79          *   VERSION:   9.4
 80          *   CREATOR:   External File Interface
 81          *   DATE:      20JUL22
 82          *   DESC:      Generated SAS Datastep Code
 83          *   TEMPLATE SOURCE:  (None Specified.)
 84          ***********************************************************************/
 85             data WORK.ASSIGNMENT1    ;
 86             %let _EFIERR_ = 0; /* set the ERROR detection macro variable */
 87             infile '/home/u61857737/my_data.csv' delimiter = ',' MISSOVER DSD lrecl=32767 firstobs=2 ;
 88                informat seqn best32. ;
 89                informat pulse best32. ;
 90                informat dm best32. ;
 91                informat smokingnow best32. ;
 92                informat totalchol best32. ;
 93                informat hdl best32. ;
 94                informat a1c best32. ;
 95                informat gender best32. ;
 96                informat age best32. ;
 97                informat race best32. ;
 98                informat educ best32. ;
 99                informat antihtn best32. ;
 100               informat insurance best32. ;
 101               informat bmi best32. ;
 102               informat preg best32. ;
 103               informat sbpmean best32. ;
 104               informat dbpmean best32. ;
 105               informat race2 best32. ;
 106               informat race3 best32. ;
 107               informat cvd best32. ;
 108               informat r1surveyyear best32. ;
 109               informat highered best32. ;
 110               informat povertycat2 best32. ;
 111               informat risk10pc best32. ;
 112               informat highriskpc best32. ;
 113               format seqn best12. ;
 114               format pulse best12. ;
 115               format dm best12. ;
 116               format smokingnow best12. ;
 117               format totalchol best12. ;
 118               format hdl best12. ;
 119               format a1c best12. ;
 120               format gender best12. ;
 121               format age best12. ;
 122               format race best12. ;
 123               format educ best12. ;
 124               format antihtn best12. ;
 125               format insurance best12. ;
 126               format bmi best12. ;
 127               format preg best12. ;
 128               format sbpmean best12. ;
 129               format dbpmean best12. ;
 130               format race2 best12. ;
 131               format race3 best12. ;
 132               format cvd best12. ;
 133               format r1surveyyear best12. ;
 134               format highered best12. ;
 135               format povertycat2 best12. ;
 136               format risk10pc best12. ;
 137               format highriskpc best12. ;
 138            input
 139                        seqn
 140                        pulse
 141                        dm
 142                        smokingnow
 143                        totalchol
 144                        hdl
 145                        a1c
 146                        gender
 147                        age
 148                        race
 149                        educ
 150                        antihtn
 151                        insurance
 152                        bmi
 153                        preg
 154                        sbpmean
 155                        dbpmean
 156                        race2
 157                        race3
 158                        cvd
 159                        r1surveyyear
 160                        highered
 161                        povertycat2
 162                        risk10pc
 163                        highriskpc
 164            ;
 165            if _ERROR_ then call symputx('_EFIERR_',1);  /* set ERROR detection macro variable */
 166            run;
 
 NOTE: The infile '/home/u61857737/my_data.csv' is:
       Filename=/home/u61857737/my_data.csv,
       Owner Name=u61857737,Group Name=oda,
       Access Permission=-rw-r--r--,
       Last Modified=19Jul2022:20:28:31,
       File Size (bytes)=1414822
 
 NOTE: 17199 records were read from the infile '/home/u61857737/my_data.csv'.
       The minimum record length was 72.
       The maximum record length was 84.
 NOTE: The data set WORK.ASSIGNMENT1 has 17199 observations and 25 variables.
 NOTE: DATA statement used (Total process time):
       real time           0.03 seconds
       user cpu time       0.03 seconds
       system cpu time     0.00 seconds
       memory              10713.31k
       OS Memory           37920.00k
       Timestamp           07/20/2022 08:30:12 PM
       Step Count                        105  Switch Count  2
       Page Faults                       0
       Page Reclaims                     268
       Page Swaps                        0
       Voluntary Context Switches        11
       Involuntary Context Switches      0
       Block Input Operations            0
       Block Output Operations           6928
       
 
 17199 rows created in WORK.ASSIGNMENT1 from /home/u61857737/my_data.csv.
   
   
   
 NOTE: WORK.ASSIGNMENT1 data set was successfully created.
 NOTE: The data set WORK.ASSIGNMENT1 has 17199 observations and 25 variables.
 NOTE: PROCEDURE IMPORT used (Total process time):
       real time           0.14 seconds
       user cpu time       0.11 seconds
       system cpu time     0.01 seconds
       memory              10713.31k
       OS Memory           38436.00k
       Timestamp           07/20/2022 08:30:12 PM
       Step Count                        105  Switch Count  10
       Page Faults                       0
       Page Reclaims                     5194
       Page Swaps                        0
       Voluntary Context Switches        83
       Involuntary Context Switches      0
       Block Input Operations            0
       Block Output Operations           6984
       
 
 167        
 168        /*assign data to dataset dt1*/
 169        data dt1;
 170        set work.Assignment1;
 171        run;
 
 NOTE: There were 17199 observations read from the data set WORK.ASSIGNMENT1.
 NOTE: The data set WORK.DT1 has 17199 observations and 25 variables.
 NOTE: DATA statement used (Total process time):
       real time           0.00 seconds
       user cpu time       0.00 seconds
       system cpu time     0.00 seconds
       memory              3696.18k
       OS Memory           34224.00k
       Timestamp           07/20/2022 08:30:12 PM
       Step Count                        106  Switch Count  2
       Page Faults                       0
       Page Reclaims                     495
       Page Swaps                        0
       Voluntary Context Switches        12
       Involuntary Context Switches      0
       Block Input Operations            0
       Block Output Operations           6920
       
 
 172        
 173        /*Exercise 1.1*/
 174        /*Replicate mean and standard deviati&lt;/PRE&gt;</description>
      <pubDate>Wed, 20 Jul 2022 20:33:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/No-output-in-results-for-proc-means-data/m-p/824489#M35149</guid>
      <dc:creator>gwwp</dc:creator>
      <dc:date>2022-07-20T20:33:11Z</dc:date>
    </item>
    <item>
      <title>Re: No output in results for proc means data = *</title>
      <link>https://communities.sas.com/t5/New-SAS-User/No-output-in-results-for-proc-means-data/m-p/824491#M35150</link>
      <description>&lt;P&gt;The dataset has 25 columns and 17,199 rows.&lt;/P&gt;&lt;P&gt;The CLASS variable r1surveyyear has 3 levels.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2022 20:39:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/No-output-in-results-for-proc-means-data/m-p/824491#M35150</guid>
      <dc:creator>gwwp</dc:creator>
      <dc:date>2022-07-20T20:39:01Z</dc:date>
    </item>
    <item>
      <title>Re: No output in results for proc means data = *</title>
      <link>https://communities.sas.com/t5/New-SAS-User/No-output-in-results-for-proc-means-data/m-p/824492#M35151</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw&lt;/a&gt;&amp;nbsp;I've posted two completed logs and both were removed by the forum as soon as I post them. Do you know a work-around?&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2022 20:41:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/No-output-in-results-for-proc-means-data/m-p/824492#M35151</guid>
      <dc:creator>gwwp</dc:creator>
      <dc:date>2022-07-20T20:41:49Z</dc:date>
    </item>
    <item>
      <title>Re: No output in results for proc means data = *</title>
      <link>https://communities.sas.com/t5/New-SAS-User/No-output-in-results-for-proc-means-data/m-p/824495#M35152</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/429985"&gt;@gwwp&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw&lt;/a&gt;&amp;nbsp;I've posted two completed logs and both were removed by the forum as soon as I post them. Do you know a work-around?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;From what I saw of the post that I saw and disappeared I can't actually say. However there may have been some characters that appear in the LOG that are "objectionable" to the forum software right at that comment and could be the cause of your problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That means a work-around that takes just a bit more work may be needed. First step would be to create an actual text file of the log contents. That might be as easy as open Notepad or similar (NOT Wordpad or Word or other program that may try to interpret odd codes), save the file to your local drive. Then on the forum use the "drag and drop" area to drop the text file, or use the browse document files link to add an attachment for that text file.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2022 20:49:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/No-output-in-results-for-proc-means-data/m-p/824495#M35152</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2022-07-20T20:49:48Z</dc:date>
    </item>
    <item>
      <title>Re: No output in results for proc means data = *</title>
      <link>https://communities.sas.com/t5/New-SAS-User/No-output-in-results-for-proc-means-data/m-p/824496#M35153</link>
      <description>&lt;P&gt;My log is attached here for the following code:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;/*import data and create temp dataset work.Assignment1*/
PROC IMPORT DATAFILE='/home/u61857737/my_data.csv'
	DBMS=CSV
	replace
	OUT=Assignment1;
	GETNAMES=YES;
	
RUN;

/*assign data to dataset dt1*/
data dt1;
	set work.Assignment1;
	run;

/*Exercise 1.1*/
/*Replicate mean and standard deviation of age for parcipants in study years “1999-2004”, “2005-2010” and “2011-2014” in Table 1*/

proc means data=work.dt1 mean; /*no change for dt1, Assignment1 or work.Assignment1*/
	var age;	
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 20 Jul 2022 20:54:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/No-output-in-results-for-proc-means-data/m-p/824496#M35153</guid>
      <dc:creator>gwwp</dc:creator>
      <dc:date>2022-07-20T20:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: No output in results for proc means data = *</title>
      <link>https://communities.sas.com/t5/New-SAS-User/No-output-in-results-for-proc-means-data/m-p/824497#M35154</link>
      <description>&lt;P&gt;I posted part of the answer on your previous post - the smart quotes are part of the issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your log doesn't show any of the proc means being submitted at all or the comments so that's not the full log for the code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A clean session is after you restart SAS so any issues from previous sessions are cleared out.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2022 20:57:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/No-output-in-results-for-proc-means-data/m-p/824497#M35154</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2022-07-20T20:57:51Z</dc:date>
    </item>
    <item>
      <title>Re: No output in results for proc means data = *</title>
      <link>https://communities.sas.com/t5/New-SAS-User/No-output-in-results-for-proc-means-data/m-p/824507#M35157</link>
      <description>&lt;P&gt;Restart SAS and run the code I posted. If it works then the problem is in your code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If it doesn't then the problem is your settings/SAS installation.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2022 21:36:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/No-output-in-results-for-proc-means-data/m-p/824507#M35157</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2022-07-20T21:36:43Z</dc:date>
    </item>
    <item>
      <title>Re: No output in results for proc means data = *</title>
      <link>https://communities.sas.com/t5/New-SAS-User/No-output-in-results-for-proc-means-data/m-p/824509#M35158</link>
      <description>&lt;P&gt;If that is indeed your entire log then there appears to be something in your source code with issues.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Which version of SAS are you using? We might have a side effect of one of the server versions limiting the size of the text that can be copied from the log if you actually see more than appears in the posts. Which would mean exporting the Log from the window to a text file. But if you don't see more in the log then the submitted code is an issue and that may require an export to text .SAS program file and attach that file as well.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2022 21:57:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/No-output-in-results-for-proc-means-data/m-p/824509#M35158</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2022-07-20T21:57:52Z</dc:date>
    </item>
    <item>
      <title>Re: No output in results for proc means data = *</title>
      <link>https://communities.sas.com/t5/New-SAS-User/No-output-in-results-for-proc-means-data/m-p/824516#M35159</link>
      <description>&lt;P&gt;The first statement in your log.txt should suppress all statements and messages, but it doesn't. And all subsequent statements are also not executed. But the first code after a comment is executed. This means that at the moment you submitted your code, a comment block was "active", because you submitted a comment without the closing */ before that.&lt;/P&gt;
&lt;P&gt;Restart your SAS session and make sure all comments are properly terminated; if you submit partial code, make sure that comment blocks are included completely.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2022 22:51:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/No-output-in-results-for-proc-means-data/m-p/824516#M35159</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2022-07-20T22:51:07Z</dc:date>
    </item>
    <item>
      <title>Re: No output in results for proc means data = *</title>
      <link>https://communities.sas.com/t5/New-SAS-User/No-output-in-results-for-proc-means-data/m-p/824530#M35160</link>
      <description>&lt;P&gt;As suggested by &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt; and &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw&lt;/a&gt;, it worked after changing the two-line comment&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;/*Replicate mean and standard deviation of age for parcipants in study years 
“1999-2004”, “2005-2010” and “2011-2014” in Table 1*/&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;to&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;/*mean and standard deviation of age for study years “1999-2004”, “2005-2010” and “2011-2014” in Table 1*/&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I'm guessing that it has something to do with the comment being split over two lines, but it would be helpful to know if there are best practices for comments in SAS.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2022 00:53:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/No-output-in-results-for-proc-means-data/m-p/824530#M35160</guid>
      <dc:creator>gwwp</dc:creator>
      <dc:date>2022-07-21T00:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: No output in results for proc means data = *</title>
      <link>https://communities.sas.com/t5/New-SAS-User/No-output-in-results-for-proc-means-data/m-p/824536#M35162</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/429985"&gt;@gwwp&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;As suggested by &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt; and &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw&lt;/a&gt;, it worked after changing the two-line comment&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=""&gt;/*Replicate mean and standard deviation of age for parcipants in study years 
“1999-2004”, “2005-2010” and “2011-2014” in Table 1*/&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;to&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=""&gt;/*mean and standard deviation of age for study years “1999-2004”, “2005-2010” and “2011-2014” in Table 1*/&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I'm guessing that it has something to do with the comment being split over two lines, but it would be helpful to know if there are best practices for comments in SAS.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Since that comment includes "smart quotes", the curly left/right pairs, that appears to have been copied from another document of some sort, probably word processor. Which might mean that other formatting but not-visible characters were included where the line broke. Then by making it a single line you may have removed the not-visible to humans but read by the SAS code processor that were causing a problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are 3 forms of comments in SAS:&lt;/P&gt;
&lt;P&gt;*&amp;nbsp; ;&lt;/P&gt;
&lt;P&gt;/*&amp;nbsp;&amp;nbsp; */&lt;/P&gt;
&lt;P&gt;%*&amp;nbsp;&amp;nbsp; ;&amp;nbsp;&amp;nbsp; (macro quotes)&lt;/P&gt;
&lt;P&gt;Since the /* */ work pretty much everywhere, including in the middle of statements such as&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Proc print data=something;
    var thisvar thatvar /* commentoutvar */ other var andyetanother;
run;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;which means the variable commentoutvar is not included in the print output (at least for this trial).&lt;/P&gt;
&lt;P&gt;Or surrounding an entire block of code statements:&lt;/P&gt;
&lt;P&gt;/* Proc anyproc data=someset; statement one; statement two; statement three; run; */prevents that entire proc from submission.&lt;/P&gt;
&lt;P&gt;I tend to only use the /*&amp;nbsp;&amp;nbsp; */.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Caution: Do not nest comments.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;/* start of comment&lt;/P&gt;
&lt;P&gt;/* start of another comment */&lt;/P&gt;
&lt;P&gt;end of first comment */&lt;/P&gt;
&lt;P&gt;will cause all sorts of oddness and depending on code in/around it can be quite problematic.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2022 02:31:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/No-output-in-results-for-proc-means-data/m-p/824536#M35162</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2022-07-21T02:31:26Z</dc:date>
    </item>
    <item>
      <title>Re: No output in results for proc means data = *</title>
      <link>https://communities.sas.com/t5/New-SAS-User/No-output-in-results-for-proc-means-data/m-p/824552#M35163</link>
      <description>&lt;P&gt;Comments can be safely split over lines, both "statement comments" (* .... &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; and "block comments" (/* ... */).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But you have to always be careful with properly terminating things:&lt;/P&gt;
&lt;P&gt;Procedures with RUN or QUIT&lt;/P&gt;
&lt;P&gt;Statements with semicolons&lt;/P&gt;
&lt;P&gt;Comments&lt;/P&gt;
&lt;P&gt;Macros with %MEND&lt;/P&gt;
&lt;P&gt;Macro and function calls, and array references with a proper bracket&lt;/P&gt;
&lt;P&gt;Strings with the proper quotes&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;especially when submitting parts of code.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2022 06:28:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/No-output-in-results-for-proc-means-data/m-p/824552#M35163</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2022-07-21T06:28:07Z</dc:date>
    </item>
    <item>
      <title>Re: No output in results for proc means data = *</title>
      <link>https://communities.sas.com/t5/New-SAS-User/No-output-in-results-for-proc-means-data/m-p/824585#M35166</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/429985"&gt;@gwwp&lt;/a&gt; please mark the comment from either &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt; or &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw&lt;/a&gt; as correct, and not your own reply that states the comment from those individuals was correct.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2022 10:13:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/No-output-in-results-for-proc-means-data/m-p/824585#M35166</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-07-21T10:13:28Z</dc:date>
    </item>
  </channel>
</rss>

