I entered the following code:
options ls=80 date number;
proc means data=orion.sales;
var Salary;
run;
options nodate pageno=1;
proc freq data=orion.sales;
tables Country;
run;
options ls=95;
In the attached file is an example of the problem. I do not see in the options displayed for some reason. WHY?
Below is the LOG:
If you like to see the current settings of your SAS session, try the proc options statement as shown below.
PROC OPTIONS;
RUN;
You should see the one's you have specified such as linesize=80.
Hope this helps....!!!
the proc options did not help. i am using SAS University edition. Is there some statement i need to know that will display the options statements in the output?
I think you miss, e.g., the date and page number in the top right corner of your SAS outputs. The corresponding SAS system options refer primarily to the classic listing output. Your PNG file, however, shows HTML output. I don't know about the SAS University edition, but in a standard SAS session you can switch between these types of output (or select both) in Tools --> Options --> Preferences... --> Results. It was one of the first things I did after installing SAS 9.4 to switch from HTML to listing output only.
Here is an example using SAS University Ed.
options ls=80 pagesize=60 ;
proc options option=(pagesize ls) ;
run;
and here are the results printed in the log....
1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
55
56 options ls=80 pagesize=60 ;
57 proc options option=(pagesize ls) ;
58 run;
SAS (r) Proprietary Software Release 9.4 TS1M3
PAGESIZE=60 Specifies the number of lines that compose a page of the SAS
log and SAS output.
LINESIZE=80 Specifies the line size for the SAS log and for SAS
procedure output for the LISTING destination.
NOTE: PROCEDURE OPTIONS used (Total process time):
real time 0.00 seconds
cpu time 0.01 seconds
59
60 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
72
If you notice the options used are printed in the log...... Is this what you are looking for ?
I don't think HTML allows those options, and I get the same behaviour is SAS UE.
If you specify a different destination, PDF for example it does generate the notes.
You'll need to navigate the file and open them to view the results.
ods pdf file='/folders/myfolders/test.pdf';
ods html file='/folders/myfolders/test.html';
options date number;
proc means data=sashelp.class;
run;
ods html close;
ods pdf close;
You just saved my grade. Thank you thank you thank you!!
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.