.
and selecting Reset SAS Session.
and select Preferences.
Click Tasks, and then select Show
Task Code.
. Specify the file location and name, and then select SAS
Program Package as the Save as type option.
.
and selecting SAS Program Summary as
the Save as type option. The Program Summary
is saved as an HTML file.
Generated with &_CLIENTAPP &_CLIENTAPPVERSION
|
Macro Variable
|
Description
|
|---|---|
|
_CLIENTAPP
|
name of the application.
|
|
_CLIENTAPPVERSION
|
application version
number.
|
|
_SASPROGRAMFILE
|
the full path and filename
of the SAS program that is currently being run. This macro variable
is available only for SAS program files that are saved on the same
server on which your SAS Studio code is running.
|
and select the version that you want to open. The
prior version of the program opens in a new window from which you
can copy and paste the code as needed.
.
data topn; length rank 8; label rank="Rank"; set topn; by &category descending &measure; if first.&category then rank=0; rank+1; if rank le &n then output; run;
data topn;
length rank 8;
label rank="Rank";
set topn;
by &category descending &measure;
if first.&category then
rank=0;
rank+1;
if rank le &n then
output;
run;
on the toolbar. To turn off interactive mode, click
again. If you change modes while a program is open,
the log and results for that program are cleared. You can also clear
the log and results manually by clicking
on the appropriate toolbar.
proc sql; select * from sashelp.cars; select * from sashelp.class; quit;