As the first step in the decommissioning of sasCommunity.org the site has been converted to read-only mode.


Here are some tips for How to share your SAS knowledge with your professional network.


Index (Statements)

From sasCommunity
Jump to: navigation, search
An (incomplete) index of SAS Statements.

Statements

Wiki Article title Wiki Category Keyword Use Valid SAS Documents SAS Article title
ABORT statement ABORT Statement ABORT Statement DATA Statement Dictionary ABORT Statement
ARRAY statement ARRAY Statement ARRAY Statement DATA Statement Dictionary ARRAY Statement
Array reference statement Array Reference Statement Statement DATA Statement Dictionary Array Reference Statement
Assignment statement Assignment Statement Statement DATA Statement Dictionary Assignment Statement
ATTRIB statement ATTRIB Statement ATTRIB Statement DATA Statement Dictionary ATTRIB Statement
AXIS statement AXIS Statement AXIS Statement PROC Procedure AXIS Statement
BY statement BY Statement BY Statement DATA PROC Statement Dictionary BY Statement
CALL statement CALL Statement CALL Statement DATA Statement Dictionary CALL Statement
CARDS statement DATALINES Statement CARDS Statement DATA Statement Dictionary CARDS Statement
CARDS4 statement DATALINES4 Statement CARDS4 Statement DATA Statement Dictionary CARDS4 Statement
CATNAME statement CATNAME Statement CATNAME Statement Anywhere Statement Dictionary CATNAME Statement
CHECKPOINT statement CHECKPOINT Statement CHECKPOINT Statement Anywhere Statement Dictionary CHECKPOINT EXECUTE_ALWAYS Statement
CLASS statement CLASS Statement CLASS Statement PROC Procedure CLASS Statement
Comment statement Comment Statement Statement Anywhere Statement Dictionary Comment Statement
CONNECT statement CONNECT Statement CONNECT Statement PROC SQL Procedure CONNECT Statement
CONTINUE statement CONTINUE Statement CONTINUE Statement DO Statement Dictionary CONTINUE Statement
CREATE statement CREATE Statement CREATE SQL statement SQL procedure
DATA statement DATA Statement DATA Statement DATA Statement Dictionary DATA Statement
DATALINES statement DATALINES Statement DATALINES Statement DATA Statement Dictionary DATALINES Statement
DATALINES4 statement DATALINES4 Statement DATALINES4 Statement DATA Statement Dictionary DATALINES4 Statement
DELETE statement DELETE Statement DELETE Statement DATA Statement Dictionary DELETE Statement
DESCRIBE statement DESCRIBE Statement DESCRIBE Statement DATA Statement Dictionary DESCRIBE Statement
DISCONNECT statement DISCONNECT Statement DISCONNECT Statement PROC SQL? Procedure DISCONNECT Statement
DISPLAY statement DISPLAY Statement DISPLAY Statement DATA Statement Dictionary DISPLAY Statement
DM statement DM Statement DM Statement Anywhere Statement Dictionary DM Statement
DO statement DO Statement DO Statement DATA Statement Dictionary DO Statement
  • DO...END group
  • Options:
    • Iterative
    • UNTIL
    • WHILE
DROP statement DROP Statement DROP Statement DATA Statement Dictionary DROP Statement
END statement END Statement END Statement DATA Statement Dictionary END Statement
ENDRSUBMIT statement ENDRSUBMIT Statement ENDRSUBMIT Statement PROC Procedure ENDRSUBMIT
ENDSAS statement ENDSAS Statement ENDSAS Statement Anywhere Statement Dictionary ENDSAS Statement
ERROR statement ERROR Statement ERROR Statement DATA Statement Dictionary ERROR Statement
EXECUTE statement EXECUTE Statement EXECUTE Statement DATA Statement Dictionary EXECUTE Statement
FILE statement FILE Statement FILE Statement DATA Statement Dictionary FILE Statement
FILENAME statement FILENAME Statement FILENAME Statement Anywhere Statement Dictionary FILENAME Statement
  • Access Methods:
    • CATALOG
    • CLIPBOARD
    • EMAIL (SMTP)
    • FTP
    • Hadoop
    • SFTP
    • SOCKET
    • URL
    • WebDAV
