Name
|
Syntax and Description
|
|
ABORT
<ABEND | RETURN>
<
n
>
;
Stops the execution of the current DATA step, SAS job, or SAS
session.
Product: Base SAS
Document: SAS Companion for z/OS
|
|
ABORT
<ABEND | RETURN>
<
n
>
;
Stops executing the current DATA step, SAS job, or SAS session.
Product: Base SAS
Document: SAS Companion for the UNIX Environments
|
|
ABORT
<ABEND | RETURN>
<
n
>
;
Stops executing the current DATA step, SAS job, or SAS session.
Product: Base SAS
Document: SAS Companion for OpenVMS on HP Integrity Servers
|
|
ABORT
<ABEND | RETURN>
<
n
>
;
Stops executing the current DATA step, SAS job, or SAS session.
Product: Base SAS
Document: SAS Companion for Windows
|
|
ABORT
<ABEND | CANCEL <FILE>
| RETURN | >
<
n
>
<NOLIST>
;
Stops executing the current DATA step, SAS job, or SAS session.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
ARRAY
array-name { subscript } <$>
<
length
>
<
array-elements
>
<(initial-value-list)>
;
Defines the elements of an array.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
ATTRIB
variable-list-1 attribute-list-1
<...variable-list-n attribute-list-n
>
;
Associates a format, informat, label, length, or any combination
of these attributes, with one or more variables.
Product: Base SAS
Document: SAS Companion for z/OS
|
|
ATTRIB
variable-list-1 attribute-list-1 <...variable-list-n attribute-list-n
>
;
Associates a format, informat, label, or length with one or more
variables.
Product: Base SAS
Document: SAS Companion for the UNIX Environments
|
|
ATTRIB
variable-list-1 attribute-list-1
< . . . variable-list-n attribute-list-n
>
;
Associates a format, an informat, a label, or a length, or all
four with one or more variables.
Product: Base SAS
Document: SAS Companion for OpenVMS on HP Integrity Servers
|
|
ATTRIB
variable-list-1 attribute-list-1…<
variable-list-n attribute-list-n
>
;
Associates a format, informat, label, and length with one or more
variables.
Product: Base SAS
Document: SAS Companion for Windows
|
|
ATTRIB
variable-list(s) attribute-list(s) ;
Associates a format, informat, label, and length with one or more
variables.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
AXIS
<1...99>
<
options
>
;
Controls the location, values, and appearance of the axes in plots
and charts.
Product: SAS/GRAPH
Document: SAS/GRAPH Reference
|
|
array-name { subscript }
Describes the elements in an array to be processed.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
variable=expression;
Evaluates an expression and stores the result in a variable.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
BY
<DESCENDING>
variable
<...<DESCENDING>
variable-n
>
<NOTSORTED>
;
Processes data and orders output according to the BY group.
Product: SAS/GRAPH
Document: SAS/GRAPH Reference
|
|
BY
<DESCENDING>
variable-1
<…<DESCENDING>
variable-n
>
<NOTSORTED>
<GROUPFORMAT>
;
Controls the operation of a SET, MERGE, MODIFY, or UPDATE statement
in the DATA step and sets up special grouping variables.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
CALL
routine(parameter-1
<, …parameter-n
>
);
Invokes a SAS CALL routine.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
CATNAME
<
libref.
>
catref
<
(libref-1.catalog-1
<(ACCESS=READONLY)>
<...libref-n.catalog–n
<(ACCESS=READONLY)>
)>
;
CATNAME
<
libref.
>
catref CLEAR | _ALL_ CLEAR;
CATNAME
<
libref.
>
catref LIST | _ALL_ LIST;
Logically combines two or more catalogs into one by associating
them with a catref (a shortcut name); clears one or all catrefs; lists the
concatenated catalogs in one concatenation or in all concatenations.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
CHECKPOINT EXECUTE_ALWAYS;
Indicates to execute the DATA step or PROC step that
immediately follows without considering the checkpoint-restart data.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
CONNECT TO
data-source-name
<AS alias
>
<(<
connect-statement-arguments
>
<
database-connection-arguments
>
)>
;
Establishes a connection with the data source.
Product: SAS/ACCESS
Document: SAS/ACCESS Interface to PC Files: Reference
|
|
CONNECT TO
data-source-name
<AS alias
>
<(<
connect-statement-arguments
>
<
database-connection-arguments
>
)>
;
Establishes a connection with the data source.
Product: SAS/ACCESS
Document: SAS/ACCESS Interface to PC Files: Reference
|
|
CONNECT TO
dbms-name
<AS alias
>
<(<
database-connection-arguments
>
<
connect-statement-arguments
>
)>
;
Establishes a connection with the DBMS
Product: SAS/ACCESS
Document: SAS/ACCESS for Relational Databases: Reference
|
|
CONTINUE;
Stops processing the current DO-loop iteration and resumes processing
the next iteration.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
*
message;
or
/*message*/
Specifies the purpose of the statement or program.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
DATA
<
data-set-name-1
<(data-set-options-1)>
>
<
… data-set-name-n
<(data-set-options-n)>
>
</ <DEBUG>
<NESTING>
<STACK = stack-size
>
>
<NOLIST>
;
DATA _NULL_ </ <DEBUG>
<NESTING>
<STACK = stack-size
>
>
<NOLIST>
;
DATA
view-name
<
data-set-name-1
<(data-set-options-1)>
>
<
… data-set-name-n
<(data-set-options-n)>
>
/ VIEW=view-name
<(<
password-option
>
<SOURCE=source-option
>
)>
<NESTING>
<NOLIST>
;
DATA
data-set-name / PGM=program-name
<(<
password-option
>
<SOURCE=source-option
>
)>
<NESTING>
<NOLIST>
;
DATA VIEW=view-name
<(password-option)>
<NOLIST>
;
DESCRIBE;
DATA PGM=program-name
<(password-option)>
<NOLIST>
;
<;>
< INPUT | OUTPUT old-name-1 = new-name-1
<… old-name-n = new-name-n
>
;>
<;>
Begins a DATA step and provides names for any output SAS data
sets, views, or programs.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
DATALINES;
Specifies that data lines follow.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
DATALINES4;
Indicates that data lines that contain semicolons follow.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
DECLARE APPENDER ("name", "FileRefAppender",
"FILEREF =fileref"<, PATTERN: "pattern">
<, THRESHOLD: "threshold">
);
Declares an appender object; creates an instance of an appender
object and initializes data for an appender object.
Product: Base SAS
Document: SAS Logging: Configuration and Programming Reference
|
|
DECLARE
object
object-reference;
DECLARE
object
object-reference
<(<
argument_tag-1: value-1
<, …argument_tag-n: value-n
>
>
)>
;
Declares a hash or hash iterator object; creates an instance of
and initializes data for a hash or hash iterator object.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
DECLARE JAVAOBJ
object-reference;
DECLARE JAVAOBJ
object-reference
("java-class", <
argument-1 , … argument-n
>
);
Declares a Java object; creates an instance of and initializes
data for a Java object.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
DECLARE LOGGER ("name" <, ADDITIVITY: TRUE | FALSE>
<, LEVEL: "level">
<, APPENDERREF:" appender-name"<…, APPENDERREF: "appender-name">
>
);
Declares a logger object; creates an instance of a logger object
and initializes data for a logger object.
Product: Base SAS
Document: SAS Logging: Configuration and Programming Reference
|
|
DELETE;
Stops processing the current observation.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
DESCRIBE;
Retrieves source code from a stored compiled DATA step program
or a DATA step view.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
DISCONNECT FROM
data-source-name | alias
Terminates the connection to the data source.
Product: SAS/ACCESS
Document: SAS/ACCESS Interface to PC Files: Reference
|
|
DISCONNECT FROM PCFILES | alias
Terminates the connection to the data source.
Product: SAS/ACCESS
Document: SAS/ACCESS Interface to PC Files: Reference
|
|
DISCONNECT FROM
dbms-name | alias
Terminates the connection to the DBMS
Product: SAS/ACCESS
Document: SAS/ACCESS for Relational Databases: Reference
|
|
DISPLAY
window
<
.group
>
<NOINPUT >
<BLANK >
<BELL >
<DELETE>
;
Displays a window that is created with the WINDOW statement.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
DM
<
window
>
'command(s)' <
window
>
<CONTINUE>
;
Submits SAS Program Editor, Log, Procedure Output or text editor
commands as SAS statements.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
DO; ...more SAS statements...
END;
Specifies a group of statements to be executed as a unit.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
DO
index-variable=specification-1
<, . . . specification-n
>
;
. . . more SAS statements . . .
END;
Executes statements between the DO and END statements repetitively,
based on the value of an index variable.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
DO UNTIL (expression);...more SAS statements...
END;
Executes statements in a DO loop repetitively until a condition
is true.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
DO WHILE (expression);...more SAS statements...
END;
Executes statements in a DO-loop repetitively while
a condition is true.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
DROP
variable-list;
Excludes variables from output SAS data sets.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
DSNEXST `physical-filename ';
Checks to see whether the specified physical file exists and is
available.
Product: Base SAS
Document: SAS Companion for z/OS
|
|
END;
Ends a DO group or SELECT group processing.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
ENDRSUBMIT
<CANCEL>
;
Marks the end of a block of statements that a client session submits
to a server session for execution.
Product: SAS/CONNECT
Document: SAS/CONNECT User's Guide
|
|
ENDSAS;
Terminates a SAS job or session after the current DATA or PROC
step executes.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
ERROR
<
message
>
;
Sets _ERROR_ to 1. A message written to the SAS log is optional.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
EXECUTE (data-source-specific-SQL-statement) BY data-source-name | alias;
Sends data source-specific, non-query SQL statements to the data
source.
Product: SAS/ACCESS
Document: SAS/ACCESS Interface to PC Files: Reference
|
|
EXECUTE (data-source-specific-SQL-statement) BY PCFILES | alias;
Sends data source-specific, nonquery SQL statements to the data
source.
Product: SAS/ACCESS
Document: SAS/ACCESS Interface to PC Files: Reference
|
|
EXECUTE (dbms-specific-sql-statement)
BY dbms-name | alias;
Sends DBMS-specific, non-query SQL statements to the DBMS
Product: SAS/ACCESS
Document: SAS/ACCESS for Relational Databases: Reference
|
|
EXECUTE;
Executes a stored compiled DATA step program .
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
FILE
file-specification
<
type
>
<ENCODING=encoding-value
>
<
options
>
;
FILE LOG | PRINT <
options
>
;
Specifies the current output file for PUT statements.
Product: Base SAS
Document: SAS Companion for z/OS
|
|
FILE
file-specification
<ENCODING='encoding-value' >
<
options
>
<
host-options
>
;
Specifies the current output file for PUT statements.
Product: Base SAS
Document: SAS Companion for the UNIX Environments
|
|
FILE
file-specification
<ENCODING='encoding-value' >
<
option-list
>
<
host-option-list
>
;
Specifies the current output file for PUT statements.
Product: Base SAS
Document: SAS Companion for OpenVMS on HP Integrity Servers
|
|
FILE
file-specification
<ENCODING='encoding-value'>
<
option-list
>
<
host-option-list
>
;
Specifies the current output file for PUT statements.
Product: Base SAS
Document: SAS Companion for Windows
|
|
FILE
file-specification
<
device-type
>
<
options
>
<
operating-environment-options
>
;
Specifies the current output file for PUT statements.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
FILE PRINT ODS
<=(ODS-suboption(s))>
<
options
>
;
Creates an ODS output object by binding the data component to
the table definition (template). As an option, the FILE Statement lists the
variables to include in the ODS output, and it specifies options that control
the way that the variables are formatted.
Product: Base SAS
Document: SAS Output Delivery System: User's Guide
|
|
FILENAME
fileref
<
device-type
>
`physical-filename'
<ENCODING=encoding-value
>
<
host-options
>
;
FILENAME
fileref
<
device-type
>
(`physical–filename–1'... `physical-filename-n') <ENCODING=encoding-value
>
<
host-options
>
;
FILENAME
fileref | _ALL_ CLEAR;
FILENAME
fileref | _ALL_ LIST;
Associates a SAS fileref with an external file.
Product: Base SAS
Document: SAS Companion for z/OS
|
|
FILENAME
fileref
<
device-type
>
'external-file' <ENCODING='encoding-value'>
<'host-options'>
<LOCKINTERNAL=
AUTO | SHARED>
;
FILENAME
fileref device-type
<'external-file'>
<ENCODING='encoding-value'>
<'host-options'>
<LOCKINTERNAL= AUTO | SHARED>
;
FILENAME
fileref ('pathname-1' ... 'pathname-n') <ENCODING='encoding-value'>
<'host-options'>
<LOCKINTERNAL= AUTO | SHARED>
;
FILENAME
fileref
directory-name
<ENCODING='encoding-value'>
<LOCKINTERNAL= AUTO | SHARED>
;
FILENAME
fileref
<
access-method
>
'external-file' access-information;
FILENAME
fileref CLEAR | _ALL_ CLEAR;
FILENAME
fileref LIST | _ALL_ LIST;
Associates a SAS fileref with an external file or output device;
disassociates a fileref and external file; lists attributes of external files.
Product: Base SAS
Document: SAS Companion for the UNIX Environments
|
|
FILENAME
fileref
<
device-type
>
'external-file' <ENCODING='encoding-value'>
<
host-option-list
>
;
FILENAME
fileref device-type
<'external-file'>
<ENCODING='encoding-value'>
<
host-option-list
>
;
Associates a SAS fileref with an external file or output device.
Product: Base SAS
Document: SAS Companion for OpenVMS on HP Integrity Servers
|
|
FILENAME
fileref
<
device-type
>
`external-file' <ENCODING=`encoding-value'>
<
host-option-list
>
;
FILENAME
fileref device-type
<'external-file'>
<ENCODING=encoding-value
>
<
host-option-list
>
;
FILENAME
fileref
<
device-type
>
(`directory-1'<,…directory-n'>
) <ENCODING=encoding-value
>
<
host-option-list
>
;
Associates a SAS fileref with an external file or a logical file
device.
Product: Base SAS
Document: SAS Companion for Windows
|
|
FILENAME
fileref
<
device-type
>
'external-file' <ENCODING='encoding-value'>
<
options
>
<
operating-environment-options
>
;
FILENAME
fileref
<
device-type
>
<
options
>
<
operating-environment-options
>
;
FILENAME
fileref CLEAR | _ALL_
CLEAR;
FILENAME
fileref LIST | _ALL_
LIST;
Associates a SAS fileref with an external file or an output device,
disassociates a fileref and external file, or lists attributes of external
files.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
FILENAME 'filespec' <
access-method
>
<
operating-environment-options
>
Associates a SAS fileref with an external file.
Product: SAS/CONNECT
Document: SAS/CONNECT User's Guide
|
|
FILENAME
fileref
CATALOG
'catalog' <
catalog-options
>
;
Enables you to reference a SAS catalog as an external file.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
FILENAME
fileref EMAIL <'address' >
<
email-options
>
;
Enables you to send electronic mail programmatically from SAS
using the SMTP (Simple Mail Transfer Protocol) e-mail interface.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
FILENAME
fileref FTP 'external-file' <
ftp-options
>
;
Enables you to access remote files by using the FTP protocol.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
FILENAME
fileref SFTP 'external-file' <
sftp-options
>
;
Enables you to access remote files by using the SFTP protocol.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
FILENAME
fileref SOCKET 'hostname:portno' <
tcpip-options
>
;
FILENAME
fileref SOCKET ':portno' SERVER<
tcpip-options
>
;
Enables you to read from or write to a TCP/IP socket.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
FILENAME
fileref URL 'external-file' <
url-options
>
;
Enables you to access remote files by using the URL access method.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
FILENAME
filref WEBDAV 'external-file' <
webdav-options
>
;
Enables you to access remote files by using the WebDAV protocol.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
FILENAME
fileref CLIPBRD <BUFFER=paste-buffer-name
>
;
Enables you to read text data from and write text data to the
clipboard on the host computer.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
FOOTNOTE
<1...10>
<
text-argument(s)
>
;
Writes up to 10 lines of text at the bottom of the graph.
Product: SAS/GRAPH
Document: SAS/GRAPH Reference
|
|
FOOTNOTE
<
n
>
<`text ' | “text ”>
;
Prints up to ten lines at the bottom of the procedure output.
Product: Base SAS
Document: SAS Companion for z/OS
|
|
FOOTNOTE
<
n
>
<'text'|"text">
;
Writes up to 10 lines of text at the bottom of the procedure or
DATA step output.
Product: Base SAS
Document: SAS Companion for the UNIX Environments
|
|
FOOTNOTE
<
n
>
<'text' | “text”>
;
Prints up to ten lines of text at the bottom of the procedure
output.
Product: Base SAS
Document: SAS Companion for OpenVMS on HP Integrity Servers
|
|
FOOTNOTE
<
n
>
<`text' | “text”>
;
Prints up to ten lines of text at the bottom of the procedure
output.
Product: Base SAS
Document: SAS Companion for Windows
|
|
FOOTNOTE
<
n
>
<
ods-format-options
>
<'text'
| “text” >
;
Writes up to 10 lines of text at the bottom of the procedure or
DATA step output.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
FORMAT
variable-1
<
. . . variable-n
>
<
format
>
<DEFAULT=default-format
>
;
FORMAT
variable-1
<
. . . variable-n
>
format
<DEFAULT=default-format
>
;
FORMAT
variable-1
<
. . . variable-n
>
format
variable-1
<
. . . variable-n
>
format;
Associates formats with variables.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
GO TO
label;
Directs program execution immediately to the statement label that
is specified and, if followed by a RETURN statement, returns execution to
the beginning of the DATA step.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
GOPTIONS
<
options-list
>
;
Temporarily sets default values for many graphics attributes and
device parameters used by SAS/GRAPH procedures.
Product: SAS/GRAPH
Document: SAS/GRAPH Reference
|
|
%INCLUDE
source-1
<
. . . source-n
>
</<SOURCE2>
<S2=length
>
<S2V=column
>
<JCLEXCL>
<ENCODING=`encoding-value'
>
<
host-options
>
>
;
Includes SAS statements and data lines.
Product: Base SAS
Document: SAS Companion for z/OS
|
|
%INCLUDE
source-1
<
...source-n
>
</<SOURCE2>
<S2=length
>
<ENCODING='encoding-value'>
<
host-options
>
>
;
Brings a SAS programming statement, data lines, or both into a
current SAS program.
Product: Base SAS
Document: SAS Companion for the UNIX Environments
|
|
%INCLUDE
source-1
< . . . source-n
>
</<ENCODING='encoding-value'>
<
host-options
>
>
;
Includes SAS statements and data lines.
Product: Base SAS
Document: SAS Companion for OpenVMS on HP Integrity Servers
|
|
%INCLUDE
source
</<ENCODING=`encoding-value'>
<
host-options
>
>
;
Includes and executes SAS statements and data lines.
Product: Base SAS
Document: SAS Companion for Windows
|
|
%INCLUDE
source(s)
</<SOURCE2>
<S2=length
>
<
operating-environment-options
>
>
;
Brings a SAS programming statement, data lines, or both, into
a current SAS program.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
IF
expression;
Continues processing only those observations that meet the condition
of the specified expression.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
IF
expression
THEN
statement; <
statement;>
Executes a SAS statement for observations that meet specific conditions.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
INFILE
file-specification
<
type
>
<ENCODING=encoding-value
>
<
options
>
;
INFILE DATALINES | CARDS <
options
>
;
Specifies an external file to read with an INPUT statement.
Product: Base SAS
Document: SAS Companion for z/OS
|
|
INFILE
file-specification
<ENCODING='encoding-value'>
<
options
>
<
host-options
>
;
Identifies an external file to read with an INPUT statement.
Product: Base SAS
Document: SAS Companion for the UNIX Environments
|
|
INFILE
file-specification
<ENCODING='encoding-value'>
<
option-list
>
<
host-option-list
>
;
Specifies an external file to read with an INPUT statement.
Product: Base SAS
Document: SAS Companion for OpenVMS on HP Integrity Servers
|
|
INFILE
file-specification
<ENCODING='encoding-value'>
<
options
>
<
host-options
>
;
Specifies an external file to read with an INPUT statement.
Product: Base SAS
Document: SAS Companion for Windows
|
|
INFILE
file-specification
<
device-type
>
<
options
>
<
operating-environment-options
>
;
INFILE
DBMS-specifications;
Specifies an external file to read with an INPUT statement.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
INFORMAT
variable-1
<
…variable-n
>
<
informat
>
;
INFORMAT
<
variable-1
>
<
… variable-n
>
<DEFAULT=default-informat
>
;
INFORMAT
variable-1
<
…variable-n
>
informat
<DEFAULT=default-informat
>
;
Associates informats with variables.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
INPUT
<
specification(s)
>
<@|@@>
;
Describes the arrangement of values in the input data record and
assigns input values to the corresponding SAS variables.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
INPUT
variable
<$>
start-column
<– end-column
>
<.decimals
>
<@ | @@>
;
Reads input values from specified columns and assigns them to
the corresponding SAS variables.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
INPUT
<
pointer-control
>
variable informat.
<@ | @@>
;
INPUT
<
pointer-control
>
(variable-list) (informat-list) <@ | @@>
;
INPUT
<
pointer-control
>
(variable-list) (<
n*>
informat.) <@ | @@>
;
Reads input values with specified informats and assigns them to
the corresponding SAS variables.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
INPUT
<
pointer-control
>
variable
<$>
<&>
<@ | @@>
;
INPUT
<
pointer-control
>
variable
<:|&|~>
<
informat.
>
<@ | @@>
;
Scans the input data record for input values and assigns them
to the corresponding SAS variables.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
INPUT
<
pointer-control
>
variable= <$>
<@ |
@@>
;
INPUT
<
pointer-control
>
variable= informat.
<@ | @@>
;
INPUT
variable= <$>
start-column
<-end-column
>
<.decimals
>
<@ | @@>
;
Reads data values that appear after a variable name that is followed
by an equal sign and assigns them to corresponding SAS variables.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
KEEP
variable-list;
Specifies the variables to include in output SAS data
sets.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
KILLTASK _ALL_ |task1...taskn ;
For asynchronous tasks, forces one or more active tasks or server
sessions to terminate immediately.
Product: SAS/CONNECT
Document: SAS/CONNECT User's Guide
|
|
%LIST
<
n
<:m | − m
>
>
;
Displays lines that are entered in the current session.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
LABEL
variable-1=label-1 . . . <
variable-n=label-n
>
;
LABEL
variable-1=' ' … <
variable-n=' '
>
;
Assigns descriptive labels to variables.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
LEAVE;
Stops processing the current loop and resumes with the next statement
in the sequence.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
LEGEND
<1...99>
<
options
>
;
Controls the location and appearance of legends on two-dimensional
plots, contour plots, maps, and charts.
Product: SAS/GRAPH
Document: SAS/GRAPH Reference
|
|
LENGTH
variables
<$>
length . . . <DEFAULT=n
>
;
Specifies how many bytes SAS uses to store a variable's value.
Product: Base SAS
Document: SAS Companion for z/OS
|
|
LENGTH
<
variable-1
>
<
...variable-n
>
<$>
length
<DEFAULT=n
>
Specifies the number of bytes for storing variables.
Product: Base SAS
Document: SAS Companion for the UNIX Environments
|
|
LENGTH
<
variable-specification-1
>
<. . .variable-specification-n
>
<DEFAULT=n
>
;
Specifies how many bytes SAS uses to store a variable's value.
Product: Base SAS
Document: SAS Companion for OpenVMS on HP Integrity Servers
|
|
LENGTH
<
variable-1
>
<…variable-n
>
<$>
<
length
>
<DEFAULT=n
>
;
Specifies the number of bytes SAS uses to store numeric variables.
Product: Base SAS
Document: SAS Companion for Windows
|
|
LENGTH
variable-specification(s)
<DEFAULT=n
>
;
Specifies the number of bytes for storing variables.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
LIBNAME
libref
<
engine
>
< 'SAS-library'>
SERVER=server-ID
<
options
>
<
engine/operating environment-options
>
;
Associates a libref (a shortcut name) with a SAS library that
is located on the server for client access.
Product: SAS/CONNECT
Document: SAS/CONNECT User's Guide
|
|
LIBNAME
libref
<
engine
>
<'<
file-system-prefix
>
physical-filename'>
<
engine/host-options
>
;
LIBNAME
libref
<
engine
>
<(library-specification, ..., library-specification-n)>
<
engine/host-options
>
;
LIBNAME
libref | _ALL_ CLEAR;
LIBNAME
libref | _ALL_ LIST;
Assigns a SAS libref and an engine to a SAS library.
Product: Base SAS
Document: SAS Companion for z/OS
|
|
LIBNAME
libref
<
engine
>
'SAS-library' <
options
>
<
engine/host-options
>
;
LIBNAME
libref
<
engine
>
('library-1'<,...'library-n'>
) <
options
>
;
LIBNAME
libref ('library-1'|libref-1,...,'library-n'|libref-n);
LIBNAME
libref CLEAR | _ALL _ CLEAR;
LIBNAME
libref LIST | _ALL _ LIST;
Associates or disassociates a SAS library with a libref (a shortcut
name); clears one or all librefs; lists the characteristics of a SAS library;
concatenates SAS libraries; implicitly concatenates SAS catalogs; turns off
file locking.
Product: Base SAS
Document: SAS Companion for the UNIX Environments
|
|
LIBNAME
libref
<
engine
>
'SAS-library'
<
portable-options
>
<
engine/host-options
>
;
LIBNAME
libref | _ALL_
CLEAR;
LIBNAME
libref | _ALL_
LIST;
Associates a libref with a SAS library and lists file attributes
for a SAS library.
Product: Base SAS
Document: SAS Companion for OpenVMS on HP Integrity Servers
|
|
LIBNAME
libref
<
engine
>
`(`SAS-data-library-1' <,…'SAS-data-library-n'>
) ' <MEMLIB>
, <FILELOCKWAIT>
;
LIBNAME
libref _ALL_ LIST;
LIBNAME
libref _ALL_ CLEAR;
Associates a libref with a SAS library and lists file attributes
for a SAS library.
Product: Base SAS
Document: SAS Companion for Windows
|
|
LIBNAME
libref
<
engine
>
'SAS-library' <
options
>
<
engine/host-options
>
;
LIBNAME
libref CLEAR | _ALL_
CLEAR;
LIBNAME
libref LIST | _ALL_
LIST;
LIBNAME
libref
<
engine
>
(library-specification-1
<
. . . library-specification-n
>
) <
options
>
;
Associates or disassociates a SAS library with a libref (a shortcut
name), clears one or all librefs, lists the characteristics of a SAS library,
concatenates SAS libraries, or concatenates SAS catalogs.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
LIBNAME
libref
engine-name
<
SAS/ACCESS-connection-options
>
<
SAS/ACCESS-LIBNAME-options
>
;
LIBNAME
libref CLEAR|_ALL_
CLEAR;
LIBNAME
libref LIST|_ALL_
LIST;
Associates a SAS libref with a DBMS database, schema, server,
or a group of tables and views.
Product: SAS/ACCESS
Document: SAS/ACCESS for Relational Databases: Reference
|
|
LIBNAME libref SPDE `full-primary-path'
<options> ;
Some of the LIBNAME options are also data set options. As in the
default Base SAS engine, data set options take precedence over corresponding
LIBNAME options if both options are set.
Product: Base SAS
Document: SAS Scalable Performance Data Engine: Reference
|
|
LIBNAME
libref
<
engine
>
'SAS-library' <
options
>
WEBDAV USER="user-ID"
PASSWORD="user-password" WEBDAV options;
LIBNAME
libref CLEAR | _ALL_ CLEAR;
LIBNAME
libref LIST | _ALL_ LIST;
Associates a libref with a SAS library and enables access to a
WebDAV (Web-based Distributed Authoring And Versioning) server.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
LIBNAME
libref
XML
<'SAS-library | XML-document-path' >
<
basic-options
>
<
NLS-options
>
<
advanced-options
>
;
For the XML engine, the LIBNAME statement associates a SAS libref
with either a SAS library that stores XML documents or a specific XML document
in order to import or export an XML document.
Product: Base SAS
Document: SAS XML LIBNAME Engine: User's Guide
|
|
LIBNAME
libref
SASEDOC 'path' <sasedoc-engine-option>
<
options
>
;
Uses the SASEDOC engine to associate a SAS libref (library reference)
with one or more ODS output objects that are stored in an ODS document.
Product: Base SAS
Document: SAS Output Delivery System: User's Guide
|
|
LIBNAME
libref SASESOCK “port-specifier ” <TIMEOUT=time-in-seconds
>
;
Associates a libref with a TCP/IP pipe (instead of a physical
disk device) for processing input and output. The SASESOCK engine is required
for SAS/CONNECT applications that implement MP CONNECT with piping.
Product: SAS/CONNECT
Document: SAS/CONNECT User's Guide
|
|
LINK
label;
Directs program execution immediately to the statement label that
is specified and, if followed by a RETURN statement, returns execution to
the statement that follows the LINK statement.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
LIST;
Writes to the SAS log the input data record for the observation
that is being processed.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
LISTTASK
<_ALL_|task
>
;
Lists all active connections or tasks and identifies the execution
status of each connection or task.
Product: SAS/CONNECT
Document: SAS/CONNECT User's Guide
|
|
LOCK
libref
<.member-name
<.member-type | .entry-name.entry-type
>
>
<LIST | QUERY | SHOW | CLEAR>
;
Acquires and releases an exclusive lock on an existing SAS file.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
LOSTCARD;
Resynchronizes the input data when SAS encounters a missing or
invalid record in data that has multiple records per observation.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
label: statement;
Identifies a statement that is referred to by another statement.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
MERGE
SAS-data-set-1
<(data-set-options)>
SAS-data-set-2
<(data-set-options) >
<…SAS-data-set-n
<(data-set-options)>
>
<END=variable
>
;
Joins observations from two or more SAS data sets into a single
observation.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
MISSING
character(s);
Assigns characters in your input data to represent special missing
values for numeric data.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
MODIFY
master-data-set
<(data-set-option(s))>
transaction-data-set
<(data-set-option(s))>
<NOBS=variable
>
<END=variable
>
<UPDATEMODE=MISSINGCHECK|NOMISSINGCHECK>
;BY
by-variable;
MODIFY
master-data-set
<(data-set-option(s))>
KEY=index
</ UNIQUE>
<NOBS=variable
>
<END=variable
>
;
MODIFY
master-data-set
<(data-set-option(s))>
<NOBS=variable
>
POINT=variable;
MODIFY
master-data-set
<(data-set-option(s))>
<NOBS=variable
>
<END=variable
>
;
Replaces, deletes, and appends observations in an existing SAS
data set in place but does not create an additional copy.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
NOTE
<
text-arguments(s)
>
;
Writes lines of text in the output.
Product: SAS/GRAPH
Document: SAS/GRAPH Reference
|
|
;
or
;;;;
Signals the end of data lines or acts as a placeholder.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
ODS CHTML
<(<ID=>
identifier)>
<
action
>
;
ODS CHTML
<(<ID=>
identifier)>
<
option(s)
>
;
Opens, manages, or closes the CHTML destination, which produces
a compact, minimal HTML that does not use style information.
Product: Base SAS
Document: SAS Output Delivery System: User's Guide
|
|
ODS CSVALL
< (<ID=>
identifier)>
<
action
>
;
ODS CSVALL
<(<ID=>
identifier)>
<
option(s)
>
;
Opens, manages, or closes the CSVALL destination, which produces
HTML output containing columns of data values that are separated by commas,
and produces tabular output with titles, notes, and bylines.
Product: Base SAS
Document: SAS Output Delivery System: User's Guide
|
|
ODS DECIMAL_ALIGN | NO_DECIMAL_ALIGN;
Controls the justification of numeric columns when no justification
is specified.
Product: Base SAS
Document: SAS Output Delivery System: User's Guide
|
|
ODS DOCBOOK
< (<ID=>
identifier)>
<
action
>
;
ODS DOCBOOK
<(<ID=>
identifier)>
<
option(s)
>
;
Opens, manages, or closes the DOCBOOK destination, which produces
XML output that conforms to the DocBook DTD by OASIS.
Product: Base SAS
Document: SAS Output Delivery System: User's Guide
|
|
ODS DOCUMENT
action;
ODS DOCUMENT
<
<
libref.
>
member-name
<(access–option)>
>
<=(<=path
<(access-option)>
<=“label”>
>
)>
<=permanent-catalog | _NULL_>
;
Opens, manages, or closes the DOCUMENT destination, which produces
a hierarchy of output objects that enables you to produce multiple ODS output
formats without rerunning a PROC or DATA step.
Product: Base SAS
Document: SAS Output Delivery System: User's Guide
|
|
ODS ESCAPECHAR= 'escape-character';
Defines a representative character to be used in output strings.
Product: Base SAS
Document: SAS Output Delivery System: User's Guide
|
|
ODS
<
ODS-destination
>
EXCLUDE
exclusion(s)| ALL | NONE;
Specifies output objects to exclude from ODS destinations.
Product: Base SAS
Document: SAS Output Delivery System: User's Guide
|
|
ODS GRAPHICS
<OFF | ON>
</ option(s)
>
;
Enables or disables ODS graphics processing and sets graphics
environment options. This statement affects ODS template-based graphics only.
The ODS GRAPHICS statement does not affect device-based graphics.
Product: Base SAS
Document: SAS Output Delivery System: User's Guide
|
|
ODS HTML
<(<ID=>
identifier)>
<
action
>
;
ODS HTML
<(<ID=>
identifier)>
<
option(s)
>
;
Opens or closes the HTML destination.
Product: SAS/GRAPH
Document: SAS/GRAPH Reference
|
|
ODS HTML
<(<ID=>
identifier)>
<
action
>
;
ODS HTML
<(<ID=>
identifier)>
<
option(s)
>
;
Opens, manages, or closes the HTML destination, which produces
HTML 4.0 output that contains embedded style sheets.
Product: Base SAS
Document: SAS Output Delivery System: User's Guide
|
|
ODS HTML3
<(<ID=>
identifier)>
<
action
>
;
ODS HTML3
<(<ID=>
identifier)>
<
option(s)
>
;
Opens, manages, or closes the HTML3 destination, which produces
HTML 3.2 formatted output.
Product: Base SAS
Document: SAS Output Delivery System: User's Guide
|
|
ODS HTMLCSS
< (<ID=>
identifier)>
<
action
>
;
ODS HTMLCSS
< (<ID=>
identifier)>
<
option(s)
>
;
Opens, manages, or closes the HTMLCSS destination, which produces
HTML output with cascading style sheets.
Product: Base SAS
Document: SAS Output Delivery System: User's Guide
|
|
ODS IMODE
< (<ID=>
identifier)>
<
action
>
;
ODS IMODE (<ID=>
identifier) <
option(s)
>
;
Opens, manages, or closes the IMODE destination, which produces
HTML output as a column of output, separated by lines.
Product: Base SAS
Document: SAS Output Delivery System: User's Guide
|
|
ODS LISTING
<
action
>
;
ODS LISTING
<DATAPANEL=number | DATA | PAGE >
<FILE=file-specification
>
;
Opens, manages, or closes the LISTING destination.
Product: Base SAS
Document: SAS Output Delivery System: User's Guide
|
|
ODS MARKUP
<(<ID=>
identifier)>
<
action
>
;
ODS MARKUP
<(<ID=>
identifier)>
<
option(s)
>
<TAGSET=tagset-name
>
<
action
>
;
Opens, manages, or closes the MARKUP destination, which produces
SAS output that is formatted using one of many different markup languages.
Product: Base SAS
Document: SAS Output Delivery System: User's Guide
|
|
ODS OUTPUT
action;
ODS OUTPUT
data-set-definition(s);
Produces a SAS data set from an output object and manages the
selection and exclusion lists for the OUTPUT destination.
Product: Base SAS
Document: SAS Output Delivery System: User's Guide
|
|
ODS PACKAGE (<name>
) OPEN
<
options
>
;
ODS PACKAGE (<name>
) ADD FILE=”file-specification” | DATA=member-specification MIMETYPE=''string” <PATH=”path-specification”>
<
options
>
;
ODS PACKAGE (<name>
) PUBLISH
transport PROPERTIES(transport-property-1=”value-1” … transport-property-n=”value-n”);
ODS PACKAGE (<name>
) CLOSE
<CLEAR>
;
The ODS PACKAGE statement opens, adds to, publishes, or closes
one SAS Output Delivery System (ODS) package object.
Product: Base SAS
Document: SAS Output Delivery System: User's Guide
|
|
PATH
<(APPEND) | (PREPEND) | (REMOVE) >
location(s);
PATH
path-argument;
Specifies locations to write to or read from when creating or
using PROC TEMPLATE definitions and the order in which to search for them.
Product: Base SAS
Document: SAS Output Delivery System: User's Guide
|
|
ODS PCL
<(<ID=>
identifier)>
<
action
>
;
ODS PCL
<(<ID=>
identifier)>
<
option(s)
>
;
Opens, manages, or closes the PCL destination, which produces
printable output for PCL (HP LaserJet) files.
Product: Base SAS
Document: SAS Output Delivery System: User's Guide
|
|
ODS PDF
<(<ID=>
identifier)>
<
action
>
;
ODS PDF
<(<ID=>
identifier)>
<
option(s)
>
;
Opens, manages, or closes the PDF destination, which produces
PDF output, a form of output that is read by Adobe Acrobat and other applications.
Product: Base SAS
Document: SAS Output Delivery System: User's Guide
|
|
ODS PHTML
action;
ODS PHTML
<
option(s)
>
;
Opens, manages, or closes the PHTML destination, which produces
simple HTML output that uses twelve style elements and no class attributes
for the presentation. Class attributes are used only for the justification.
Product: Base SAS
Document: SAS Output Delivery System: User's Guide
|
|
ODS PRINTER
<(<ID=>
identifier)>
<
action
>
;
ODS PRINTER
<(<ID=>
identifier)>
<
option(s)
>
;
Opens, manages, or closes the PRINTER destination, which produces
printable output.
Product: Base SAS
Document: SAS Output Delivery System: User's Guide
|
|
ODS PROCLABEL 'string';
Enables you to change a procedure label.
Product: Base SAS
Document: SAS Output Delivery System: User's Guide
|
|
ODS PROCTITLE | NOPROCTITLE;
Determines whether to write the title that identifies the procedure
that produces the results in the output.
Product: Base SAS
Document: SAS Output Delivery System: User's Guide
|
|
ODS PS
<(<ID=>
identifier)>
<
action
>
;
ODS PS
<(<ID=>
identifier)>
<
option(s)
>
;
Opens, manages, or closes the PS destination, which produces PostScript
(PS) output.
Product: Base SAS
Document: SAS Output Delivery System: User's Guide
|
|
ODS RESULTS ON | OFF;
Tracks ODS output in the Results window.
Product: Base SAS
Document: SAS Output Delivery System: User's Guide
|
|
ODS RTF
<(<ID=>
identifier)>
action;
ODS RTF
<(<ID=>
identifier)>
<
option(s)
>
;
Opens, manages, or closes the RTF destination, which produces
output written in Rich Text Format for use with Microsoft Word 2002.
Product: Base SAS
Document: SAS Output Delivery System: User's Guide
|
|
ODS
<
ODS-destination
>
SELECT
selection(s) | ALL | NONE;
Specifies output objects for ODS destinations.
Product: Base SAS
Document: SAS Output Delivery System: User's Guide
|
|
ODS
<
ODS-destination
>
SHOW;
Writes the specified selection or exclusion list to the SAS log.
Product: Base SAS
Document: SAS Output Delivery System: User's Guide
|
|
ODS TAGSETS.RTF
<(<ID=>
identifier)>
action;
ODS TAGSETS.RTF
<(<ID=>
identifier)>
<
option(s)
>
;
Opens, manages, or closes the RTF destination, which produces
measured output that is written in Rich Text Format for use with Microsoft
Word 2002.
Product: Base SAS
Document: SAS Output Delivery System: User's Guide
|
|
ODS TEXT= 'text-string'
Inserts text into your ODS output.
Product: Base SAS
Document: SAS Output Delivery System: User's Guide
|
|
ODS TRACE ON</option(s)
>
;
ODS TRACE OFF;
Writes to the SAS log a record of each output object that is
created, or suppresses the writing of this record.
Product: Base SAS
Document: SAS Output Delivery System: User's Guide
|
|
ODS
directory.tagset-name
file-specification
<
option(s)
>
;
ODS
directory.tagset-name
file-specification
action;
Opens, manages, or closes the specified tagset destination.
Product: Base SAS
Document: SAS Output Delivery System: User's Guide
|
|
ODS USEGOPT | NOUSEGOPT;
Determines whether ODS uses traditional SAS/GRAPH option settings.
Product: Base SAS
Document: SAS Output Delivery System: User's Guide
|
|
ODS VERIFY
<ON | OFF | ERROR | WARN>
;
Prints or suppresses a message indicating that a style definition
or a table definition being used is not supplied by SAS.
Product: Base SAS
Document: SAS Output Delivery System: User's Guide
|
|
ODS WML
< (<ID=>
identifier)>
action;
ODS WML
< (<ID=>
identifier)>
<
option(s)
>
;
Opens, manages, or closes the WML destination, which uses the
Wireless Application Protocol (WAP) to produce a Wireless Markup Language
(WML) DTD with a simple list for a table of contents.
Product: Base SAS
Document: SAS Output Delivery System: User's Guide
|
|
ODS _ALL_ CLOSE;
Closes all open ODS output destinations.
Product: Base SAS
Document: SAS Output Delivery System: User's Guide
|
|
OPTIONS
options-1
<. . . option-n
>
;
Changes the value of one or more SAS system options.
Product: Base SAS
Document: SAS Companion for z/OS
|
|
OPTIONS
option(s);
Specifies or changes the value of one or more SAS system options.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
OUTPUT
<
data-set-name(s)
>
;
Writes the current observation to a SAS data set.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
PAGE;
Skips to a new page in the SAS log.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
PATTERN
<1...255>
<COLOR=pattern-color |_style_
>
<REPEAT=number-of-times
>
<VALUE=bar/block-pattern | map/plot-pattern | pie/star-pattern
>
;
Defines the characteristics of patterns used in graphs.
Product: SAS/GRAPH
Document: SAS/GRAPH Reference
|
|
PUT
<
specification(s)
>
<_ODS_>
<@|@@>
;
Writes lines to the SAS log, to the SAS output window, or to an
external location that is specified in the most recent FILE statement.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
PUT
<
specification
>
<_ODS_>
<@|@@>
;
Writes data values to a special buffer from which they can be
written to the data component and then formatted by ODS.
Product: Base SAS
Document: SAS Output Delivery System: User's Guide
|
|
PUT
variable
start-column
<— end-column
>
<.decimal–places
>
<@ | @@>
;
Writes variable values in the specified columns in the output
line.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
PUT
<
pointer-control
>
variable format.
<@ | @@>
;
PUT
<
pointer-control
>
(variable-list) (format-list) <@ | @@>
;
Writes variable values with the specified format in the output
line.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
PUT
<
pointer-control
>
variable
<@ | @@>
;
PUT
<
pointer-control
>
<
n*>
'character-string'
<@ | @@>
;
PUT
<
pointer-control
>
variable
<: | ~>
format.
<@ | @@>
;
Writes variable values and the specified character strings in
the output line.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
PUT
<
pointer-control
>
variable= <
format.
>
<@ | @@>
;
PUT
variable= start-column
<— end-column
>
<
.decimal-places
>
<@ | @@>
;
Writes variable values after the variable name and an equal sign.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
PUTLOG 'message';
Writes a message to the SAS log.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
%RUN;
Ends source statements following a %INCLUDE * statement.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
RDISPLAY
<
<CONNECTREMOTE=>
server-ID
>
;
Creates a Log window to display the lines from the log and an
Output window to list the output generated from the execution of the statements
within an asynchronous RSUBMIT block.
Product: SAS/CONNECT
Document: SAS/CONNECT User's Guide
|
|
REDIRECT INPUT | OUTPUT old-name-1 = new-name-1
<. . . old-name-n = new-name-n
>
;
Points to different input or output SAS data sets when you execute
a stored program.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
REMOVE
<
data-set-name(s)
>
;
Deletes an observation from a SAS data set.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
RENAME
old-name-1=new-name-1
. . . <
old-name-n=new-name-n
>
;
Specifies new names for variables in output SAS data sets.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
REPLACE
<
data-set-name-1
>
<. . .data-set-name-n
>
;
Replaces an observation in the same location.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
RETAIN
<
element-list(s)
<
initial-value(s) | (initial-value-1) | (initial-value-list-1) >
< . . . element-list-n
<
initial-value-n | (initial-value-n ) | (initial-value-list-n)>
>
>
;
Causes a variable that is created by an INPUT or assignment statement
to retain its value from one iteration of the DATA step to the next.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
RETURN;
Stops executing statements at the current point in the DATA step
and returns to a predetermined point in the step.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
RGET
<
<CONNECTREMOTE=>
server-ID
>
;
Retrieves the log and output that are created by an asynchronous
RSUBMIT and merges them into the Log and Output windows of the client session.
Product: SAS/CONNECT
Document: SAS/CONNECT User's Guide
|
|
CONNECT TO
dbms-name
<AS alias
>
<(dbms-argument-1=value ... <
dbms-argument-n=value
>
)>
;
SELECT . . . FROM CONNECTION TO
dbms-name
| alias (dbms-query);
EXECUTE (SQL-statement) BY
dbms-name | alias;
DISCONNECT FROM
dbms-name | alias;
CONNECT TO REMOTE
<AS alias
>
(SERVER=serverid
<SAPW=server-access-password
>
<DBMS=dbms-name
>
<PT2DBPW=passthrough-to-DBMS-password
>
<DBMSARG=(dbms-argument-1=value ... <
dbms-argument-n=value
>
)>
);
SELECT . . . FROM CONNECTION TO REMOTE | alias (dbms-query);
EXECUTE (SQL-statement) BY
REMOTE | alias;
DISCONNECT FROM REMOTE | alias;
Statements used for Remote SQL Pass-Through.
Product: SAS/CONNECT
Document: SAS/CONNECT User's Guide
|
|
RSUBMIT
<
options
>
;
ENDRSUBMIT
<CANCEL>
;
RDISPLAY
<CONNECTREMOTE=>
<
server-ID;>
RGET
<CONNECTREMOTE=>
<
server-ID
>
;
%SYSRPUT
macro-variable=value;
%SYSLPUT
macro-variable=value
</REMOTE=server-ID
>
;
WAITFOR
<_ANY_ | _ALL_>
task1...taskn
<TIMEOUT=seconds
>
;
LISTTASK
<_ALL_ | task
>
;
KILLTASK
<_ALL_ | task1...taskn
>
;
Marks the beginning of a block of statements that a client session
submits to a server session for execution.
Product: SAS/CONNECT
Document: SAS/CONNECT User's Guide
|
|
RUN
<CANCEL>
;
Executes the previously entered SAS statements.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
%SYSLPUT
macro-variable=value
</REMOTE=server-ID
>
;
Creates a macro variable in the server session.
Product: SAS/CONNECT
Document: SAS/CONNECT User's Guide
|
|
%SYSRPUT
macro-variable=value;
Assigns a value from the server session to a macro variable in
the client session.
Product: SAS/CONNECT
Document: SAS/CONNECT User's Guide
|
|
SASFILE
<
libref.>
member-name
<.member-type
>
<(password-option(s))>
OPEN | LOAD | CLOSE ;
Opens a SAS data set and allocates enough buffers to hold the
entire file in memory.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
SELECT
<(select-expression)>
;
WHEN-1 (when-expression-1
<..., when-expression-n
>
) statement;
<... -n (when-expression-1
<..., when-expression-n
>
) statement;>
<
statement;>
END;
Executes one of several statements or groups of statements.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
SET
<
SAS-data-set(s)
<(data-set-options(s) )>
>
<
options
>
;
Reads an observation from one or more SAS data sets.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
SIGNOFF
<
options
>
;
Ends the connection between a client session and a server session.
Product: SAS/CONNECT
Document: SAS/CONNECT User's Guide
|
|
SIGNON
<
options
>
Initiates a connection between a client session and a server session.
Product: SAS/CONNECT
Document: SAS/CONNECT User's Guide
|
|
SKIP
<
n
>
;
Creates a blank line in the SAS log.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
STOP;
Stops execution of the current DATA step.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
SYMBOL
<1...255>
<COLOR=symbol-color|_style_
>
<MODE=EXCLUDE | INCLUDE>
<REPEAT=number-of-times
>
<STEP=distance
<
units
>
>
<
appearance-option(s)
>
<
interpolation-option
>
<SINGULAR=n
>
;
Defines the characteristics of symbols that display the data plotted
by a PLOT statement used by PROC GBARLINE, PROC GCONTOUR, and PROC GPLOT.
Product: SAS/GRAPH
Document: SAS/GRAPH Reference
|
|
SYSECHO
<"text">
;
Fires a global statement complete event and passes
a text string back to the IOM client.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
SYSTASK LIST
<_ALL_ | taskname
>
<STATE>
;
Lists asynchronous tasks.
Product: Base SAS
Document: SAS Companion for z/OS
|
|
SYSTASK COMMAND “operating-environment-command” <WAIT | NOWAIT>
<TASKNAME=taskname
>
<MNAME=name-variable
>
<STATUS=status-variable
>
<SHELL<=“shell-command”>
>
<CLEANUP>
;
SYSTASK LIST
<_ALL_ | taskname
>
<STATE>
<STATVAR>
;
SYSTASK KILL
taskname
<
taskname...>
;
Executes asynchronous tasks.
Product: Base SAS
Document: SAS Companion for the UNIX Environments
|
|
SYSTASK COMMAND “operating system command” <WAIT|NOWAIT>
<TASKNAME=taskname
>
<MNAME=name-variable
>
<STATUS=status-variable
>
SYSTASK LIST
<_ALL_ | taskname
>
<STATE>
<STATVAR>
;
SYSTASK KILL
taskname
<
taskname...>
;
Executes, lists, or kills asynchronous tasks.
Product: Base SAS
Document: SAS Companion for OpenVMS on HP Integrity Servers
|
|
SYSTASK COMMAND “operating system command”<WAIT | NOWAIT>
<TASKNAME=taskname
>
<MNAME=name-var
>
<STATUS=stat-var
>
<SHELL<=“shell-command”>
>
;
SYSTASK LIST <_ALL_ | taskname
>
<STATE>
<STATVAR>
;
SYSTASK KILL taskname
<
taskname...>
;
Executes, lists, or terminates asynchronous tasks.
Product: Base SAS
Document: SAS Companion for Windows
|
|
variable+expression;
Adds the result of an expression to an accumulator variable.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
TITLE
<
n
>
<`text ' | “text ”>
;
Specifies title lines for SAS output.
Product: Base SAS
Document: SAS Companion for z/OS
|
|
TITLE
<
n
>
<'text' | "text">
;
Specifies title lines for SAS output.
Product: Base SAS
Document: SAS Companion for the UNIX Environments
|
|
TITLE
<
n
>
<'text' | “text”>
;
Specifies title lines for SAS output.
Product: Base SAS
Document: SAS Companion for OpenVMS on HP Integrity Servers
|
|
TITLE
<
n
>
<`text' | “text”>
;
Specifies title lines for SAS output.
Product: Base SAS
Document: SAS Companion for Windows
|
|
TITLE
<
n
>
<
ods-format-options
>
<'text'
| “text”>
;
Specifies title lines for SAS output.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
TITLE
<1...10>
<
text-argument(s)
>
;
FOOTNOTE
<1...10>
<
text-argument(s)
>
;
NOTE
<
text-arguments(s)
>
;
Control the content, appearance, and placement of text.
Product: SAS/GRAPH
Document: SAS/GRAPH Reference
|
|
TSO
<
command
>
;
Issues a TSO command or invokes a CLIST or a REXX exec during
a SAS session.
Product: Base SAS
Document: SAS Companion for z/OS
|
|
UPDATE
master-data-set
<(data-set-options)>
transaction-data-set
<(data-set-options)>
<END=variable
>
<UPDATEMODE= MISSINGCHECK|NOMISSINGCHECK>
;
BY
by-variable;
Updates a master file by applying transactions.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
WAITFOR
<_ANY_|_ALL_>
task ... taskn
<TIMEOUT=seconds
>
;
Causes the client session to wait for the completion of one or
more tasks (asynchronous RSUBMIT statements) that are in progress.
Product: SAS/CONNECT
Document: SAS/CONNECT User's Guide
|
|
WAITFOR
<_ANY_ | _ALL_>
taskname1
<
taskname2
...tasknameX
>
<TIMEOUT=seconds
>
;
Suspends execution of the current SAS session until the specified
tasks finish executing.
Product: Base SAS
Document: SAS Companion for z/OS
|
|
WAITFOR
<_ANY | _ALL_>
taskname
<
taskname...>
<TIMEOUT=seconds
>
;
Suspends execution of the current SAS session until the specified
tasks finish executing.
Product: Base SAS
Document: SAS Companion for the UNIX Environments
|
|
WAITFOR
<_ANY | _ALL_>
taskname
<
taskname...>
<TIMEOUT=seconds
>
;
Suspends execution of the current SAS session until the specified
tasks finish executing.
Product: Base SAS
Document: SAS Companion for OpenVMS on HP Integrity Servers
|
|
WAITFOR<_ANY_ | _ALL_>
taskname
<
taskname...>
<TIMEOUT=seconds
>
;
Suspends execution of the current SAS session until the specified
tasks finish executing.
Product: Base SAS
Document: SAS Companion for Windows
|
|
WHERE
where-expression-1
<
logical-operator
where-expression-n
>
;
Selects observations from SAS data sets that meet a particular
condition.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
WINDOW
window
<
window-options
>
field-definition(s);
WINDOW
window
<
window-options
>
group-definition(s);
Creates customized windows for your applications.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|
|
X
<
command
>
;
X XEQ: pgmname <
parms
>
;
X AEQ: pgmname <
parms
>
;
X WEQ: pgmname <
parms
>
;
X Ann: pgmname <
parms
>
;
X Wnn: pgmname <
parms
>
;
Issues an operating environment command during a SAS session.
Product: Base SAS
Document: SAS Companion for z/OS
|
|
X
<'operating system command'>
;
Issues an operating environment command from within a SAS session.
Product: Base SAS
Document: SAS Companion for the UNIX Environments
|
|
X
<'DCL-command'>
;
Issues an operating environment command from within a SAS session.
Product: Base SAS
Document: SAS Companion for OpenVMS on HP Integrity Servers
|
|
X
<'command'>
;
Runs an operating system command or a Windows application from
within a SAS session.
Product: Base SAS
Document: SAS Companion for Windows
|
|
X
<'operating-environment-command'>
;
Issues an operating-environment command from within a SAS session.
Product: Base SAS
Document: SAS Language Reference: Dictionary
|