BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Mrksk
Obsidian | Level 7

All of my previously working code doesn't display results or ods rtf outputs anymore

there are no errors or warnings in the log.

here is an example

 

 ods listing;
data xyz;
set sashelp.class;
run;
proc freq data=xyz;
tables age;
run;

 

This shows the output data, but not the results from proc freq.

 

the log is:

 

The SAS System

1 ;*';*";*/;quit;run;
2 OPTIONS PAGENO=MIN;
3 %LET _CLIENTTASKLABEL='Program (14)';
4 %LET _CLIENTPROCESSFLOWNAME='Process Flow';
5 %LET _CLIENTPROJECTPATH='/sasfolders/user/mkri0225/sasuser.v94/Nekrotiserende Fascitis Kohorte.egp';
6 %LET _CLIENTPROJECTPATHHOST='psasgridnode07.regionh.top.local';
7 %LET _CLIENTPROJECTNAME='Nekrotiserende Fascitis Kohorte.egp';
8 %LET _SASPROGRAMFILE='';
9 %LET _SASPROGRAMFILEHOST='';
10
11 ODS _ALL_ CLOSE;
12 OPTIONS DEV=PNG;
13 FILENAME EGSR TEMP;
14 ODS tagsets.sasreport13(ID=EGSR) FILE=EGSR
15 STYLE=Journal1a
16 STYLESHEET=(URL="file:///C:/Program%20Files/SASHome/SASEnterpriseGuide/7.1/Styles/Journal1a.css")
17 NOGTITLE
18 NOGFOOTNOTE
19 GPATH=&sasworklocation
20 ENCODING=UTF8
21 options(rolap="on")
22 ;
NOTE: Writing TAGSETS.SASREPORT13(EGSR) Body file: EGSR
23
24
25 data xyz;
26 set sashelp.class;
27 run;

NOTE: There were 19 observations read from the data set SASHELP.CLASS.
NOTE: The data set WORK.XYZ has 19 observations and 5 variables.
NOTE: DATA statement used (Total process time):
real time 0.00 seconds
cpu time 0.01 seconds

28 proc freq data=xyz;
29 tables age;
30 run;

NOTE: There were 19 observations read from the data set WORK.XYZ.
NOTE: PROCEDURE FREQ used (Total process time):
real time 0.00 seconds
cpu time 0.00 seconds

31
32 %LET _CLIENTTASKLABEL=;
33 %LET _CLIENTPROCESSFLOWNAME=;
34 %LET _CLIENTPROJECTPATH=;
35 %LET _CLIENTPROJECTPATHHOST=;
36 %LET _CLIENTPROJECTNAME=;
37 %LET _SASPROGRAMFILE=;
38 %LET _SASPROGRAMFILEHOST=;
39
40 ;*';*";*/;quit;run;
41 ODS _ALL_ CLOSE;
42
The SAS System

43
44 QUIT; RUN;
45

 

 

 

Any idea whats wrong?

1 ACCEPTED SOLUTION

Accepted Solutions
Mrksk
Obsidian | Level 7
I don't really understand how to fix that.
BUT My problem was fixed by reinstalling SAS.

View solution in original post

2 REPLIES 2
Astounding
PROC Star
The log shows that this statement is not part of the program that you ran:

ODS LISTING;

Instead the log contains:

ODS _ALL_ CLOSE;

That needs to be fixed.
Mrksk
Obsidian | Level 7
I don't really understand how to fix that.
BUT My problem was fixed by reinstalling SAS.

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 1580 views
  • 0 likes
  • 2 in conversation