11-13-2015 10:37 PM
I entered the following code:
options ls=80 date number;
proc means data=orion.sales;
options nodate pageno=1;
proc freq data=orion.sales;
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:
11-14-2015 12:32 AM
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....!!!
11-14-2015 07:43 AM
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?
11-14-2015 07:55 AM
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.
11-14-2015 07:55 AM
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 ?
11-14-2015 12:49 PM
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;
11-14-2015 03:45 PM