Commands Syntax Listed by Category

Data Access

C E I O R X

Name
Syntax and Description
LIBNAME libref <CVPBYTES=bytes > <CVPENGINE=engine > <CVPMULTIPLIER=multiplier
>
'SAS data-library';
Specifies attributes for character variables that are needed in order to transcode a SAS file.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
ENCODING= 'encoding-value'
Overrides and transcodes the encoding for input or output processing of external files.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
INENCODING= ANY | ASCIIANY | EBCDICANY | encoding-value
OUTENCODING= ANY | ASCIIANY | EBCDICANY | encoding-value
Overrides and changes the encoding when reading or writing SAS data sets in the SAS library.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
ODSCHARSET=character-set;
Specifies the character set to be generated in the META declaration for the output.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
TRANTAB ='translation-table'
Specifies the translation table to use when transcoding an XML document for an output file.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
RENCODING=ASCII-encoding-value | EBCDIC-encoding-value
Specifies the ASCII-based or EBCDIC-based encoding to use for transcoding data for a SAS/SHARE server session that is using an EBCDICANY or ASCIIANY session encoding.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
XMLENCODING= 'encoding-value'
Overrides the encoding of an XML document to import or export an external document.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide

Information

Name
Syntax and Description
ATTRIB variable-list(s) attribute-list(s) ;
Specifies an attribute in the ATTRIB statement (which associates a format, informat, label, and length with one or more variables) that indicates whether character variables are to be transcoded.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide

ODS: Third-Party Formatted

C T

Name
Syntax and Description
CHARSET=character-set ;
Specifies the character set to be generated in the META declaration for the output.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
TRANTAB = (translation-table)
Specifies the translation table to use when you are transcoding character data in a SAS file for the appropriate output file.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide

Text editing, command-line command

A B C D F I K N R S

Name
Syntax and Description
AUTOADD <ON | OFF>
Controls automatic line addition.
Product: Base SAS
Document: SAS 9.3 Companion for UNIX Environments
AUTOFLOW <ON | OFF>
Controls whether text is flowed when it is included, copied, or pasted.
Product: Base SAS
Document: SAS 9.3 Companion for UNIX Environments
AUTOSPLIT <ON | OFF>
Controls whether text is split at the cursor when you press ENTER or RETURN, or when you are at a carriage return.
Product: Base SAS
Document: SAS 9.3 Companion for UNIX Environments
AUTOWRAP <ON | OFF>
Controls whether text is wrapped when it is included, copied, or filed.
Product: Base SAS
Document: SAS 9.3 Companion for UNIX Environments
BOUNDS < left right >
Sets left and right boundaries when text is flowed.
Product: Base SAS
Document: SAS 9.3 Companion for UNIX Environments
CAPS <ON | OFF>
Changes the default case of text.
Product: Base SAS
Document: SAS 9.3 Companion for UNIX Environments
CURSOR
Moves the cursor to the command line.
Product: Base SAS
Document: SAS 9.3 Companion for UNIX Environments
DICT INCLUDE dictionary-name | FREE dictionary-name | CREATE dictionary-name < size >
Includes, releases, and creates an auxiliary dictionary.
Product: Base SAS
Document: SAS 9.3 Companion for UNIX Environments
FILL < 'fill-character' > < n >
Places fill characters beginning at the current cursor position.
Product: Base SAS
Document: SAS 9.3 Companion for UNIX Environments
INDENT <ON | OFF>
Retains left margin indention when text is flowed.
Product: Base SAS
Document: SAS 9.3 Companion for UNIX Environments
KEYS
Enables you to assign function keys to tasks.
Product: Base SAS
Document: SAS 9.3 Companion for UNIX Environments
NUMBERS <ON | OFF>
Adds or removes line numbers.
Product: Base SAS
Document: SAS 9.3 Companion for UNIX Environments
RESET
Removes any pending line commands.
Product: Base SAS
Document: SAS 9.3 Companion for UNIX Environments
SPELL <ALL <SUGGEST> >
SPELL <NEXT | PREV | SUGGEST>
SPELL <REMEMBER < dictionary-name > >
Checks spelling and flags unrecognized words.
Product: Base SAS
Document: SAS 9.3 Companion for UNIX Environments

Text editing, line command

C D I J M R T