FOOTNOTE statement FOOTNOTE Statement FOOTNOTE Statement Anywhere Statement Dictionary FOOTNOTE Statement
FORMAT statement FORMAT Statement FORMAT Statement DATA PROC Statement Dictionary FORMAT Statement
FREQ statement FREQ Statement FREQ Statement PROC Procedure FREQ
GO TO statement GO TO Statement GO TO Statement DATA Statement Dictionary GO TO Statement
See also label: Statement
GOPTIONS statement GOPTIONS Statement GOPTIONS Statement ? ? GOPTIONS
GOTO statement GO TO Statement GOTO Statement DATA Statement Dictionary GO TO Statement
Alias for GO TO statement
ID statement ID Statement ID Statement PROC Procedure ID
IF statement IF Statement IF Statement DATA Statement Dictionary IF Statement
%INC statement %INCLUDE Statement %INC Statement Anywhere Statement Dictionary %INCLUDE Statement
%INCLUDE statement %INCLUDE Statement %INCLUDE Statement Anywhere Statement Dictionary %INCLUDE Statement
INFILE statement INFILE Statement INFILE Statement DATA Statement Dictionary INFILE Statement
INFORMAT statement INFORMAT Statement INFORMAT Statement DATA PROC Statement Dictionary INFORMAT Statement
INPUT statement INPUT Statement INPUT Statement DATA Statement Dictionary INPUT Statement
  • generic (or simple)
  • Column
  • Formatted
  • List
  • Named
KEEP statement KEEP Statement KEEP Statement DATA Statement Dictionary KEEP Statement
LABEL statement LABEL Statement LABEL Statement DATA Statement Dictionary LABEL Statement
LEAVE statement LEAVE Statement LEAVE Statement DO SELECT Statement Dictionary LEAVE Statement
LENGTH statement LENGTH Statement LENGTH Statement DATA Statement Dictionary LENGTH Statement
LIBNAME statement LIBNAME Statement LIBNAME Statement Anywhere Statement Dictionary LIBNAME Statement
  • generic
  • for the JMP Engine
  • for WebDAV Server Access)
LINES statement DATALINES Statement LINES Statement DATA Statement Dictionary See DATALINES Statement
LINES4 statement DATALINES4 Statement LINES4 Statement DATA Statement Dictionary See DATALINES4 Statement
LINK statement LINK Statement LINK Statement DATA Statement Dictionary LINK Statement
See also label: Statement
LIST statement LIST Statement LIST Statement Anywhere Statement Dictionary LIST Statement
%LIST statement %LIST Statement %LIST Statement Anywhere Statement Dictionary %LIST Statement
LOCK statement LOCK Statement LOCK Statement Anywhere Statement Dictionary LOCK Statement
LOSTCARD statement LOSTCARD Statement LOSTCARD Statement DATA Statement Dictionary LOSTCARD Statement
MERGE statement MERGE Statement MERGE Statement DATA Statement Dictionary MERGE Statement
MISSING statement MISSING Statement MISSING Statement Anywhere Statement Dictionary MISSING Statement
MODIFY statement MODIFY Statement MODIFY Statement DATA Statement Dictionary MODIFY Statement
Null statement Null Statement Null Statement Anywhere Statement Dictionary Null Statement
ODS statements ODS Statement ODS Statement Anywhere Output Delivery System Output Delivery System
OPTIONS statement OPTIONS Statement OPTIONS Statement Anywhere Statement Dictionary OPTIONS Statement
OUTPUT statement OUTPUT Statement OUTPUT Statement DATA Statement Dictionary OUTPUT Statement
PAGE statement PAGE Statement PAGE Statement Anywhere Statement Dictionary PAGE Statement
PARMCARDS statement PARMCARDS Statement PARMCARDS Statement  ?  ?  ?
PROC statement PROC Statement PROC Statement PROC Procedures PROC Statement
PROCEDURE statement PROCEDURE Statement PROCEDURE Statement PROC Procedures PROCEDURE Statement
PUT statement PUT Statement PUT Statement DATA Statement Dictionary PUT Statement
  • generic
  • Column
  • Formatted
  • List
  • Named
