. To run a portion of the program, select the lines
of code that you want to run and then click
.
and selecting Reset SAS Session.
and select Batch Submission Status.
![]() |
Display the batch job
properties, including file pathnames, start time, end time, and status.
|
![]() |
Open the program log
in the SAS Studio work area.
|
![]() |
Open the program results
in a separate window.
|
![]() |
Cancel a running batch
job. Any output that has been created by the job is not deleted.
|
and select Preferences.
Click Batch.
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.
|
%put
_all_ or %put _global_ in your
SAS program, the output does not include any special characters. For
example, slashes are not included in directory paths. To view the
output with these special characters, you must specify the individual
macro variable by name, such as %put &_sasprogramfile;.
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;
. When interactive mode is turned on, the button appears to be highlighted on the
toolbar. If you want to use interactive mode for all program tabs, click
and select Preferences.
Click General, and then select Start
new programs in interactive mode. If you do not select
this option, you must turn interactive mode on each time you want
to use it.