Name
Syntax and Description
C
intervening text
A | B
Copies one line of text.
Product: Base SAS
Document: SAS 9.3 Companion for UNIX Environments
CC
block of text
CC
intervening text
A | B
Copies a block of lines of text.
Product: Base SAS
Document: SAS 9.3 Companion for UNIX Environments
CCL
block of text
CCL
Changes all characters in designated lines of text to lowercase.
Product: Base SAS
Document: SAS 9.3 Companion for UNIX Environments
CCU
block of text
CCU
Changes all characters in a designated block of lines of text to uppercase.
Product: Base SAS
Document: SAS 9.3 Companion for UNIX Environments
CL < n >
Changes all characters in a designated line of text to lowercase.
Product: Base SAS
Document: SAS 9.3 Companion for UNIX Environments
>> < n >
block of text
>> < n >
Shifts to the right a designated block of text.
Product: Base SAS
Document: SAS 9.3 Companion for UNIX Environments
> < n >
Shifts to the right a designated line of text.
Product: Base SAS
Document: SAS 9.3 Companion for UNIX Environments
< < n >
Shifts to the left a designated line of text.
Product: Base SAS
Document: SAS 9.3 Companion for UNIX Environments
<< < n >
block-of-text
<< < n >
Shifts to the left a designated block of text.
Product: Base SAS
Document: SAS 9.3 Companion for UNIX Environments
> < n >
Shifts to the right a designated line of text.
Product: Base SAS
Document: SAS 9.3 Companion for UNIX Environments
>> < n >
block-of-text
>> < n >
Shifts to the right a designated block of text.
Product: Base SAS
Document: SAS 9.3 Companion for UNIX Environments
( < n >
Shifts to the left one designated line of text.
Product: Base SAS
Document: SAS 9.3 Companion for UNIX Environments
(( < n >
block-of-text
(( < n >
Shifts to the left a designated block of lines of text.
Product: Base SAS
Document: SAS 9.3 Companion for UNIX Environments
) < n >
Shifts to the right one designated line of text.
Product: Base SAS
Document: SAS 9.3 Companion for UNIX Environments
)) < n >
block-of-text
)) < n >
Shifts to the right a designated block of lines of text.
Product: Base SAS
Document: SAS 9.3 Companion for UNIX Environments
CU < n >
Changes all characters in a designated line of text to uppercase.
Product: Base SAS
Document: SAS 9.3 Companion for UNIX Environments
D < n >
Deletes a designated line.
Product: Base SAS
Document: SAS 9.3 Companion for UNIX Environments
DD
block of lines
DD
Deletes a designated block of lines.
Product: Base SAS
Document: SAS 9.3 Companion for UNIX Environments
I <A | B> < n >
Inserts one or more blank lines.
Product: Base SAS
Document: SAS 9.3 Companion for UNIX Environments
JC < n >
Centers a designated line of text.
Product: Base SAS
Document: SAS 9.3 Companion for UNIX Environments
JJC
block-of-text
JJC
Centers each line of text independently in a designated block of text.
Product: Base SAS
Document: SAS 9.3 Companion for UNIX Environments
JJL < n >
block-of-text
JJL < n >
Left-aligns a designated block of text.
Product: Base SAS
Document: SAS 9.3 Companion for UNIX Environments
JJR < n >
block-of-text
JJR < n >
Right-aligns a designated block of text.
Product: Base SAS
Document: SAS 9.3 Companion for UNIX Environments
JL < n >
Left-aligns a designated line of text.
Product: Base SAS
Document: SAS 9.3 Companion for UNIX Environments
JR < n >
Right-aligns a designated line of text.
Product: Base SAS
Document: SAS 9.3 Companion for UNIX Environments
M < n >
intervening-text
A | B
Moves one line of text.
Product: Base SAS
Document: SAS 9.3 Companion for UNIX Environments
MASK
Defines the contents of one or more new lines.
Product: Base SAS
Document: SAS 9.3 Companion for UNIX Environments
MM
block-of-text
MM
intervening-text
A | B
Moves a block of text.
Product: Base SAS
Document: SAS 9.3 Companion for UNIX Environments
R < n >
Repeats a designated line.
Product: Base SAS
Document: SAS 9.3 Companion for UNIX Environments
RR < n >
block of text
RR < n >
Repeats a block of lines.
Product: Base SAS
Document: SAS 9.3 Companion for UNIX Environments
TC
Connects two lines of text.
Product: Base SAS
Document: SAS 9.3 Companion for UNIX Environments
TF <A> < n >
Flows text to a blank line or to the end of the text.
Product: Base SAS
Document: SAS 9.3 Companion for UNIX Environments
TS < n >
Splits text at the cursor.
Product: Base SAS
Document: SAS 9.3 Companion for UNIX Environments