PUTLOG statement PUTLOG Statement PUTLOG Statement DATA Statement Dictionary PUTLOG Statement
QUIT statement QUIT Statement QUIT Statement PROC Procedures QUIT Statement
REDIRECT statement REDIRECT Statement REDIRECT Statement DATA Statement Dictionary REDIRECT Statement
REMOVE statement REMOVE Statement REMOVE Statement DATA Statement Dictionary REMOVE Statement
RENAME statement RENAME Statement RENAME Statement DATA Statement Dictionary RENAME Statement
REPLACE statement REPLACE Statement REPLACE Statement DATA Statement Dictionary REPLACE Statement
RESETLINE statement RESETLINE Statement RESETLINE Statement Anywhere Statement Dictionary RESETLINE Statement
RETAIN statement RETAIN Statement RETAIN Statement DATA Statement Dictionary RETAIN Statement
RETURN statement RETURN Statement RETURN Statement DATA Statement Dictionary RETURN Statement
RUN statement RUN Statement RUN Statement Anywhere Statement Dictionary RUN Statement
%RUN statement %RUN Statement %RUN Statement Anywhere Statement Dictionary %RUN Statement
SASFILE statement SASFILE Statement SASFILE Statement Anywhere Statement Dictionary SASFILE Statement
SELECT statement SELECT Statement SELECT Statement DATA Statement Dictionary SELECT Statement
SET statement SET Statement SET Statement DATA Statement Dictionary SET Statement
SKIP statement SKIP Statement SKIP Statement Anywhere Statement Dictionary SKIP Statement
STOP statement STOP Statement STOP Statement DATA Statement Dictionary STOP Statement
Sum statement Sum Statement Statement DATA Statement Dictionary Sum Statement
SYSECHO statement SYSECHO Statement SYSECHO Statement Anywhere Statement Dictionary SYSECHO Statement
TITLE statement TITLE Statement TITLE Statement Anywhere Statement Dictionary TITLE Statement
UPDATE statement UPDATE Statement UPDATE Statement DATA Statement Dictionary UPDATE Statement
VAR statement VAR Statement VAR Statement PROC Procedure VAR
WEIGHT statement WEIGHT Statement WEIGHT Statement PROC Procedure WEIGHT
WHERE statement WHERE Statement WHERE Statement DATA PROC Statement Dictionary WHERE Statement
WINDOW statement WINDOW Statement WINDOW Statement DATA Statement Dictionary WINDOW Statement
WITH statement WITH Statement WITH Statement PROC Procedure WITH
X statement X Statement X Statement DATA Statement Dictionary X Statement
Statement label Statement Label Label DATA Statement Dictionary label: Statement
Note 
The above table is loosely based upon the "Dictionary of SAS Statements" in the SAS® 9.3 Statements: Reference and other publications.

Macro statements

Macro statements are used to write SAS code.

  • %ABORT macro statement
  • %* macro comment statement
  • %COPY macro statement
  • %DISPLAY macro statement
  • %DO macro statement
    • %DO, iterative macro statement
    • %DO %UNTIL macro statement
    • %DO %WHILE macro statement
  • %END macro statement
  • %GLOBAL macro statement %GLOBAL Statement category
  • %GOTO macro statement
  • %IF-%THEN/%ELSE macro statement
  • %INPUT macro statement
  • %label macro statement
  • %LET macro statement %LET Statement category
  • %LOCAL macro statement %LOCAL Statement category
  • %MACRO macro statement
  • %MEND macro statement
  • %PUT macro statement %PUT Statement category
  • %RETURN macro statement
  • %SYMDEL macro statement
  • %SYSCALL macro statement
  • %SYSEXEC macro statement
  • %SYSLPUT macro statement
  • %SYSMACDELETE macro statement
  • %SYSMSTORECLEAR macro statement
  • %SYSRPUT macro statement
  • %WINDOW macro statement

See also