General Functions Listed by Category
Aggregate
|
Name
|
Syntax and Description
|
|---|---|
|
AVG(<DISTINCT> expression)
Returns the average of all values in a column.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
COUNT(<* | <DISTINCT> expression)>
Returns the number of rows retrieved by a SELECT
statement for a specified table.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
CSS(<DISTINCT>expression)
Returns the corrected sum of squares of all values
in an expression.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
KURTOSIS(<DISTINCT> expression)
Returns the kurtosis of all values in an expression.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
MAX(<DISTINCT> expression)
Returns the maximum value in a column.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
MIN(<DISTINCT> expression)
Returns the minimum value in an expression.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
Aggregate:
NMISS(<DISTINCT> expression)
Scalar:
NMISS(expression<, ...expression>)
Returns the number of null values or SAS missing
values in an expression.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
PROBT(<DISTINCT> expression)
Returns the probability from a t distribution of
the values in an expression.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
RANGE(<DISTINCT> expression)
Returns the range between values in an expression.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
SKEWNESS(<DISTINCT> expression)
Returns the skewness of all values in an expression.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
STDDEV(<DISTINCT> expression)
Returns the statistical standard deviation of all
values in an expression.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
STDERR(<DISTINCT> expression)
Returns the statistical standard error of all values
in an expression.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
STUDENTS_T(<DISTINCT> expression)
Returns the Student's t distribution of the values
in an expression.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
SUM(<DISTINCT> expression)
Returns the sum of all the values in an expression.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
USS(<DISTINCT> expression)
Returns the uncorrected sum of squares of all the
values in an expression.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
VARIANCE(<DISTINCT> expression)
Returns the measure of the dispersion of all values
in an expression.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
|
Arithmetic
|
Name
|
Syntax and Description
|
|---|---|
|
DIVIDE(x, y)
Returns the result of a division that handles special
missing values for ODS output.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
|
Array
|
Name
|
Syntax and Description
|
|---|---|
|
DIM(array-name<, bound-n>)
Returns the number of elements in an array.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
DIM<n> (array-name)
DIM(array-name, bound-n)
Returns the number of elements in an array.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
HBOUND(array-name<, bound-n>)
Returns the upper bound of an array.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
HBOUND<n> (array-name)
HBOUND(array-name, bound-n)
Returns the upper bound of an array.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
LBOUND(array-name<, bound-n>)
Returns the lower bound of an array.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
LBOUND <n> (array-name)
LBOUND(array-name, bound-n)
Returns the lower bound of an array.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
NDIMS(array-name)
Returns the number of dimensions in an array.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
rc= NDIMS(array-name)
Returns the number of dimensions in an array.
Product: Base SAS
Document: Base SAS Procedures for SAS Viya Workbench
| |
|
rc = READ_ARRAY(data_set_name, array_variable <, 'column_name_1',
'column_name_2'
, ... >);
Reads data from a SAS data set into a PROC FCMP
array variable.
Product: Base SAS
Document: Base SAS Procedures for SAS Viya Workbench
| |
|
rc = WRITE_ARRAY(data_set_name, array_variable <, 'column_name_1',
'column_name_2',
...>);
Writes data from a PROC FCMP array variable to a
data set that can then be used by SAS programs, macros, and procedures.
Product: Base SAS
Document: Base SAS Procedures for SAS Viya Workbench
|
Binary Results
|
Name
|
Syntax and Description
|
|---|---|
|
ADDRLONG(variable)
Returns the memory address of a variable on a 64-bit
platform.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
MD5(message)
Returns an MD5 message digest as a 16-byte binary string for a message consisting
of a character string.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
PEEKCLONG(address <, length>)
Stores the contents of a memory address in a character
variable on a 64-bit platform.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
PTRLONGADD(pointer<, amount>)
Returns the pointer address as a character variable
on a 64-bit platform.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
SHA256(message)
Returns an SHA256 message digest as a 32-byte binary string for a message
consisting of a character string.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
|
Bitwise Logical Operations
|
Name
|
Syntax and Description
|
|---|---|
|
BAND(expression-1 , expression-2)
Returns the bitwise logical AND of two arguments.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
BAND(expression-1 , expression-2)
Returns the bitwise logical AND of two arguments.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
BAND(argument-1, argument-2)
Returns the bitwise logical AND of 32-bit integer
values.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
BHAMMING_32(argument-1, argument-2)
Returns the bitwise Hamming distance between two
32-bit integer values.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
BHAMMING_32(argument-1, argument-2)
Returns the bitwise Hamming distance between two
32-bit integer values.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
BHAMMING_HEX(hex-string-1,
hex-string-2);
Returns the bitwise Hamming distance between two
hexadecimal bit strings.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
BLSHIFT(expression-1, expression-2)
Returns the bitwise logical left shift of two arguments.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
BLSHIFT(expression-1, expression-2)
Returns the bitwise logical left shift of two arguments.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
BLSHIFT(argument-1, argument-2)
Returns the bitwise logical left shift of two 32-bit
integer values.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
BNOT(expression)
Returns the bitwise logical NOT of an argument.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
BNOT(expression)
Returns the bitwise logical NOT of an argument.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
BNOT(argument)
Returns the bitwise logical NOT of 32-bit integer
values.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
BOR(expression-1, expression-2)
Returns the bitwise logical OR of two arguments.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
BOR(expression-1, expression-2)
Returns the bitwise logical OR of two arguments.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
BOR(argument-1, argument-2)
Returns the bitwise logical OR of 32-bit integer
values.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
BRSHIFT(expression-1, expression-2)
Returns the bitwise logical right shift of two arguments.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
BRSHIFT(expression-1, expression-2)
Returns the bitwise logical right shift of two arguments.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
BRSHIFT(argument-1, argument-2)
Returns the bitwise logical right shift of 32-bit
integer values.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
BXOR(expression-1, expression-2)
Returns the bitwise logical EXCLUSIVE OR of two
arguments.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
BXOR(expression-1, expression-2)
Returns the bitwise logical EXCLUSIVE OR of two
arguments.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
BXOR(argument-1, argument-2)
Returns the bitwise logical EXCLUSIVE OR of two
32-bit integer values.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
|
Bitwise Operations
|
Name
|
Syntax and Description
|
|---|---|
|
BHAMMING_HEX(hex-string-1,
hex-string-2);
Returns the bitwise Hamming distance between two hexadecimal bit
strings.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
|
C Helper
|
Name
|
Syntax and Description
|
|---|---|
|
numeric-variable = ISNULL (pointer-element);
Determines whether a pointer element of a structure is
null.
Product: Base SAS
Document: Base SAS Procedures for SAS Viya Workbench
|
Calling SAS Code from within Functions
|
Name
|
Syntax and Description
|
|---|---|
|
rc = RUN_MACRO ('macro_name' <, variable_1, variable_2, ...>);
Executes a predefined SAS macro.
Product: Base SAS
Document: Base SAS Procedures for SAS Viya Workbench
| |
|
rc = RUN_SASFILE ('fileref_name' <, variable-1, variable-2,
...>);
Executes SAS code in a fileref that you specify.
Product: Base SAS
Document: Base SAS Procedures for SAS Viya Workbench
|
Character
|
Name
|
Syntax and Description
|
|---|---|
|
ANORM420 (string,<modifiers>)
Returns a normalized string from an input string
encoded in EBCDIC420.
Product: Base SAS
Document: SAS National Language Support (NLS) Reference for SAS Viya Workbench
| |
|
ANYALNUM('expression'<, start>)
Searches a character string for an alphanumeric
character, and returns the first character position at which the character
is found.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
ANYALNUM('expression'<, start>)
Searches a character string for an alphanumeric
character, and returns the first character position at which the character
is found.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
ANYALNUM(string <,start>)
Searches a character string for an alphanumeric
character, and returns the first position at which the character is
found.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
ANYALPHA('expression'<, start>)
Searches a character string for an alphabetic character,
and returns the first character position at which the character is
found.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
ANYALPHA('expression'<, start>)
Searches a character string for an alphabetic character,
and returns the first character position at which the character is
found.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
ANYALPHA(string <,start>)
Searches a character string for an alphabetic character,
and returns the first position at which the character is found.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
ANYCNTRL('expression' <, start>)
Searches a character string for a control character,
and returns the first character position at which that character is
found.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
ANYCNTRL(string <,start>)
Searches a character string for a control character,
and returns the first position at which that character is found.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
ANYDIGIT('expression'<, start>)
Searches a character string for a digit, and returns
the first character position at which the digit is found.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
ANYDIGIT('expression'<, start>)
Searches a character string for a digit, and returns
the first character position at which the digit is found.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
ANYDIGIT(string <,start>)
Searches a character string for a digit, and returns
the first position at which the digit is found.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
ANYFIRST('expression'<, start>)
Searches a character string for a character that
is valid as the first character in a SAS variable name under VALIDVARNAME=V7,
and returns the first character position at which that character is
found.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
ANYFIRST('expression'<, start>)
Searches a character string for a character that
is valid as the first character in a SAS variable name under VALIDVARNAME=V7,
and returns the first character position at which that character is
found.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
ANYFIRST(string <,start>)
Searches a character string for a character that
is valid as the first character in a SAS variable name under VALIDVARNAME=V7,
and returns the first position at which that character is found.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
ANYGRAPH('string'<, start>)
Searches a character string for a graphical character,
and returns the first character position at which that character is
found.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
ANYGRAPH(string <,start>)
Searches a character string for a graphical character,
and returns the first position at which that character is found.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
ANYLOWER('expression'<, start>)
Searches a character string for a lowercase letter,
and returns the first character position at which the letter is found.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
ANYLOWER('expression'<, start>)
Searches a character string for a lowercase letter,
and returns the first character position at which the letter is found.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
ANYLOWER(string <,start>)
Searches a character string for a lowercase letter,
and returns the first position at which the letter is found.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
ANYNAME('expression'<,start>)
Searches a character string for a character that
is valid in a SAS variable name under VALIDVARNAME=V7, and returns
the first character position at which that character is found.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
ANYNAME('expression'<,start>)
Searches a character string for a character that
is valid in a SAS variable name under VALIDVARNAME=V7, and returns
the first character position at which that character is found.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
ANYNAME(string <,start>)
Searches a character string for a character that
is valid in a SAS variable name under VALIDVARNAME=V7, and returns
the first position at which that character is found.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
ANYPRINT('expression'<, start>)
Searches a character string for a printable character,
and returns the first character position at which that character is
found.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
ANYPUNCT('expression'<, start>)
Searches a character string for a punctuation character,
and returns the first character position at which that character is
found.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
ANYPUNCT('expression'<, start>)
Searches a character string for a punctuation character,
and returns the first character position at which that character is
found.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
ANYPUNCT(string <,start>)
Searches a character string for a punctuation character,
and returns the first position at which that character is found.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
ANYSPACE('expression'<, start>)
Searches a character string for a whitespace character
(blank, horizontal and vertical tab, carriage return, line feed, and
form feed), and returns the first character position at which that
character is found.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
ANYSPACE('expression'<, start>)
Searches a character string for a whitespace character
(blank, horizontal and vertical tab, carriage return, line feed, and
form feed), and returns the first character position at which that
character is found.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
ANYSPACE(string <,start>)
Searches a character string for a whitespace character
(blank, horizontal or vertical tab, carriage return, line feed, and
form feed), and returns the first position at which that character
is found.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
ANYUPPER('expression'<, start>)
Searches a character string for an uppercase letter,
and returns the first character position at which the letter is found.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
ANYUPPER('expression'<, start>)
Searches a character string for an uppercase letter,
and returns the first character position at which the letter is found.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
ANYUPPER(string <,start>)
Searches a character string for an uppercase letter,
and returns the first position at which the letter is found.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
ANYXDIGIT('expression'<,start>)
Searches a character string for a hexadecimal character
that represents a digit, and returns the first character position
at which that character is found.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
ANYXDIGIT('expression'<,start>)
Searches a character string for a hexadecimal character
that represents a digit, and returns the first character position
at which that character is found.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
ANYXDIGIT(string <,start>)
Searches a character string for a hexadecimal character
that represents a digit, and returns the first position at which that
character is found.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
STR=BASECHAR(<instr>(,<Unicode type>))
Converts characters to base characters.
Product: Base SAS
Document: SAS National Language Support (NLS) Reference for SAS Viya Workbench
| |
|
BYTE(n)
Returns one character in the ASCII collating sequence.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
BYTE(n)
Returns one character in the ASCII collating sequence.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
BYTE (n)
Returns one character in the ASCII collating sequence.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
CAT(item-1<, ...item-n>)
Does not remove leading or trailing blanks, and
returns a concatenated character string.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
CAT(item-1 <,
…, item-n>)
Does not remove leading or trailing blanks and returns
a concatenated character string.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
CATQ(modifiers <, delimiter>, item-1 <, …, item-n>)
Concatenates character or numeric values by using
a delimiter to separate items and by adding quotation marks to strings
that contain the delimiter.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
CATQ(modifiers <, delimiter>, item-1 <, …, item-n>)
Concatenates character and numeric values by using
a delimiter to separate items and by adding quotation marks to strings
that contain the delimiter.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
CATS(item<, ...item>)
Removes leading and trailing blanks, and returns
a concatenated character string.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
CATS(item-1 <,
…, item-n>)
Removes leading and trailing blanks, and returns
a concatenated character string.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
CATT(item<, ...item>)
Removes trailing blanks, and returns a concatenated
character string.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
CATT(item-1 <, … item-n>)
Removes trailing blanks, and returns a concatenated
character string.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
CATX(delimiter, item-1<, ...item-n>)
Removes leading and trailing blanks, inserts delimiters,
and returns a concatenated character string.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
CATX(delimiter, item-1 <, ... item-n>)
Removes leading and trailing blanks, inserts delimiters,
and returns a concatenated character string.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
CHAR(string, position)
Returns a single character from a specified position
in a character string.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
CHARACTER_LENGTH(expression)
Returns the number of characters in a string of
any data type.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
CHOOSEC(index-expression, selection-1<, ...selection-n>)
Returns a character value that represents the results
of choosing from a list of arguments.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
CHOOSEC(index-expression, selection-1 <,
…selection-n>)
Returns a character value that represents the results
of choosing from a list of arguments.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
CHOOSEN(index-expression, selection-1 <,
…selection-n>)
Returns a numeric value that represents the results
of choosing from a list of arguments.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
CMP (string-1, string-2)
Compares two character strings including trailing
blanks.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
CMPT (string-1, string-2)
Compares two character strings excluding trailing
blanks.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
COALESCEC(expression<, ...expression>)
Returns the first non-null or nonmissing value from
a list of character arguments.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
COALESCEC(expression<, ...expression>)
Returns the first non-null or nonmissing value from
a list of character arguments.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
COALESCEC(argument-1 < ..., argument-n>)
Returns the first nonmissing value from a list of
character arguments.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
COLLATE(start-position <, end-position>)
| (start-position <, , length>)
Returns a character string in the ASCII collating
sequence.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
COMPARE(string-1, string-2<, modifiers>)
Returns the position of the leftmost character by
which two strings differ, or returns 0 if there is no difference.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
COMPARE(string-1, string-2<, modifiers>)
Returns the position of the leftmost character by
which two strings differ, or returns 0 if there is no difference.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
COMPARE(string-1, string-2 <, modifier(s)>)
Returns the position of the leftmost character by
which two strings differ, or returns 0 if there is no difference.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
COMPBL(character-expression)
Removes multiple blanks from a character string.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
COMPBL(character-expression)
Removes multiple blanks from a character string.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
COMPBL(source)
Removes multiple blanks from a character string.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
COMPGED(string-1, string-2 <, cutoff> <, modifier(s)>)
Returns the generalized edit distance between two
strings.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
COMPGED(string-1, string-2 <, cutoff> <, modifier(s)>)
Returns the generalized edit distance between two
strings.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
COMPLEV(string-1, string-2 <, cutoff> <, modifier(s)>)
Returns the Levenshtein edit distance between two
strings.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
COMPLEV(string-1, string-2 <, cutoff> <, modifier(s)>)
Returns the Levenshtein edit distance between two
strings.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
COMPRESS(character-expression<
, character-list-expression
>
<, modifier(s)>)
Returns a character string with specified characters removed from the original
string.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
COMPRESS(character-expression<
, character-list-expression
>
<, modifier(s)>)
Returns a character string with specified characters removed from the original
string.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
COMPRESS(source ,< characters> ,< modifier(s)>)
Returns a character string with specified characters
removed from the original string.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
COUNT(string, substring<, modifiers>)
Counts the number of times that a specified substring
appears within a character string.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
COUNT(string, substring <, modifier(s)>)
Counts the number of times that a specified substring
appears within a character string.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
COUNTC(string, charlist<, modifiers>)
Counts the number of characters in a string that
appear or do not appear in a list of characters.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
COUNTC(string, charlist<, modifiers>)
Counts the number of characters in a string that
appear or do not appear in a list of characters.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
COUNTC(string, character-list <, modifier(s)>)
Counts the number of characters that appear or do
not appear in a list of characters.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
COUNTW(string<, chars<, modifiers>>)
Counts the number of words in a character string.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
COUNTW(string<, chars<, modifiers>>)
Counts the number of words in a character string.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
COUNTW(string <, <character(s)> <, <modifier(s)>>>)
Counts the number of words in a character string.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
CURRENT_LOCALE()
Returns the five-character name of the current locale.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
DEQUOTE(expression)
Removes matching single quotation marks from a character
string that begins with a single quotation mark, and deletes all characters
to the right of the closing quotation mark.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
DEQUOTE(expression)
Removes matching single quotation marks from a character
string that begins with a single quotation mark, and deletes all characters
to the right of the closing quotation mark.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
DEQUOTE(string)
Removes matching quotation marks from a character
string that begins with a quotation mark, and deletes all characters
to the right of the closing quotation mark.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FIND(string, substring<, modifier(s)><, startpos>)
FIND(string, substring<, startpos><, modifier(s)>)
Searches for a specific substring of characters
within a character string.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
FIND(string, substring <, modifier(s)> <, start-position>)
FIND(string, substring <, start-position> <, modifier(s)>)
Searches for a specific substring of characters
within a character string.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FINDC(string, charlist<, startpos><, modifiers>)
FINDC(string, charlist, modifiers<, startpos>)
FINDC(string, charlist<, modifiers>)
FINDC(string<, charlist>)
Searches a string for any character in a list of
characters.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
FINDC(string <, character-list>)
FINDC(string, character-list <, modifier(s)>)
FINDC(string, character-list, modifier(s) <, start-position>)
FINDC(string, character-list, <start-position>, <modifier(s)>)
Searches a string for any character in a list of
characters.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FINDW(string, word<, chars>)
FINDW(string, word, chars, modifier(s)<, startpos>)
FINDW(string, word, chars, startpos<, modifier(s)>)
FINDW(string, word, startpos<, chars<, modifier(s)>>)
Returns the character position of a word in a string,
or returns the number of the word in a string.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
FINDW(string, word <, character(s)>)
FINDW(string, word, character(s), modifier(s) <, start-position>)
FINDW(string, word, character(s), start-position <, modifier(s)>)
FINDW(string, word, start-position <, character(s) <, modifier(s)>>)
Returns the character position of a word in a string,
or returns the number of the word in a string.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FIRST(string)
Returns the first character in a character string.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
HASHING(method,
message,<flag>);
Returns a message digest as a hexadecimal string for a message consisting of a
character string, using different methods.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
HASHING_FILE(method,
file, <flag>);
Returns a message digest as a hexadecimal string for a message consisting of an
entire file, using different hashing methods.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
HASHING_HMAC(method,
key,
message,<flag>);
Returns a message digest as a hexadecimal string for a character HMAC key value
and a message consisting of a character string, using various methods.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
HASHING_HMAC_FILE(method,
key, file,
<flag>);
Returns a message digest as a hexadecimal string for an HMAC key value consisting
of a character string and a message consisting of an entire file, using different
methods.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
handle=HASHING_HMAC_INIT(method, key, <flag>);
Initializes a running HMAC hash and returns a numeric handle for use with
HASHING_PART and HASHING_TERM.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
handle=HASHING_INIT(method);
Initializes a running hash and returns a numeric handle for use with HASHING_PART
and HASHING_TERM.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
HASHING_PART(handle, message_part,
<flag>);
Provides part of a message for a running hash and returns a numeric value of 1 for
a valid handle.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
HASHING_TERM(handle);
Returns the final digest in hexadecimal representation
for the running hash.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
IFC(logical-expression, value-returned-when-true, value-returned-when-false
<, value-returned-when-missing>) Returns a character value based on whether an expression
is true, false, or missing.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
INDEX(target-expression, search-expression)
Searches a character expression for a string of
characters, and returns the position of the string's first character
for the first occurrence of the string.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
INDEX(target-expression, search-expression)
Searches a character expression for a string of
characters, and returns the position of the string's first character
for the first occurrence of the string.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
INDEX(source, excerpt)
Searches a character expression for a string of
characters, and returns the position of the string's first character
for the first occurrence of the string.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
INDEXC(target-expression, search-expression<, ...search-expression>)
Searches a character expression for specified characters
and returns the position of the first occurrence of any of the characters.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
INDEXC(target-expression, search-expression<, ...search-expression>)
Searches a character expression for specified characters
and returns the position of the first occurrence of any of the characters.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
INDEXC(source, excerpt-1 <,
…excerpt-n>)
Searches a character expression for any of the specified
characters, and returns the position of that character.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
INDEXW(target-expression, search-expression <, delimiter>)
Searches a character expression for a string that
is specified as a word, and returns the position of the first character
in the word.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
INDEXW(source, excerpt <, delimiters>)
Searches a character expression for a string that
is specified as a word, and returns the position of the first character
in the word.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
KCVT(text, intype, outtype, <options> )
Converts data from one type of encoding data to
another type of encoding data.
Product: Base SAS
Document: SAS National Language Support (NLS) Reference for SAS Viya Workbench
| |
|
KSTRIP(string)
Removes leading and trailing blanks from a character
string.
Product: Base SAS
Document: SAS National Language Support (NLS) Reference for SAS Viya Workbench
| |
|
LEFT(expression)
Left aligns a character expression.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
LEFT(expression)
Left aligns a character expression.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
LEFT(argument)
Left-aligns a character string.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
LENGTH(expression)
Returns the length of a character string, excluding
trailing blanks, in characters.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
LENGTH(string)
Returns the length of bytes of a non-blank character string, excluding trailing
blanks, and returns 1 for a blank character string.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
LENGTHC(expression)
Returns the length of a character string, including
trailing blanks, in characters.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
LENGTHC(string)
Returns the length of a character string, including trailing
blanks.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
LENGTHM(variable)
Returns the amount of memory, in bytes, that could
or might be allocated for a character string.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
LENGTHM(string)
Returns the amount of memory, in bytes, that is allocated for a character
string.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
LENGTHN(string)
Returns the length of bytes in a character string, excluding trailing
blanks.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
LOWCASE(expression)
Converts all letters in a character expression to
lowercase.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
LOWCASE(expression)
Converts all letters in a character expression to
lowercase.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
LOWCASE(argument)
Converts all uppercase single-width English alphabet
letters in an argument to lowercase.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
MD5(string)
Returns the result of the message digest of a specified
string in binary format.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
MD5(message)
Returns an MD5 message digest as a 16-byte binary string for a message consisting
of a character string.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
MISSING(numeric-expression | character-expression)
Returns a numeric result that indicates whether
the argument contains a missing value.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
MVALID(libname, string, member-type <, valid-member-name>)
Checks the validity of a character string for use
as a SAS member name.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
NLITERAL(string)
Converts a character string that you specify to
a SAS name literal.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
NOTALNUM('expression'<, start>)
Searches a character string for a non-alphanumeric
character, and returns the first character position at which the character
is found.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
NOTALNUM('expression'<, start>)
Searches a character string for a non-alphanumeric
character, and returns the first character position at which the character
is found.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
NOTALNUM(string <, start>)
Searches a character string for a non-alphanumeric
character, and returns the first position at which the character is
found.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
NOTALPHA('expression'<, start>)
Searches a character string for a nonalphabetic
character, and returns the first character position at which the character
is found.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
NOTALPHA('expression'<, start>)
Searches a character string for a nonalphabetic
character, and returns the first character position at which the character
is found.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
NOTALPHA(string <, start>)
Searches a character string for a nonalphabetic
character, and returns the first position at which the character is
found.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
NOTCNTRL('expression'<, start>)
Searches a character string for a character that
is not a control character, and returns the first character position
at which that character is found.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
NOTCNTRL(string <, start>)
Searches a character string for a character that
is not a control character, and returns the first position at which
that character is found.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
NOTDIGIT('expression'<, start>)
Searches a character string for any character that
is not a digit, and returns the first character position at which
that character is found.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
NOTDIGIT('expression'<, start>)
Searches a character string for any character that
is not a digit, and returns the first character position at which
that character is found.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
NOTDIGIT(string <, start>)
Searches a character string for any character that
is not a digit, and returns the first position at which that character
is found.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
NOTFIRST('expression'<, start>)
Searches a character string for an invalid first
character in a SAS variable name under VALIDVARNAME=V7, and returns
the first character position at which that character is found.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
NOTFIRST('expression'<, start>)
Searches a character string for an invalid first
character in a SAS variable name under VALIDVARNAME=V7, and returns
the first character position at which that character is found.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
NOTFIRST(string <, start>)
Searches a character string for an invalid first
character in a SAS variable name under VALIDVARNAME=V7, and returns
the first position at which that character is found.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
NOTGRAPH('expression'<, start>)
Searches a character string for a non-graphical
character, and returns the first character position at which that
character is found.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
NOTGRAPH(string <, start>)
Searches a character string for a non-graphical
character, and returns the first position at which that character
is found.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
NOTLOWER('expression'<, start>)
Searches a character string for a character that
is not a lowercase letter, and returns the first character position
at which that character is found.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
NOTLOWER('expression'<, start>)
Searches a character string for a character that
is not a lowercase letter, and returns the first character position
at which that character is found.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
NOTLOWER(string <, start>)
Searches a character string for a character that
is not a lowercase letter, and returns the first position at which
that character is found.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
NOTNAME('expression'<, start>)
Searches a character string for an invalid character
in a SAS variable name under VALIDVARNAME=V7, and returns the first
character position at which that character is found.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
NOTNAME('expression'<, start>)
Searches a character string for an invalid character
in a SAS variable name under VALIDVARNAME=V7, and returns the first
character position at which that character is found.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
NOTNAME(string <, start>)
Searches a character string for an invalid character
in a SAS variable name under VALIDVARNAME=V7, and returns the first
position at which that character is found.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
NOTPRINT('expression'<, start>)
Searches a character string for a nonprintable character,
and returns the first character position at which that character is
found.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
NOTPRINT(string <, start>)
Searches a character string for a nonprintable character,
and returns the first position at which that character is found.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
NOTPUNCT('expression'<, start>)
Searches a character string for a character that
is not a punctuation character, and returns the first character position
at which that character is found.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
NOTPUNCT('expression'<, start>)
Searches a character string for a character that
is not a punctuation character, and returns the first character position
at which that character is found.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
NOTPUNCT(string <, start>)
Searches a character string for a character that
is not a punctuation character, and returns the first position at
which that character is found.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
NOTSPACE('expression'<, start>)
Searches a character string for a character that is not a whitespace character
(blank, horizontal and vertical tab, carriage return, line feed, and form feed), and
returns
the first character position at which that character is found.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
NOTSPACE('expression'<, start>)
Searches a character string for a character that is not a whitespace character
(blank, horizontal and vertical tab, carriage return, line feed, and form feed), and
returns
the first character position at which that character is found.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
NOTSPACE(string <, start>)
Searches a character string for a character that
is not a whitespace character (blank, horizontal and vertical tab,
carriage return, line feed, and form feed), and returns the first
position at which that character is found.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
NOTUPPER('expression'<, start>)
Searches a character string for a character that
is not an uppercase letter, and returns the first character position
at which that character is found.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
NOTUPPER('expression'<, start>)
Searches a character string for a character that
is not an uppercase letter, and returns the first character position
at which that character is found.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
NOTUPPER(string <, start>)
Searches a character string for a character that
is not an uppercase letter, and returns the first position at which
that character is found.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
NOTXDIGIT('expression'<, start>)
Searches a character string for a character that
is not a hexadecimal character, and returns the first character position
at which that character is found.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
NOTXDIGIT('expression'<, start>)
Searches a character string for a character that
is not a hexadecimal character, and returns the first character position
at which that character is found.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
NOTXDIGIT(string <, start>)
Searches a character string for a character that
is not a hexadecimal character, and returns the first position at
which that character is found.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
NVALID(string <, validvarname>)
Checks the validity of a character string for use
as a SAS variable name.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
OCTET_LENGTH(expression)
Returns the number of bytes in a string of any data
type.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
PROPCASE(argument <, delimiters>)
Converts all words in an argument to proper case.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
QUOTE(expression)
Adds double quotation marks to a character value.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
QUOTE(expression)
Adds double quotation marks to a character value.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
QUOTE(argument-1, argument-2)
Adds double quotation marks to a character value.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
RANK(expression)
Returns the position of a character in the ASCII
collating sequence.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
RANK(expression)
Returns the position of a character in the ASCII
collating sequence.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
RANK(x)
Returns the position of a character in the ASCII
collating sequence.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
REPEAT(expression, n)
Repeats a character expression.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
REPEAT(expression, n)
Repeats a character expression.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
REPEAT(argument, n)
Returns a character value that consists of the first
argument repeated n+1 times.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
REVERSE(expression)
Reverses a character expression.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
REVERSE(expression)
Reverses a character expression.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
REVERSE(argument)
Reverses a character string.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
RIGHT(expression)
Right aligns a character expression.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
RIGHT(argument)
Right aligns a character expression.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
SCAN(expression, n <, delimiters<, modifier>>)
Returns the nth
word from a character expression.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
SCAN(expression, n <, delimiters<, modifier>>)
Returns the nth
word from a character expression.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
SCAN(string, count <, character-list <, modifier>>)
Returns the nth
word from a character string.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
SHA256('string')
Returns the result of the message digest of a specified
string.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
SHA256(message)
Returns an SHA256 message digest as a 32-byte binary string for a message
consisting of a character string.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
SHA256HEX('string', string_indicator);
Returns the result of the message digest of a specified
string and converts the string to hexadecimal representation.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
SHA256HEX('message', flag)
Returns the SHA256 digest for a specified message,
and the digest is provided in hexadecimal representation.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
SHA256HMACHEX('key',
'message' <string-indicator>);
Returns the result of the message digest of a specified
string by using the Hash-based Message Authentication (HMAC) algorithm.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
SHA256HMACHEX('key',
'message'
<, flag>);
Returns the result of the message digest of a specified
string using the HMAC algorithm.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
SORT(variable)
Sorts a list of variables.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
SOUNDEX(argument)
Encodes a string to facilitate searching.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
SPEDIS(query, keyword)
Determines the likelihood of two words matching,
expressed as the asymmetric spelling distance between the two words.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
STRIP(expression)
Returns a character string with all leading and
trailing blanks removed.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
STRIP(string)
Returns a character string with all leading and
trailing blanks removed.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
SUBPAD(string, position <, length>)
Returns a substring that has a length that you specify,
using blank padding if necessary.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
SUBSTR (character-variable, position-expression <, length-expression>)
= characters-to-replace
Replaces content in a character variable.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
SUBSTR(variable, position <, length>)=characters-to-replace
Replaces character value contents.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
SUBSTR(character-expression, position-expression <, length-expression>)
Extracts a substring from an argument.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
SUBSTR(string, position <, length>)
Extracts a substring from an argument.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
SUBSTR(character-expression, position-expression <, length-expression>)
Extracts a substring from an argument.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
SUBSTRING(character-expression FROM position <FOR length>)
Extracts a substring from a character string.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
SUBSTRN(expression, position-expression<, length-expression>)
Returns a substring, allowing a result with a length
of zero.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
SUBSTRN(string, position <, length>)
Returns a substring, allowing a result with a length
of zero.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
TRANSLATE(expression, to-characters, from-characters)
Replaces specific characters in a character expression.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
TRANSLATE(expression, to-characters, from-characters)
Replaces specific characters in a character expression.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
TRANSLATE(source, to-1, from-1 <, ...to-n, from-n>)
Replaces specific characters in a character expression.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
TRANSTRN(source-expression, target-expression, replacement-expression)
Replaces or removes all occurrences of a substring
in a character string.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
TRANSTRN(source-expression, target-expression, replacement-expression)
Replaces or removes all occurrences of a substring
in a character string.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
TRANSTRN(source, target, replacement)
Replaces or removes all occurrences of a substring
in a character string.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
TRANTAB(string, trantab_name)
Transcodes data by using the specified translation
table.
Product: Base SAS
Document: SAS National Language Support (NLS) Reference for SAS Viya Workbench
| |
|
TRANWRD(source-expression, target-expression, replacement-expression)
Replaces all occurrences of a substring in a character string.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
TRANWRD(source-expression, target-expression, replacement-expression)
Replaces all occurrences of a substring in a character string.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
TRANWRD(source, target, replacement)
Replaces all occurrences of a substring in a character
string.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
TRIM('expression')
Removes trailing blanks from a character expression,
and returns a string with a length of zero if the expression is missing.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
TRIM(<BOTH | LEADING | TRAILING> <trim-character> FROM column)
Removes leading characters, trailing characters,
or both from a character string.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
TRIM(argument)
Removes trailing blanks from a character string
and returns one blank if the string is missing.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
TRIMN(argument)
Removes trailing blanks from character expressions
and returns a string with a length of zero if the expression is missing.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
TYPEOF(column)
Returns a value that indicates whether the argument
is character or numeric.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
STR=UNICODE(<instr> (,<Unicode
type> ))
Converts Unicode characters to the current SAS session
encoding.
Product: Base SAS
Document: SAS National Language Support (NLS) Reference for SAS Viya Workbench
| |
|
STR=UNICODEC(<instr> (,<Unicode
type> ))
Converts characters in the current SAS session encoding
to Unicode characters.
Product: Base SAS
Document: SAS National Language Support (NLS) Reference for SAS Viya Workbench
| |
|
UNICODEWIDTH()
Specifies the length of a display unit for the Unicode
data.
Product: Base SAS
Document: SAS National Language Support (NLS) Reference for SAS Viya Workbench
| |
|
UPCASE(expression)
Converts all letters in an argument to uppercase.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
UPCASE(expression)
Converts all letters in an argument to uppercase.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
UPCASE(argument)
Converts all lowercase single-width English alphabet
letters in an argument to uppercase.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
VERIFY(target-expression, search–expression)
Returns the position of the first character that
is unique to an expression.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
VERIFY(target-expression, search–expression)
Returns the position of the first character that
is unique to an expression.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
VERIFY(source, excerpt-1 <, ...excerpt-n>)
Returns the position of the first character in a
string that is not in specified data strings.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
WHICHC(search-expression, expression-list-item-1, expression-list-item-2
<, ...expression-list-item-n>) Returns the first position of a character string
from a list of character strings.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
WHICHC(search-expression, expression-list-item-1, expression-list-item-2
<, ...expression-list-item-n>) Returns the first position of a character string
from a list of character strings.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
|
Character Manipulation
|
Name
|
Syntax and Description
|
|---|---|
|
KCHARLIST(modifier)
Returns the character list according to the modifier.
Product: Base SAS
Document: SAS National Language Support (NLS) Reference for SAS Viya Workbench
| |
|
KCOMPARE(source,<pos, count, > findstr,<modifiers>)
Returns the result of a comparison of character
expressions.
Product: Base SAS
Document: SAS National Language Support (NLS) Reference for SAS Viya Workbench
| |
|
KCOMPRESS(source,<characters-to-remove>, <modifier(s)>)
Removes specified characters from a character expression.
Product: Base SAS
Document: SAS National Language Support (NLS) Reference for SAS Viya Workbench
| |
|
KCOUNT(source)
Returns the number of double-byte characters in
an expression.
Product: Base SAS
Document: SAS National Language Support (NLS) Reference for SAS Viya Workbench
| |
|
KCOUNTC(string,character-list,<modifier(s)>);
counts individual characters in a character string.
Product: Base SAS
Document: SAS National Language Support (NLS) Reference for SAS Viya Workbench
| |
|
KCOUNTW(<string>,<character-list>,<modifier(s)>);
Counts the number of words in a character string.
Product: Base SAS
Document: SAS National Language Support (NLS) Reference for SAS Viya Workbench
| |
|
KCOUNTX(string,substring,<modifier(s)>);
Counts the number of times that a specified substring
appears within a character string.
Product: Base SAS
Document: SAS National Language Support (NLS) Reference for SAS Viya Workbench
| |
|
KFIND(string,substring,<start-position>,<modifier(s)>)
KFIND(string,substring,<modifier(s)>,<start-position>)
Searches for a specific substring of characters
within a character string.
Product: Base SAS
Document: SAS National Language Support (NLS) Reference for SAS Viya Workbench
| |
|
KFINDC(string,<character-list>)
KFINDC(string,character-list,<modifier(s)>)
KFINDC(string,character-list,modifier(s),<start-position>)
KFINDC(string,character-list,<start-position>,<modifier(s)>)
Searches a string for any character in a list of
characters.
Product: Base SAS
Document: SAS National Language Support (NLS) Reference for SAS Viya Workbench
| |
|
KFINDW(string,word,<character-list>)
KFINDW(string,word,character-list,modifier(s),<start-position>)
KFINDW(string,word,character-list,start-position,<modifier(s)>)
KFINDW(string,word,start-position,<character-list,modifier(s)>)
Returns the character position of a word in a string
or the number of the word in a string.
Product: Base SAS
Document: SAS National Language Support (NLS) Reference for SAS Viya Workbench
| |
|
KINDEX(source, excerpt)
Searches a character expression for a string of
characters.
Product: Base SAS
Document: SAS National Language Support (NLS) Reference for SAS Viya Workbench
| |
|
KINDEXB(source, excerpt)
Searches a character expression for specified characters
and returns byte-based
values.
Product: Base SAS
Document: SAS National Language Support (NLS) Reference for SAS Viya Workbench
| |
|
KINDEXC(source, excerpt-1, …excerpt-n)
Searches a character expression for specified characters
and returns character-based values.
Product: Base SAS
Document: SAS National Language Support (NLS) Reference for SAS Viya Workbench
| |
|
KINDEXCB(source, excerpt-1, …, excerpt-n)
Searches a character expression for specified characters
and returns byte-based values.
Product: Base SAS
Document: SAS National Language Support (NLS) Reference for SAS Viya Workbench
| |
|
KLENGTH(argument)
Returns the length, in characters, of an argument.
Product: Base SAS
Document: SAS National Language Support (NLS) Reference for SAS Viya Workbench
| |
|
KLOWCASE(argument)
Converts the uppercase alphabetic letters to lowercase
letters.
Product: Base SAS
Document: SAS National Language Support (NLS) Reference for SAS Viya Workbench
| |
|
KNEXTCHAR(text,offset)
Returns a character from a string at a specified
byte offset.
Product: Base SAS
Document: SAS National Language Support (NLS) Reference for SAS Viya Workbench
| |
|
byte_offset=KOFFSET(text<,character_position>);
Returns the byte offset from the character
position.
Product: Base SAS
Document: SAS National Language Support (NLS) Reference for SAS Viya Workbench
| |
|
str=KPROPCASE(<instr> ,
(<options> ))
Converts Chinese, Japanese, Korean, Taiwanese (CJKT)
characters.
Product: Base SAS
Document: SAS National Language Support (NLS) Reference for SAS Viya Workbench
| |
|
str=KPROPCHAR(<instr> )
Converts Unicode to the corresponding characters
enclosed in parenthesis.
Product: Base SAS
Document: SAS National Language Support (NLS) Reference for SAS Viya Workbench
| |
|
str=KPROPDATA(<instr>, <options>, <input encode name>, <output encode name>)
Converts text between encodings and handles characters that cannot be represented
in the target encoding. KPROPDATA is designed for data cleansing and encoding compatibility
in
multilingual workflows.
Product: Base SAS
Document: SAS National Language Support (NLS) Reference for SAS Viya Workbench
| |
|
KREVERSE(argument)
Reverses a character expression.
Product: Base SAS
Document: SAS National Language Support (NLS) Reference for SAS Viya Workbench
| |
|
KRIGHT(argument)
Right-aligns a character expression by trimming
trailing DBCS blanks and SO/SI.
Product: Base SAS
Document: SAS National Language Support (NLS) Reference for SAS Viya Workbench
| |
|
KSCAN(argument,n<, delimiters> )
Selects a specified word from a character expression.
Product: Base SAS
Document: SAS National Language Support (NLS) Reference for SAS Viya Workbench
| |
|
KSCANX(string,count,<character-list>,<modifier>)
Selects a specified word from a character expression
using a modifier to process the function’s action.
Product: Base SAS
Document: SAS National Language Support (NLS) Reference for SAS Viya Workbench
| |
|
KSTRCAT(argument-1, argument-2<, … argument-n> )
Concatenates two or more character expressions.
Product: Base SAS
Document: SAS National Language Support (NLS) Reference for SAS Viya Workbench
| |
|
KSUBSTR(argument, position<,n> )
Extracts a substring from an argument.
Product: Base SAS
Document: SAS National Language Support (NLS) Reference for SAS Viya Workbench
| |
|
KSUBSTRB(argument, position<,n> )
Extracts a substring from an argument according
to the byte position of the substring in the argument.
Product: Base SAS
Document: SAS National Language Support (NLS) Reference for SAS Viya Workbench
| |
|
KSUBSTRN(string,position,<length>)
Returns a substring, allowing a result with a length
of zero.
Product: Base SAS
Document: SAS National Language Support (NLS) Reference for SAS Viya Workbench
| |
|
KTRANSLATE(source,to-1,from-1<,…to-n,from-n> )
Replaces specified characters in a character expression.
Product: Base SAS
Document: SAS National Language Support (NLS) Reference for SAS Viya Workbench
| |
|
KTRUNCATE(argument, number, length)
Truncates a string to a specified length in byte unit without breaking multibyte
characters.
Product: Base SAS
Document: SAS National Language Support (NLS) Reference for SAS Viya Workbench
| |
|
KUPCASE(argument)
Converts the lowercase alphabetic letters to uppercase
letters.
Product: Base SAS
Document: SAS National Language Support (NLS) Reference for SAS Viya Workbench
| |
|
KUPDATE(argument,position,n<, characters-to-replace>)
KUPDATE(argument,position,<,n>,
characters-to-replace)
Replaces character value contents.
Product: Base SAS
Document: SAS National Language Support (NLS) Reference for SAS Viya Workbench
| |
|
KUPDATEB(argument, position, n<,characters-to-replace> )
KUPDATEB(argument, position <, n> , characters-to-replace)
Replaces the contents of the character value according
to the byte position of the character value in the argument.
Product: Base SAS
Document: SAS National Language Support (NLS) Reference for SAS Viya Workbench
| |
|
KUPDATES(argument,position,n<, characters-to-replace> )
KUPDATES(argument,position<,n> , characters-to-replace)
Replaces character value contents.
Product: Base SAS
Document: SAS National Language Support (NLS) Reference for SAS Viya Workbench
| |
|
KVERIFY(source, excerpt-1, ...excerpt-n)
Returns the position of the first character (character-based
value) that is unique to an expression.
Product: Base SAS
Document: SAS National Language Support (NLS) Reference for SAS Viya Workbench
| |
|
KVERIFYB(source, excerpt-1,<excerpt-n>)
Returns the position of the first character (byte-based
value) that is unique to an expression.
Product: Base SAS
Document: SAS National Language Support (NLS) Reference for SAS Viya Workbench
|
Character String Matching
|
Name
|
Syntax and Description
|
|---|---|
|
PRXCHANGE(perl-regular-expression | regular-expression-id, times, source)
Performs a pattern-matching replacement.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
PRXCHANGE(perl-regular-expression | regular-expression-id, times, source)
Performs a pattern-matching replacement.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
PRXMATCH(perl-regular-expression, source)
Searches for a pattern match and returns the position
at which the pattern is found.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
PRXMATCH(regular-expression-id | perl-regular-expression, source)
Searches for a pattern match and returns the position
at which the pattern is found.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
PRXPAREN(regular-expression-id)
Returns the last bracket match for which there is a match in a
pattern.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
PRXPAREN(regular-expression-id)
Returns the last bracket match for which there is
a match in a pattern.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
regular-expression-id=PRXPARSE(perl-regular-expression)
Compiles a Perl regular expression (PRX) that can
be used for pattern matching of a character value.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
PRXPARSE(perl-regular-expression)
Compiles a Perl regular expression (PRX) that can
be used for pattern matching of a character value.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
PRXPOSN(regular-expression-id, capture-buffer, source)
Returns a character string that contains the value
for a capture buffer.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
PRXPOSN(regular-expression-id, capture-buffer, source)
Returns a character string that contains the value
for a capture buffer.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
|
Client Only
|
Name
|
Syntax and Description
|
|---|---|
|
ADDRLONG(variable)
Returns the memory address of a variable on a 64-bit
platform.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
|
Combinatorial
|
Name
|
Syntax and Description
|
|---|---|
|
ALLCOMB(count, k, variable-1, …, variable-n)
Generates all combinations of the values of n variables
taken k at a time in a minimal
change order.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
ALLPERM(count, variable-1 <,variable-2 ..., variable-n>)
Generates all permutations of the values of several
variables in a minimal change order.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
COMB(n, r)
Computes the number of combinations of n elements
taken r at a time.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
COMB(n, r)
Computes the number of combinations of n elements
taken r at a time.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
COMB(n, r)
Computes the number of combinations of n elements
taken r at a time.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
GRAYCODE(k, numeric-variable-1,
..., numeric-variable-n)
GRAYCODE(k, character-variable <, n <, in-out>>)
Generates all subsets of n items
in a minimal change order.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
LCOMB(n, r)
Computes the logarithm of the COMB function, which
is the logarithm of the number of combinations of n objects
taken r at a time.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
LCOMB(n, r)
Computes the logarithm of the COMB function, which
is the logarithm of the number of combinations of n objects
taken r at a time.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
LCOMB(n, r)
Computes the logarithm of the COMB function, which
is the logarithm of the number of combinations of n objects
taken r at a time.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
LEXCOMB(count, k, variable-1,
…, variable-n)
Generates all distinct combinations of the nonmissing
values of n variables taken k at
a time in lexicographic order.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
LEXCOMBI(n, k, index-1, …, k)
Generates all combinations of the indices of n objects
taken k at a time in lexicographic
order.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
LEXPERK(count, k, variable-1,
…, variable-n)
Generates all distinct permutations of the nonmissing
values of n variables taken k at
a time in lexicographic order.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
LEXPERM(count, variable-1 <,
…, variable-N>)
Generates all distinct permutations of the nonmissing
values of several variables in lexicographic order.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
LFACT(n)
Computes the logarithm of the FACT (factorial) function.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
LFACT(n)
Computes the logarithm of the FACT (factorial) function.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
LFACT(n)
Computes the logarithm of the FACT (factorial) function.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
LPERM (n <, r>)
Computes the logarithm of the number of permutations
of n objects, and can include r number of elements.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
LPERM(n <, r>)
Computes the logarithm of the PERM function, which
is the logarithm of the number of permutations of n objects,
with the option of including r number
of elements.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
PERM(n<, r>)
Computes the number of permutations of n items
that are taken r at a time.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
PERM(n<, r>)
Computes the number of permutations of n items
that are taken r at a time.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
PERM(n <, r>)
Computes the number of permutations of n items
that are taken r at a time.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
|
Compute Implicit Values
|
Name
|
Syntax and Description
|
|---|---|
|
answer = SOLVE('function-name', options-array, expected-value,
argument-1 <, argument-2, ...>); Computes implicit values of a function using the
Gauss-Newton method.
Product: Base SAS
Document: Base SAS Procedures for SAS Viya Workbench
|
Compute Server
|
Name
|
Syntax and Description
|
|---|---|
|
COMPSRV_OVAL(macro-variable-name);
Returns the original, possibly unsafe, value of
an input parameter or global macro variable that is passed into the
Compute server.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
%SYSCALL STPSRV_UNQUOTE2(macro-variable-name)
Unmasks matched pairs of quotation marks in an input
parameter or global macro variable.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
|
DBCS
|
Name
|
Syntax and Description
|
|---|---|
|
%KCMPRES (text | text
expression)
Compresses multiple blanks and removes leading and
trailing blanks.
Product: Base SAS
Document: SAS National Language Support (NLS) Reference for SAS Viya Workbench
| |
|
KLEFT(argument)
Left-aligns a character expression by removing unnecessary
leading DBCS blanks and SO/SI.
Product: Base SAS
Document: SAS National Language Support (NLS) Reference for SAS Viya Workbench
| |
|
KTRIM(argument)
Removes trailing DBCS blanks and SO/SI from character
expressions.
Product: Base SAS
Document: SAS National Language Support (NLS) Reference for SAS Viya Workbench
| |
|
%QKCMPRES (text | text
expression)
Compresses multiple blanks and removes leading and
trailing blanks.
Product: Base SAS
Document: SAS National Language Support (NLS) Reference for SAS Viya Workbench
|
Date and Time
|
Name
|
Syntax and Description
|
|---|---|
|
CURRENT_DATE
Returns the current date for the time zone.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
CURRENT_TIME
Returns the current time for your time zone.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
CURRENT_TIME_GMT()
Returns the current GMT time.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
CURRENT_TIMESTAMP
Returns the date and time for your time zone.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
CURRENT_TIMESTAMP_GMT()
Returns the current GMT date and time.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
DATDIF(sdate, edate, basis)
Returns the number of days between two dates after
computing the difference between the dates according to specified
day count conventions.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
DATDIF(sdate, edate, basis)
Returns the number of days between two dates after
computing the difference between the dates according to specified
day count conventions.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
DATDIF(start-date, end-date, basis)
Returns the number of days between two dates after
computing the difference between the dates according to specified
day count conventions.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
DATE( )
Returns the current date as a SAS date value.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
DATE( )
Returns the current date as a SAS date value.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
DATE()
Returns the current date as a SAS date value.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
DATEJUL(julian-date)
Converts a Julian date to a SAS date value.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
DATEJUL(julian-date)
Converts a Julian date to a SAS date value.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
DATEJUL(julian-date)
Converts a Julian date to a SAS date value.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
DATEPART(datetime)
Extracts the date from a SAS datetime value.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
DATEPART(ts)
Returns the date as year, month, and day.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
DATEPART(datetime)
Extracts the date from a SAS datetime value.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
DATETIME( )
Returns the current date and time of day as a SAS
datetime value.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
DATETIME( )
Returns the current date and time of day as a SAS
datetime value.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
DATETIME()
Returns the current date and time of day as a SAS
datetime value.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
DAY(date)
Returns the day of the month from a SAS date value.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
DAY(date | datetime)
Returns the numeric day of the month from a date
or datetime value.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
DAY(date)
Returns the day of the month from a SAS date value.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
DHMS(date, hour, minute, second)
Returns a SAS datetime value from date, hour, minute,
and second values.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
DHMS(date, hour, minute, second)
Returns a SAS datetime value from date, hour, minute,
and second values.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
DHMS(date, hour, minute, second)
Returns a SAS datetime value from date, hour, minute,
and second values.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
HMS(hour, minute, second)
Returns a SAS time value from hour, minute, and
second values.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
HMS(hour, minute, second)
Returns a SAS time value from hour, minute, and
second values.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
HMS(hour, minute, second)
Returns a SAS time value from hour, minute, and
second values.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
HOLIDAY('holiday', year)
Returns a SAS date value of a specified holiday
for a specified year.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
HOLIDAY('holiday', year)
Returns a SAS date value of a specified holiday
for a specified year.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
HOLIDAY('holiday', year)
Returns a SAS date value of a specified holiday
for a specified year.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
HOLIDAYCK('holiday',date1, date2 <,'locale'>)
Returns the number of occurrences of the holiday
value between date1 and date2.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
HOLIDAYCOUNT(date<,'locale'>)
Returns the number of holidays defined for a SAS
date value.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
HOLIDAYNAME(date<,n<,'locale'>>)
Returns the name of the holiday that corresponds
to the SAS date or a blank string if a holiday is not defined for
the SAS date.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
HOLIDAYNX('holiday',date<,n<,'locale'>>)
Returns the nth
occurrence of the holiday relative to the date argument.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
HOLIDAYNY('holiday',year<,n<,'locale'>>)
Returns the nth
occurrence of the holiday for the year.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
HOLIDAYTEST('holiday',date<,'locale'>)
Returns 1 if the holiday occurs on the SAS date
value.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
HOUR(time | datetime)
Returns the hour from a SAS time or datetime value.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
HOUR(time | datetime)
Returns the hour from a time or datetime value.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
HOUR(time | datetime)
Returns the hour from a SAS time or datetime value.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
INTCINDEX({interval<multiple><.shift-index>}, date-time-value)
Returns the cycle index when a date, time, or timestamp
interval and value are specified.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
INTCINDEX({interval<multiple><.shift-index>}, date-time-value)
Returns the cycle index when a date, time, or timestamp
interval and value are specified.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
INTCINDEX(interval <<multiple.<shift-index>>>, date-time-value)
Returns the cycle index when a date, time, or datetime
interval and value are specified.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
INTCK({interval<multiple><.shift-index>}, start-date, end-date<, 'method'>)
INTCK(start-date, end-date<, 'method'>)
Returns the number of interval boundaries of a given
kind that lie between two SAS dates, times, or timestamp values encoded
as DOUBLE.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
INTCK({interval<multiple><.shift-index>}, start-date, end-date<, 'method'>)
INTCK(start-date, end-date<, 'method'>)
Returns the number of interval boundaries of a given
kind that lie between two SAS dates, times, or timestamp values encoded
as DOUBLE.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
INTCK(interval <multiple> <.shift-index>, start-date, end-date, <'method'>)
INTCK(custom-interval, start-date, end-date, <'method'>)
Returns the number of interval boundaries of a given
kind that lie between two dates, times, or datetime values.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
INTCYCLE({interval<multiple><.shift-index>}<, seasonality>)
Returns the date, time, or datetime interval at
the next higher seasonal cycle when a date, time, or datetime interval
is specified.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
INTCYCLE({interval<multiple><.shift-index>}<, seasonality>)
Returns the date, time, or datetime interval at
the next higher seasonal cycle when a date, time, or datetime interval
is specified.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
INTCYCLE(interval <<multiple.<shift-index>>>, <seasonality>)
Returns the date, time, or datetime interval at
the next higher seasonal cycle when a date, time, or datetime interval
is specified.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
INTDT(expression, increment)
Specifies the number of days to add to a DATE value.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
INTFIT(expresssion-1, expression-2,
'type')
Returns a time interval that is aligned between
two dates.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
INTFIT(expresssion-1, expression-2,
'type')
Returns a time interval that is aligned between
two dates.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
INTFIT(argument-1, argument-2,
'type')
Returns a time interval that is aligned between
two dates.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
INTFMT(interval <<multiple.<.shift-index>>>, 'size')
Returns a recommended SAS format when a date, time,
or datetime interval is specified.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
INTGET(date-1, date-2, date-3)
Returns a time interval based on three date or datetime
values.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
INTGET(date-1, date-2, date-3)
Returns a time interval based on three date or datetime
values.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
INTGET(date-1, date-2, date-3)
Returns a time interval based on three date or datetime
values.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
INTINDEX({interval<multiple><.shift-index>}, date-value<, seasonality>)
Returns the seasonal index when a date, time, or
timestamp interval and value are specified.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
INTINDEX({interval<multiple><.shift-index>}, date-value<, seasonality>)
Returns the seasonal index when a date, time, or
timestamp interval and value are specified.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
INTINDEX(interval <<multiple.<shift-index>>>, date-value, <seasonality>)
Returns the seasonal index when a date, time, or
datetime interval and value are specified.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
INTNEST(interval1, interval2)
Calculates the number of whole periods of the smaller
interval that will fit into the period of the larger interval.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
INTNX({interval<multiple><.shift-index>}, start-from, increment<, 'alignment'>)
INTNX(start-from, increment<, 'alignment'>)
Increments a SAS date, time, or datetime value encoded
as a DOUBLE, and returns a SAS date, time, or datetime value encoded
as a DOUBLE.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
INTNX({interval<multiple><.shift-index>}, start-from, increment<, 'alignment'>)
INTNX(start-from, increment<, 'alignment'>)
Increments a SAS date, time, or datetime value encoded
as a DOUBLE, and returns a SAS date, time, or datetime value encoded
as a DOUBLE.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
INTNX(interval <multiple><.shift-index>, start-from, increment <, 'alignment'>)
INTNX(custom-interval, start-from, increment <, 'alignment'>)
Increments a date, time, or datetime value by a
given time interval, and returns a date, time, or datetime value.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
INTSEAS({interval<multiple><.shift-index>}<, seasonality>)
Returns the length of the seasonal cycle when a
date, time, or datetime interval is specified.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
INTSEAS({interval<multiple><.shift-index>}<, seasonality>)
Returns the length of the seasonal cycle when a
date, time, or datetime interval is specified.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
INTSEAS(interval <multiple.<shift-index>> <, seasonality>)
Returns the length of the seasonal cycle when a
date, time, or datetime interval is specified.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
INTSHIFT(interval<multiple><.shift-index>)
Returns the shift interval that corresponds to the
base interval.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
INTSHIFT(interval<multiple><.shift-index>)
Returns the shift interval that corresponds to the
base interval.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
INTSHIFT(interval <<multiple.<shift-index>>>)
Returns the shift interval that corresponds to the
base interval.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
INTTEST(interval<multiple><.shift-index>)
Returns 1 if a time interval is valid, and returns
0 if a time interval is invalid.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
INTTEST(interval<multiple><.shift-index>)
Returns 1 if a time interval is valid, and returns
0 if a time interval is invalid.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
INTTEST(interval <<multiple.<shift-index>>>)
Returns 1 if a time interval is valid, and returns
0 if a time interval is invalid.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
INTTS(expression, increment)
Specifies the number of seconds to add to a TIMESTAMP
value.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
JULDATE(date)
Returns the Julian date from a SAS date value.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
JULDATE(date)
Returns the Julian date from a SAS date value.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
JULDATE(date)
Returns the Julian date from a SAS date value.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
JULDATE7(date)
Returns a seven-digit Julian date from a SAS date
value.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
JULDATE7(date)
Returns a seven-digit Julian date from a SAS date
value.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
JULDATE7(date)
Returns a seven-digit Julian date from a SAS date
value.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
MAKEDATE(y, m, d)
Returns the date as year, month, and day.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
MAKETIME(h, m, s)
Returns the time as hours, minutes, and seconds.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
MAKETIMESTAMP(d,
t) | (y, m, d, h, m, s)
Returns the timestamp.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
MDY(month, day, year)
Returns a SAS date value from month, day, and year
values.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
MDY(month, day, year)
Returns a SAS date value from month, day, and year
values.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
MDY(month, day, year)
Returns a SAS date value from month, day, and year
values.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
MINUTE(time | datetime)
Returns the minute from a SAS time or datetime value.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
MINUTE(time | datetime)
Returns the minute from a time or datetime value.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
MINUTE(time | datetime)
Returns the minute from a SAS time or datetime value.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
MONTH(date)
Returns a number that represents the month from
a SAS date value.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
MONTH(date | datetime)
Returns the numeric month from a date or datetime
value.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
MONTH(date)
Returns the month from a SAS date value.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
NLDATE(date,descriptor)
Converts the SAS date value to the date value of
the specified locale by using the date format descriptors.
Product: Base SAS
Document: SAS National Language Support (NLS) Reference for SAS Viya Workbench
| |
|
NLDATM(datetime,descriptor)
Converts the SAS datetime value to the time value
of the specified locale by using the datetime-format descriptors.
Product: Base SAS
Document: SAS National Language Support (NLS) Reference for SAS Viya Workbench
| |
|
NLTIME(time|datetime,descriptor,startpos)
Converts the SAS time or the datetime value to the
time value of the specified locale by using the NLTIME descriptors.
Product: Base SAS
Document: SAS National Language Support (NLS) Reference for SAS Viya Workbench
| |
|
NWKDOM(n, weekday, month, year)
Returns the date for the nth
occurrence of a weekday for the specified month and year.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
NWKDOM(n, weekday, month, year)
Returns the date for the nth
occurrence of a weekday for the specified month and year.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
NWKDOM(n, weekday, month, year)
Returns the date for the nth
occurrence of a weekday for the specified month and year.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
QTR(date)
Returns the quarter of the year from a SAS date
value.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
QTR(date)
Returns the quarter of the year from a SAS date
value.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
QTR(date)
Returns the quarter of the year from a SAS date
value.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
SECOND(time | datetime)
Returns the second from a SAS time or datetime value.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
SECOND(time | datetime)
Returns the second from a time or datetime value.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
SECOND(time | datetime)
Returns the seconds and milliseconds from a SAS
time or datetime value.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
TIME( )
Returns the current time of day as a numeric SAS
time value.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
TIME()
Returns the current time of day as a numeric SAS
time value.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
TIMEPART(datetime)
Extracts a time value from a SAS datetime value.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
TIMEPART(ts)
Returns the time as hours, minutes, and seconds.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
TIMEPART(datetime)
Extracts a time value from a SAS datetime value.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
TO_DATE(date)
Returns a DATE value from a DOUBLE value that specifies
a SAS date value.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
TO_DOUBLE (date | time | timestamp)
Returns a DOUBLE value that specifies a SAS date,
time, or datetime value, from a DATE, TIME, or TIMESTAMP value.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
TO_TIME(date)
Returns a TIME value from a DOUBLE value that specifies
a SAS time value.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
TO_TIMESTAMP(date)
Returns a TIMESTAMP value from a DOUBLE value that
specifies a SAS time value.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
TODAY( )
Returns the current date as a numeric SAS date value.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
TODAY( )
Returns the current date as a numeric SAS date value.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
TODAY()
Returns the current date as a numeric SAS date value.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
TZONEDSTNAME()
TZONEDSTNAME(<time-zone-id>)
Returns a daylight savings time name.
Product: Base SAS
Document: SAS National Language Support (NLS) Reference for SAS Viya Workbench
| |
|
TZONEDSTOFF()
TZONEDSTOFF(<time-zone-id>)
Returns the time zone offset value for the specified
daylight savings time.
Product: Base SAS
Document: SAS National Language Support (NLS) Reference for SAS Viya Workbench
| |
|
TZONEID(<time-zone-id>)
Returns the current time zone ID.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
TZONEID(<time-zone-id>)
Returns the current time zone ID.
Product: Base SAS
Document: SAS National Language Support (NLS) Reference for SAS Viya Workbench
| |
|
TZONENAME()
TZONENAME(<time-zone-id,datetime>)
Returns the current standard or daylight savings
time, time zone name.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
TZONENAME()
TZONENAME(<time-zone-id,datetime>)
Returns the current standard or daylight savings
time, time zone name.
Product: Base SAS
Document: SAS National Language Support (NLS) Reference for SAS Viya Workbench
| |
|
TZONEOFF()
TZONEOFF(<time-zone-id,datetime>)
Returns the user time zone offset.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
TZONEOFF()
TZONEOFF(<time-zone-id,datetime>)
Returns the user time zone offset.
Product: Base SAS
Document: SAS National Language Support (NLS) Reference for SAS Viya Workbench
| |
|
TZONES2U(datetime,<time-zone-id>)
Converts a SAS date time value to a UTC date time
value.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
TZONES2U(datetime,<time-zone-id>)
Converts a SAS date time value to a UTC date time
value.
Product: Base SAS
Document: SAS National Language Support (NLS) Reference for SAS Viya Workbench
| |
|
TZONESTTNAME()
TZONESTTNAME(<time-zone-id>)
Returns a standard time zone name.
Product: Base SAS
Document: SAS National Language Support (NLS) Reference for SAS Viya Workbench
| |
|
TZONESTTOFF()
TZONESTTOFF(<time-zone-id>)
Returns the time zone offset value for the specified
standard time.
Product: Base SAS
Document: SAS National Language Support (NLS) Reference for SAS Viya Workbench
| |
|
TZONEU2S(UTC-date-time value<, time-zone-id>)
Converts a UTC date time value to a SAS date time
value.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
TZONEU2S(UTC-date-time value<, time-zone-id>)
Converts a UTC date time value to a SAS date time
value.
Product: Base SAS
Document: SAS National Language Support (NLS) Reference for SAS Viya Workbench
| |
|
WEEK(<sas-date>, <'descriptor'>)
Returns the week-number value.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
WEEK(<sas-date>, <'descriptor'>)
Returns the week-number value.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
WEEK(<sas-date>, <'descriptor'>)
Returns the week-number value.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
WEEKDAY(expression)
From a SAS date value, returns a whole number that
corresponds to the day of the week.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
WEEKDAY(expression)
From a SAS date value, returns a whole number that
corresponds to the day of the week.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
WEEKDAY(date)
From a SAS date value, returns an integer that corresponds
to the day of the week.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
YEAR(date)
Returns the year from a SAS date value.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
YEAR(date | datetime)
Returns the year from a date or datetime value.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
YEAR(date)
Returns the year from a SAS date value.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
YRDIF(start-date, end-date<, basis>)
Returns the difference in years between two dates
according to specified day count conventions; returns a person’s
age.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
YRDIF(start-date, end-date<, basis>)
Returns the difference in years between two dates
according to specified day count conventions; returns a person’s
age.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
YRDIF(start-date, end-date, < basis>)
Returns the difference in years between two dates
according to specified day count conventions; returns a person’s
age.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
YYQ(year, quarter)
Returns a SAS date value from year and quarter year
values.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
YYQ(year, quarter)
Returns a SAS date value from year and quarter year
values.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
YYQ(year, quarter)
Returns a SAS date value from year and quarter year
values.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
|
Descriptive Statistics
|
Name
|
Syntax and Description
|
|---|---|
|
AVG(<DISTINCT> expression)
Returns the average of all values in a column.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
CMISS(argument <, ...argument,>)
Counts the number of missing arguments.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
CMISS(argument-1 <, argument-2,…, argument-n>)
Counts the number of missing arguments.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
CSS(expression<, ...expression>)
Returns the corrected sum of squares.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
CSS(<DISTINCT>expression)
Returns the corrected sum of squares of all values
in an expression.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
CSS(argument-1<,...argument-n>)
Returns the corrected sum of squares.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
CV(expression-1, expression-2 <, ...expression-n>)
Returns the coefficient of variation.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
CV(expression-1, expression-2 <, ...expression-n>)
Returns the coefficient of variation.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
CV(argument-1,argument-2 <, ...argument-n>)
Returns the coefficient of variation.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
EUCLID(value-1 <, value-2 ...>)
Returns the Euclidean norm of the nonmissing arguments.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
GEOMEAN(expression <, ...expression>)
Returns the geometric mean.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
GEOMEAN(expression <, ...expression>)
Returns the geometric mean.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
GEOMEAN(argument <, argument, ..., argument-n>)
Returns the geometric mean.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
GEOMEANZ(expression <, ...expression>)
Returns the geometric mean, using zero fuzzing.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
GEOMEANZ(expression <, ...expression>)
Returns the geometric mean, using zero fuzzing.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
GEOMEANZ(argument <, argument, ..., argument-n>)
Returns the geometric mean, using zero fuzzing.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
HARMEAN(expression <, ...expression>)
Returns the harmonic mean.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
HARMEAN(expression <, ...expression>)
Returns the harmonic mean.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
HARMEAN(argument <, argument, ..., argument-n>)
Returns the harmonic mean.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
HARMEANZ(expression <, ...expression>)
Returns the harmonic mean, using zero fuzzing.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
HARMEANZ(expression <, ...expression>)
Returns the harmonic mean, using zero fuzzing.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
HARMEANZ(argument <, argument, ..., argument-n>)
Returns the harmonic mean, using zero fuzzing.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
IQR(expression <, ...expression>)
Returns the interquartile range.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
IQR(expression <, ...expression>)
Returns the interquartile range.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
IQR(value-1 <, value-2..., value-n>)
Returns the interquartile range.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
KURTOSIS(expression-1, expression-2, expression-3,
expression-4 <, ...expression-n>)
Returns the kurtosis.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
KURTOSIS(<DISTINCT> expression)
Returns the kurtosis of all values in an expression.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
KURTOSIS(argument-1, argument-2, argument-3, argument-4 <,
…, argument-n>)
Returns the kurtosis.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
LARGEST(k, expression <, ...expression>)
Returns the kth
largest non-null or nonmissing value.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
LARGEST(k, expression <, ...expression>)
Returns the kth
largest non-null or nonmissing value.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
LARGEST(k, value-1 <, value-2 ..., value-n>)
Returns the kth
largest nonmissing value.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
LPNORM(p, value-1 <, value-2 ..., value-n>)
Returns the Lp norm
of the second argument and subsequent nonmissing arguments.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
MAD(expression-1<, ...expression-n>)
Returns the median absolute deviation from the median.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
MAD(expression-1<, ...expression-n>)
Returns the median absolute deviation from the median.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
MAD(value-1 <, value-2..., value-n>)
Returns the median absolute deviation from the median.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
MAX(expression-1, expression-2 <, ...expression-n>)
Returns the largest value from a list of arguments.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
MAX(<DISTINCT> expression)
Returns the maximum value in a column.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
MAX(argument-1 <, argument-2,
..., argument-n>)
Returns the largest value.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
MEAN(expression-1<, ...expression-n>)
Returns the arithmetic mean (average) of the non-null
or nonmissing arguments.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
MEAN(expression-1<, ...expression-n>)
Returns the arithmetic mean (average) of the non-null
or nonmissing arguments.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
MEAN(argument-1 <,
... argument-n>)
Returns the arithmetic mean (average).
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
MEDIAN(expression-1<, ...expression-n >)
Returns the median value.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
MEDIAN(expression-1<, ...expression-n >)
Returns the median value.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
MEDIAN(value–1 <, value–2, ..., value-n>)
Returns the median value.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
MIN(expression-1, expression-2 <, …expression-n>)
Returns the smallest value.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
MIN(<DISTINCT> expression)
Returns the minimum value in an expression.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
MIN(argument-1 <, argument-2, ..., argument-n>)
Returns the smallest value.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
MISSING(numeric-expression | character-expression)
Returns a numeric result that indicates whether
the argument contains a missing value.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
N(argument-1 <, ... argument-n>)
Returns the number of nonmissing numeric values.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
NMISS(expression <, ...expression>)
Returns the number of null and SAS missing numeric
values.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
NMISS(argument-1 <,... argument-n>)
Returns the number of missing numeric values.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
ORDINAL(position, expression-1, expression-2 <, ...expression-n>)
Orders a list of values, and returns a value that
is based on a position in the list.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
ORDINAL(position, expression-1, expression-2 <, ...expression-n>)
Orders a list of values, and returns a value that
is based on a position in the list.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
ORDINAL(k, argument-1, argument-2 <, ...argument-n>)
Returns the kth smallest
of the missing and nonmissing values.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
PCTL<n>(percentage, expression<, ...expression>)
Returns the percentile that corresponds to the percentage.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
PCTL<n>(percentage, expression<, ...expression>)
Returns the percentile that corresponds to the percentage.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
PCTL<n> (percentage, value–1 <, value–2, ..., value-n>)
Returns the percentile that corresponds to the percentage.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
PROBT(<DISTINCT> expression)
Returns the probability from a t distribution of
the values in an expression.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
RANGE(expression <, ...expression>)
Returns the difference between the largest and the
smallest values.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
RANGE(<DISTINCT> expression)
Returns the range between values in an expression.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
RANGE(argument-1 <,
...argument-n>)
Returns the range of the nonmissing values.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
RMS(expression <, ...expression>)
Returns the root mean square.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
RMS(expression <, ...expression>)
Returns the root mean square.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
RMS(argument <, argument, ..., argument-n>)
Returns the root mean square of the nonmissing arguments.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
SKEWNESS(expression-1, expression-2, expression-3 <, ...expression-n>)
Returns the skewness.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
SKEWNESS(<DISTINCT> expression)
Returns the skewness of all values in an expression.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
SKEWNESS(argument-1, argument-2, argument-3 <,...argument-n>)
Returns the skewness of the nonmissing arguments.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
SMALLEST(k, expression <, ...expression>)
Returns the kth
smallest non-null or nonmissing value.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
SMALLEST(k, expression <, ...expression>)
Returns the kth
smallest non-null or nonmissing value.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
SMALLEST(k, value-1 <, value-2..., value-n>)
Returns the kth
smallest nonmissing value.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
STD(expression-1, expression-2 <, ...expression-n>)
Returns the standard deviation.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
STD(expression-1, expression-2 <, ...expression-n>)
Returns the standard deviation.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
STD(argument-1, argument-2 <, ... argument-n>)
Returns the standard deviation of the nonmissing
arguments.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
STDDEV(<DISTINCT> expression)
Returns the statistical standard deviation of all
values in an expression.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
STDERR(expression-1, expression-2 <, ...expression-n>)
Returns the standard error of the mean.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
STDERR(<DISTINCT> expression)
Returns the statistical standard error of all values
in an expression.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
STDERR(argument-1, argument-2 <, ...argument-n>)
Returns the standard error of the mean of the nonmissing
arguments.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
STUDENTS_T(<DISTINCT> expression)
Returns the Student's t distribution of the values
in an expression.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
SUM(expression-1, expression-2 <, ...expression-n>)
Returns the sum of the non-null or nonmissing arguments.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
SUM(<DISTINCT> expression)
Returns the sum of all the values in an expression.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
SUM(argument-1 <, argument-2, ..., argument-n>)
Returns the sum of the nonmissing arguments.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
SUMABS(value-1<, ...value-n>)
Returns the sum of the absolute values of the nonmissing
arguments.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
SUMABS(value-1<, ...value-n>)
Returns the sum of the absolute values of the nonmissing
arguments.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
SUMABS(value-1 <, value-2 ..., value-n>)
Returns the sum of the absolute values of the nonmissing
arguments.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
USS(expression <, ...expression-n>)
Returns the uncorrected sum of squares.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
USS(<DISTINCT> expression)
Returns the uncorrected sum of squares of all the
values in an expression.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
USS(argument-1 <, ...argument-n>)
Returns the uncorrected sum of squares of the nonmissing
arguments.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
VAR(expression-1, expression-2 < ,...expression-n>)
Returns the variance.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
VAR(expression-1, expression-2 < ,...expression-n>)
Returns the variance.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
VAR(argument-1, argument-2 <,
...argument-n>)
Returns the variance of the nonmissing arguments.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
VARIANCE(<DISTINCT> expression)
Returns the measure of the dispersion of all values
in an expression.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
|
Distance
|
Name
|
Syntax and Description
|
|---|---|
|
GEODIST(latitude-1, longitude-1, latitude-2, longitude-2 <,options>)
Returns the geodetic distance between two latitude
and longitude coordinates.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
GEODIST(latitude-1, longitude-1, latitude-2, longitude-2 <, 'options'>)
Returns the geodetic distance between two latitude
and longitude coordinates.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
ZIPCITYDISTANCE(ZIP-code-1, ZIP-code-2)
Returns the geodetic distance between two ZIP code
locations.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
ZIPCITYDISTANCE(ZIP-code-1, ZIP-code-2)
Returns the geodetic distance between two ZIP code
locations.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
|
Encoding
|
Name
|
Syntax and Description
|
|---|---|
|
ENCODCOMPAT(source1,<source2>)
Verifies the transcoding compatibility between two
encodings.
Product: Base SAS
Document: SAS National Language Support (NLS) Reference for SAS Viya Workbench
| |
|
ENCODISVALID(source)
Verifies a valid encoding name.
Product: Base SAS
Document: SAS National Language Support (NLS) Reference for SAS Viya Workbench
|
Error Checking
|
Name
|
Syntax and Description
|
|---|---|
|
GETTHREADERRORSTATUS()
Gets the runtime error status of the current DS2 thread.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
SETTHREADERRORSTATUS(status-value<, 'string'>)
Sets a user-specified error status value for non-fatal runtime errors, and
optionally logs a user-specified message to the SAS log.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
|
External Files
|
Name
|
Syntax and Description
|
|---|---|
|
DCLOSE(directory-id)
Closes a directory that was opened by the DOPEN
function.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
DCREATE(directory-name <, parent-directory>)
Returns the complete pathname of a new, external
directory.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
DINFO(directory-id, information-item)
Returns information about a directory.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
DNUM(directory-id)
Returns the number of members in a directory.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
DOPEN(fileref)
Opens a directory, and returns a directory identifier
value.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
DOPTNAME(directory-id, nval)
Returns directory attribute information.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
DOPTNUM(directory-id)
Returns the number of information items that are
available for a directory.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
DREAD(directory-id, nval)
Returns the name of a directory member.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
DROPNOTE(data-set-id | file-id,
note-id)
Deletes a note marker from a SAS data set or an
external file.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FAPPEND(file-id <, cc>)
Appends the current record to the end of an external
file.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FCLOSE(file-id)
Closes an external file, directory, or directory
member.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FCOL(file-id)
Returns the current column position in the File
Data Buffer (FDB).
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FCOPY('fileref-1',
'fileref-2')
Copies records from one fileref to another fileref,
and returns a value that indicates whether the records were successfully
copied.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FDELETE(fileref | directory)
Deletes an external file or an empty directory.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FEXIST(fileref)
Verifies the existence of an external file that
is associated with a fileref.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FGET(file-id, variable <, length>)
Copies data from the File Data Buffer (FDB) into
a variable.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FILEEXIST(file-name)
Verifies the existence of an external file by its
physical name.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FILENAME(fileref, <filename>
<,device-type>
<, 'host-options'>
<, directory-reference>); [Linux] Assigns or deassigns a fileref to an external file,
directory, or output device.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FILEREF(fileref)
Verifies whether a fileref has
been assigned for the current SAS session.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FINFO(file-id, information-item)
Returns the value of a file information item.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FNOTE(file-id)
Identifies the last record that was read, and returns
a value that the FPOINT function can use.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FOPEN(fileref <, open-mode <, record-length <, record-format>>>)
Opens an external file and returns a file identifier
value.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FOPTNAME(file-id, nval)
Returns the name of an item of information about
an external file.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FOPTNUM(file-id)
Returns the number of information items, such as
filename or record length, that are available for an external file.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FPOINT(file-id, note-id)
Positions the read pointer on the next record to
be read.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FPOS(file-id, nval)
Sets the position of the column pointer in the File
Data Buffer (FDB).
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FPUT(file-id, cval)
Moves data to the File Data Buffer (FDB) of an external
file, starting at the FDB's current column position.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FREAD(file-id)
Reads a record from an external file into the File
Data Buffer (FDB).
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FREWIND(file-id)
Positions the file pointer to the start of the file.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FRLEN(file-id)
Returns the size of the last record that was read,
or, if the file is opened for output, returns the current record size.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FSEP(file-id, character(s) <,
'x' | 'X'>)
Sets the token delimiters for the FGET function.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FWRITE(file-id <, cc>)
Writes a record to an external file.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
MOPEN(directory-id, member-name <, open-mode <, record-length <, record-format>>>)
Opens a file by directory ID and member name, and
returns either the file identifier or a 0.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
PATHNAME((fileref | libref) <, search-ref>)
Returns the physical name of an external file or
a SAS library, or returns a blank.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
RENAME(old-name, new-name <, type <, description <, password <, generation>>>>)
Renames a member of a SAS library, an entry in a
SAS catalog, an external file, or a directory.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
SYSMSG()
Returns error or warning message text from processing
the last data set or external file function.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
SYSRC()
Returns a system error number.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
|
External Routines
|
Name
|
Syntax and Description
|
|---|---|
|
MODEXIST('product-name'
| 'pathname')
Determines whether a software image exists in the
version of SAS that you have installed.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
CALL
MODULE(<control-string>,module,argument-1, ..., argument-n);
MODULEN(<control-string>,module,argument-1, ..., argument-n);
MODULEC(<control-string> ,module,argument-1, ..., argument-n);
CALL MODULEI(<control-string> ,module,argument-1, ..., argument-n);
MODULEIN(<control-string> ,module,argument-1, ..., argument-n)
MODULEIC(<control-string> ,module,argument-1, ..., argument-n);
Calls a specific routine or module that resides
in an external dynamic link library (DLL).
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
MODULEC(<cntl-string, > module-name <, argument-1,
..., argument-n>)
Calls an external routine and returns a character
value.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
MODULEN(<cntl-string, > module-name <, argument-1,
..., argument-n>)
Calls an external routine and returns a numeric
value.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
|
Financial
|
Name
|
Syntax and Description
|
|---|---|
|
BLACKCLPRC(E, t, F, r, sigma)
Calculates call prices for European options on futures,
based on the Black model.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
BLACKCLPRC(E, t, F, r, sigma)
Calculates call prices for European options on futures,
based on the Black model.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
BLACKCLPRC(E, t, F, r, sigma)
Calculates call prices for European options on futures,
based on the Black model.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
BLACKPTPRC(E, t, F, r, sigma)
Calculates put prices for European options on futures,
based on the Black model.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
BLACKPTPRC(E, t, F, r, sigma)
Calculates put prices for European options on futures,
based on the Black model.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
BLACKPTPRC(E, t, F, r, sigma)
Calculates put prices for European options on futures,
based on the Black model.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
BLKSHCLPRC(E, t, S, r, sigma)
Calculates call prices for European options on stocks,
based on the Black-Scholes model.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
BLKSHCLPRC(E, t, S, r, sigma)
Calculates call prices for European options on stocks,
based on the Black-Scholes model.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
BLKSHCLPRC(E, t, S, r, sigma)
Calculates call prices for European options on stocks,
based on the Black-Scholes model.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
BLKSHPTPRC(E, t, S, r, sigma)
Calculates put prices for European options on stocks,
based on the Black-Scholes model.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
BLKSHPTPRC(E, t, S, r, sigma)
Calculates put prices for European options on stocks,
based on the Black-Scholes model.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
BLKSHPTPRC(E, t, S, r, sigma)
Calculates put prices for European options on stocks,
based on the Black-Scholes model.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
COMPOUND(a, f, r, n)
Returns compound interest parameters.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
COMPOUND(a, f, r, n)
Returns compound interest parameters.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
COMPOUND(a, f, r, n)
Returns compound interest parameters.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
CONVX(y, f, c(1), ..., c(k))
Returns the convexity for an enumerated cash flow.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
CONVX(y, f, c(1), ..., c(k))
Returns the convexity for an enumerated cash flow.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
CONVX(y, f, c(1), ..., c(k))
Returns the convexity for an enumerated cash flow.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
CONVXP(A, c, n, K, k0, y)
Returns the convexity for a periodic cash flow stream,
such as a bond.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
CONVXP(A, c, n, K, k0, y)
Returns the convexity for a periodic cash flow stream,
such as a bond.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
CONVXP(A, c, n, K, k0, y)
Returns the convexity for a periodic cash flow stream
such as a bond.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
CUMIPMT(rate, number-of-periods, principal-amount<, start-period><, end-period ><, type>)
Returns the cumulative interest paid on a loan between
the start and end period.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
CUMIPMT(rate, number-of-periods, principal-amount<, start-period><, end-period ><, type>)
Returns the cumulative interest paid on a loan between
the start and end period.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
CUMIPMT(rate, number-of-periods, principal-amount, <start-period>, <end-period>, <type>)
Returns the cumulative interest paid on a loan between
the start and end periods.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
CUMPRINC(rate, number-of-periods, principal-amount<, start-period>
<, end-period><, type>) Returns the cumulative principal paid on a loan
between the start and end period.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
CUMPRINC(rate, number-of-periods, principal-amount<, start-period>
<, end-period><, type>) Returns the cumulative principal paid on a loan
between the start and end period.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
CUMPRINC(rate, number-of-periods, principal-amount, <start-period>, <end-period>, <type>)
Returns the cumulative principal paid on a loan
between the start and end periods.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
DACCDB(p, v, y, r)
Returns the accumulated declining balance depreciation.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
DACCDBSL(p, v, y, r)
Returns the accumulated declining balance with conversion
to a straight-line depreciation.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
DACCSL(p, v, y)
Returns the accumulated straight-line depreciation.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
DACCSYD(p, v, y)
Returns the accumulated sum-of-years-digits depreciation.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
DACCTAB(p, v, t1, ..., tn)
Returns the accumulated depreciation from specified
tables.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
DEPDB(p, v, y, r)
Returns the declining balance depreciation.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
DEPDBSL(p, v, y, r)
Returns the declining balance with conversion to
a straight-line depreciation.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
DEPSL(p, v, y)
Returns the straight-line depreciation.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
DEPSYD(p, v, y)
Returns the sum-of-years-digits depreciation.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
DEPTAB(p, v, t1, ..., tn)
Returns the depreciation from specified tables.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
DUR(y, f, c(1), ..., c(k))
Returns the modified duration for an enumerated
cash flow.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
DUR(y, f, c(1), ..., c(k))
Returns the modified duration for an enumerated
cash flow.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
DUR(y, f, c(1), ..., c(k))
Returns the modified duration for an enumerated
cash flow.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
DURP(A, c, n, K, k0, y)
Returns the modified duration for a periodic cash
flow stream, such as a bond.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
DURP(A, c, n, K, k0, y)
Returns the modified duration for a periodic cash
flow stream, such as a bond.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
DURP(A, c, n, K, k0, y)
Returns the modified duration for a periodic cash
flow stream, such as a bond.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
EFFRATE(compounding-interval, rate)
Returns the effective annual interest rate.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
EFFRATE(compounding-interval, rate)
Returns the effective annual interest rate.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
EFFRATE(compounding-interval, rate)
Returns the effective annual interest rate.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FINANCE('ACCRINT', issue, first-interest, settlement, rate, par-value, frequency, <basis>);
Computes the accrued interest for a security that
pays periodic interest.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
FINANCE('ACCRINT', issue, first-interest, settlement, rate, par-value, frequency, <basis>);
Computes the accrued interest for a security that
pays periodic interest.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
FINANCE('ACCRINT', issue, first-interest, settlement, rate, par-value, frequency, <basis>);
Computes the accrued interest for a security that
pays periodic interest.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FINANCE('ACCRINTM', issue, settlement, rate, par-value, <basis>);
Computes the accrued interest for a security that
pays interest at maturity.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
FINANCE('ACCRINTM', issue, settlement, rate, par-value, <basis>);
Computes the accrued interest for a security that
pays interest at maturity.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
FINANCE('ACCRINTM', issue, settlement, rate, par-value, <basis>);
Computes the accrued interest for a security that
pays interest at maturity.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FINANCE('AMORDEGRC', cost, date-purchased, first-period, salvage, period, rate, <basis>);
Computes the depreciation for each accounting period
by using a depreciation coefficient.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
FINANCE('AMORDEGRC', cost, date-purchased, first-period, salvage, period, rate, <basis>);
Computes the depreciation for each accounting period
by using a depreciation coefficient.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
FINANCE('AMORDEGRC', cost, date-purchased, first-period, salvage, period, rate, <basis>);
Computes financial calculations such as depreciation,
maturation, accrued interest, net present value, periodic savings,
and internal rates of return.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FINANCE('AMORLINC', cost, date-purchased, first-period, salvage, period, rate, <basis>);
Computes the depreciation for each accounting period.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
FINANCE('AMORLINC', cost, date-purchased, first-period, salvage, period, rate, <basis>);
Computes the depreciation for each accounting period.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
FINANCE('AMORLINC', cost, date-purchased, first-period, salvage, period, rate, <basis>);
Computes the depreciation for each accounting period.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FINANCE('COUPDAYBS', settlement, maturity, frequency, <basis>);
Computes the number of days from the beginning of
the coupon period to the settlement date.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
FINANCE('COUPDAYBS', settlement, maturity, frequency, <basis>);
Computes the number of days from the beginning of
the coupon period to the settlement date.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
FINANCE('COUPDAYBS', settlement, maturity, frequency, <basis>);
Computes the number of days from the beginning of
the coupon period to the settlement date.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FINANCE('COUPDAYS', settlement, maturity, frequency, <basis>);
Computes the number of days in the coupon period
that contains the settlement date.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
FINANCE('COUPDAYS', settlement, maturity, frequency, <basis>);
Computes the number of days in the coupon period
that contains the settlement date.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
FINANCE('COUPDAYS', settlement, maturity, frequency, <basis>);
Computes the number of days in the coupon period
that contains the settlement date.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FINANCE('COUPDAYSNC', settlement, maturity, frequency, <basis>);
Computes the number of days from the settlement
date to the next coupon date.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
FINANCE('COUPDAYSNC', settlement, maturity, frequency, <basis>);
Computes the number of days from the settlement
date to the next coupon date.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
FINANCE('COUPDAYSNC', settlement, maturity, frequency, <basis>);
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FINANCE('COUPNCD', settlement, maturity, frequency, <basis>);
Computes the next coupon date after the settlement
date.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
FINANCE('COUPNCD', settlement, maturity, frequency, <basis>);
Computes the next coupon date after the settlement
date.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
FINANCE('COUPNCD', settlement, maturity, frequency, <basis>);
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FINANCE('COUPNUM', settlement, maturity, frequency, <basis>);
Computes the number of coupons that are payable
between the settlement date and the maturity date.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
FINANCE('COUPNUM', settlement, maturity, frequency, <basis>);
Computes the number of coupons that are payable
between the settlement date and the maturity date.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
FINANCE('COUPNUM', settlement, maturity, frequency, <basis>);
Computes the number of coupons that are payable
between the settlement date and the maturity date.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FINANCE('COUPPCD', settlement, maturity, frequency, <basis>);
Computes the previous coupon date before the settlement
date.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
FINANCE('COUPPCD', settlement, maturity, frequency, <basis>);
Computes the previous coupon date before the settlement
date.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
FINANCE('COUPPCD', settlement, maturity, frequency, <basis>);
Computes the previous coupon date before the settlement
date.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FINANCE('CUMIPMT', rate, nper, pv, start-period, end-period, <type>);
Computes the cumulative interest paid between two
periods.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
FINANCE('CUMIPMT', rate, nper, pv, start-period, end-period, <type>);
Computes the cumulative interest paid between two
periods.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
FINANCE('CUMIPMT', rate, nper, pv, start-period, end-period, <type>);
Computes the cumulative interest paid between two
periods.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FINANCE('CUMPRINC', rate, nper, pv, start-period, end-period, <type>);
Computes the cumulative principal that is paid on
a loan between two periods.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
FINANCE('CUMPRINC', rate, nper, pv, start-period, end-period, <type>);
Computes the cumulative principal that is paid on
a loan between two periods.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
FINANCE('CUMPRINC', rate, nper, pv, start-period, end-period, <type>);
Computes the cumulative principal that is paid on
a loan between two periods.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FINANCE('DB', cost, salvage, life, period, <month>);
Computes the depreciation of an asset for a specified
period by using the fixed-declining balance method.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
FINANCE('DB', cost, salvage, life, period, <month>);
Computes the depreciation of an asset for a specified
period by using the fixed-declining balance method.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
FINANCE('DB', cost, salvage, life, period, <month>);
Computes the depreciation of an asset for a specified
period by using the fixed-declining balance method.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FINANCE('DDB', cost, salvage, life, period, <factor>);
Computes the depreciation of an asset for a specified
period by using the double-declining balance method or some other
method that you specify.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
FINANCE('DDB', cost, salvage, life, period, <factor>);
Computes the depreciation of an asset for a specified
period by using the double-declining balance method or some other
method that you specify.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
FINANCE('DDB', cost, salvage, life, period, <factor>);
Computes the depreciation of an asset for a specified
period by using the double-declining balance method or some other
method that you specify.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FINANCE('DISC', settlement, maturity, price, redemption, <basis>);
Computes the discount rate for a security.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
FINANCE('DISC', settlement, maturity, price, redemption, <basis>);
Computes the discount rate for a security.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
FINANCE('DISC', settlement, maturity, price, redemption, <basis>);
Computes the discount rate for a security.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FINANCE('DOLLARDE', fractional-dollar, fraction);
Converts a dollar price, expressed as a fraction,
to a dollar price, expressed as a decimal number.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
FINANCE('DOLLARDE', fractional-dollar, fraction);
Converts a dollar price, expressed as a fraction,
to a dollar price, expressed as a decimal number.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
FINANCE('DOLLARDE', fractional-dollar, fraction);
Converts a dollar price, expressed as a fraction,
to a dollar price, expressed as a decimal number.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FINANCE('DOLLARFR', decimal-dollar, fraction);
Converts a dollar price, expressed as a decimal
number, to a dollar price, expressed as a fraction.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
FINANCE('DOLLARFR', decimal-dollar, fraction);
Converts a dollar price, expressed as a decimal
number, to a dollar price, expressed as a fraction.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
FINANCE('DOLLARFR', decimal-dollar, fraction);
Converts a dollar price, expressed as a fraction,
to a dollar price, expressed as a decimal number.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FINANCE('DURATION', settlement, maturity, coupon, yield, frequency, <basis>);
Computes the annual duration of a security with
periodic interest payments.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
FINANCE('DURATION', settlement, maturity, coupon, yield, frequency, <basis>);
Computes the annual duration of a security with
periodic interest payments.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
FINANCE('DURATION', settlement, maturity, coupon, yield, frequency, <basis>);
Computes the annual duration of a security with
periodic interest payments.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FINANCE('EFFECT', nominal-rate, npery);
Computes the effective annual interest rate.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
FINANCE('EFFECT', nominal-rate, npery);
Computes the effective annual interest rate.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
FINANCE('EFFECT', nominal-rate, npery);
Computes the effective annual interest rate.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FINANCE(string-identifier, parameter–1, parameter–2,
…)
Computes financial calculations such as depreciation,
maturation, accrued interest, net present value, periodic savings,
and internal rates of return.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
FINANCE(string-identifier, parameter–1, parameter–2,
…)
Computes financial calculations such as depreciation,
maturation, accrued interest, net present value, periodic savings,
and internal rates of return.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
FINANCE(string-identifier, parameter–1, parameter–2,
…, parameter-n)
Computes financial calculations such as depreciation,
maturation, accrued interest, net present value, periodic savings,
and internal rates of return.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FINANCE('FV', rate, nper, <payment>, <present-value>, <type>);
Computes the future value of an investment.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
FINANCE('FV', rate, nper, <payment>, <present-value>, <type>);
Computes the future value of an investment.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
FINANCE('FV', rate, nper, <payment>, <present-value>, <type>);
Computes the future value of an investment.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FINANCE('FVSCHEDULE', principal, schedule-1, schedule-2 ...);
Computes the future value of the initial principal
after applying a series of compound interest rates.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
FINANCE('FVSCHEDULE', principal, schedule-1, schedule-2 ...);
Computes the future value of the initial principal
after applying a series of compound interest rates.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
FINANCE('FVSCHEDULE', principal, schedule-1, schedule-2 ..., schedule-n);
Computes the future value of the initial principal
after applying a series of compound interest rates.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FINANCE('INTRATE', settlement, maturity, investment, redemption, <basis>);
Computes the interest rate for a fully invested
security.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
FINANCE('INTRATE', settlement, maturity, investment, redemption, <basis>);
Computes the interest rate for a fully invested
security.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
FINANCE('INTRATE', settlement, maturity, investment, redemption, <basis>);
Computes the interest rate for a fully invested
security.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FINANCE('IPMT', rate, period, nper, pv, <fv>, <type>);
Computes the interest payment for an investment
for a specified period.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
FINANCE('IPMT', rate, period, nper, pv, <fv>, <type>);
Computes the interest payment for an investment
for a specified period.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
FINANCE('IPMT', rate, period, nper, pv, <fv>, <type>);
Computes the interest payment for an investment
for a specified period.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FINANCE('IRR', value-1, value-2, …, value-n);
Computes the internal rate of return for a series
of cash flows.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
FINANCE('IRR', value-1, value-2, …, value-n);
Computes the internal rate of return for a series
of cash flows.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
FINANCE('IRR', value-1, value-2, …, value-n);
Computes the internal rate of return for a series
of cash flows.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FINANCE('ISPMT', interest-rate, period, number-payments, pv);
Calculates the interest paid during a specific period
of an investment.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
FINANCE('ISPMT', interest-rate, period, number-payments, pv);
Calculates the interest paid during a specific period
of an investment.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
FINANCE('ISPMT', interest-rate, period, number-payments, pv);
Calculates the interest paid during a specific period
of an investment.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FINANCE('MDURATION', settlement, maturity, coupon, yield, frequency, <basis>);
Computes the Macaulay modified duration for a security
with an assumed face value of $100.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
FINANCE('MDURATION', settlement, maturity, coupon, yield, frequency, <basis>);
Computes the Macaulay modified duration for a security
with an assumed face value of $100.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
FINANCE('MDURATION', settlement, maturity, coupon, yield, frequency, <basis>);
Computes the Macaulay modified duration for a security
with an assumed face value of $100.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FINANCE('MIRR', value-1, ..., value-n, finance-rate, reinvest-rate);
Computes the internal rate of return where positive
and negative cash flows are financed at different rates.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
FINANCE('MIRR', value-1, ..., value-n, finance-rate, reinvest-rate);
Computes the internal rate of return where positive
and negative cash flows are financed at different rates.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
FINANCE('MIRR', value-1, …, value-n,finance-rate, reinvest-rate);
Computes the internal rate of return where positive
and negative cash flows are financed at different rates.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FINANCE('NOMINAL', effective-rate, npery);
Computes the annual nominal interest rates.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
FINANCE('NOMINAL', effective-rate, npery);
Computes the annual nominal interest rates.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
FINANCE('NOMINAL', effective-rate, npery);
Computes the annual nominal interest rates.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FINANCE('NPER', rate, payment, pv, <fv>, <type>);
Computes the number of periods for an investment.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
FINANCE('NPER', rate, payment, pv, <fv>, <type>);
Computes the number of periods for an investment.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
FINANCE('NPER', rate, payment, pv, <fv>, <type>);
Computes the number of periods for an investment.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FINANCE('NPV', rate, value-1, <, ... value-n>);
Computes the net present value of an investment
based on a series of periodic cash flows and a discount rate.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
FINANCE('NPV', rate, value-1, <, ... value-n>);
Computes the net present value of an investment
based on a series of periodic cash flows and a discount rate.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
FINANCE('NPV', rate, value-1, <, …, value-n>);
Computes the net present value of an investment
based on a series of periodic cash flows and a discount rate.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FINANCE('ODDFPRICE', settlement, maturity, issue, first-coupon, rate, yield,
redemption, frequency, <basis>); Computes the price of a security per $100 face
value with an odd first period.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
FINANCE('ODDFPRICE', settlement, maturity, issue, first-coupon, rate, yield,
redemption, frequency, <basis>); Computes the price of a security per $100 face
value with an odd first period.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
FINANCE('ODDFPRICE', settlement, maturity, issue, first-coupon, rate, yield,
redemption,frequency, <basis>); Computes the price of a security per $100 face
value with an odd first period.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FINANCE('ODDFYIELD', settlement, maturity, issue, first-coupon, rate, price,
redemption, frequency, <basis>); Computes the yield of a security with an odd first
period.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
FINANCE('ODDFYIELD', settlement, maturity, issue, first-coupon, rate, price,
redemption, frequency, <basis>); Computes the yield of a security with an odd first
period.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
FINANCE('ODDFYIELD', settlement, maturity, issue, first-coupon, rate, price,
redemption,frequency, <basis>); Computes the yield of a security with an odd first
period.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FINANCE('ODDLPRICE', settlement, maturity, last-interest, rate, yield,
redemption, frequency, <basis>); Computes the price of a security per $100 face value
with an odd last period.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
FINANCE('ODDLPRICE', settlement, maturity, last-interest, rate, yield,
redemption, frequency, <basis>); Computes the price of a security per $100 face value
with an odd last period.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
FINANCE('ODDLPRICE', settlement, maturity, last-interest, rate, yield,
redemption,frequency, <basis>); Computes the price of a security per $100 face value
with an odd last period.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FINANCE('ODDLYIELD', settlement, maturity, last-interest, rate, price,
redemption, frequency, <basis>); Computes the yield of a security with an odd last
period.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
FINANCE('ODDLYIELD', settlement, maturity, last-interest, rate, price,
redemption, frequency, <basis>); Computes the yield of a security with an odd last
period.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
FINANCE('ODDLYIELD', settlement, maturity, last-interest, rate, price,
redemption,frequency, <basis>); Computes the yield of a security with an odd last
period.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FINANCE('PMT', rate, nper, pv, <fv>, <type>);
Computes the periodic payment of an annuity.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
FINANCE('PMT', rate, nper, pv, <fv>, <type>);
Computes the periodic payment of an annuity.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
FINANCE('PMT', rate, nper, pv, <fv>, <type>);
Computes the periodic payment of an annuity.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FINANCE('PPMT', rate, period, nper, pv, <fv>, <type>);
Computes the payment on the principal for an investment
for a specified period.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
FINANCE('PPMT', rate, period, nper, pv, <fv>, <type>);
Computes the payment on the principal for an investment
for a specified period.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
FINANCE('PPMT', rate, period, nper, pv, <fv>, <type>);
Computes the payment on the principal for an investment
for a specified period.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FINANCE('PRICE', settlement, maturity, rate, yield, redemption, frequency, <basis>);
Computes the price of a security per $100 face
value that pays periodic interest.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
FINANCE('PRICE', settlement, maturity, rate, yield, redemption, frequency, <basis>);
Computes the price of a security per $100 face
value that pays periodic interest.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
FINANCE('PRICE', settlement, maturity, rate, yield,
redemption,frequency, <basis>); Computes the price of a security per $100 face
value that pays periodic interest.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FINANCE('PRICEDISC', settlement, maturity, discount, redemption, <basis>);
Computes the price of a discounted security per
$100 face value.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
FINANCE('PRICEDISC', settlement, maturity, discount, redemption, <basis>);
Computes the price of a discounted security per
$100 face value.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
FINANCE('PRICEDISC', settlement, maturity, discount, redemption, <basis>);
Computes the price of a discounted security per
$100 face value.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FINANCE('PRICEMAT', settlement, maturity, issue, rate, yield, <basis>);
Computes the price of a security per $100 face
value that pays interest at maturity.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
FINANCE('PRICEMAT', settlement, maturity, issue, rate, yield, <basis>);
Computes the price of a security per $100 face
value that pays interest at maturity.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
FINANCE('PRICEMAT', settlement, maturity, issue, rate,
yield,<basis>); Computes the price of a security per $100 face
value that pays interest at maturity.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FINANCE('PV', rate, nper, payment, <fv>, <type>);
Computes the present value of an investment.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
FINANCE('PV', rate, nper, payment, <fv>, <type>);
Computes the present value of an investment.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
FINANCE('PV', rate, nper, payment, <fv>, <type>);
Computes the present value of an investment.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FINANCE('RATE', nper, payment, pv, <fv>, <type>);
Computes the interest rate per period of an annuity.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
FINANCE('RATE', nper, payment, pv, <fv>, <type>);
Computes the interest rate per period of an annuity.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
FINANCE('RATE', nper, payment, pv, <fv>, <type>);
Computes the interest rate per period of an annuity.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FINANCE('RECEIVED', settlement, maturity, investment, discount, <basis>);
Computes the amount that is received at maturity
for a fully invested security.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
FINANCE('RECEIVED', settlement, maturity, investment, discount, <basis>);
Computes the amount that is received at maturity
for a fully invested security.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
FINANCE('RECEIVED', settlement, maturity, investment, discount, <basis>);
Computes the amount that is received at maturity
for a fully invested security.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FINANCE('SLN', cost, salvage, life);
Computes the straight-line depreciation of an asset
for one period.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
FINANCE('SLN', cost, salvage, life);
Computes the straight-line depreciation of an asset
for one period.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
FINANCE('SLN', cost, salvage, life);
Computes the straight-line depreciation of an asset
for one period.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FINANCE('SYD', cost, salvage, life, period);
Computes the sum-of-years digits depreciation of
an asset for a specified period.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
FINANCE('SYD', cost, salvage, life, period);
Computes the sum-of-years digits depreciation of
an asset for a specified period.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
FINANCE('SYD', cost, salvage, life, period);
Computes the sum-of-years digits depreciation of
an asset for a specified period.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FINANCE('TBILLEQ', settlement, maturity, discount);
Computes the bond-equivalent yield for a treasury
bill.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
FINANCE('TBILLEQ', settlement, maturity, discount);
Computes the bond-equivalent yield for a treasury
bill.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
FINANCE('TBILLEQ', settlement, maturity, discount);
Computes the bond-equivalent yield for a treasury
bill.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FINANCE('TBILLPRICE', settlement, maturity, discount);
Computes the price of a treasury bill per $100 face
value.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
FINANCE('TBILLPRICE', settlement, maturity, discount);
Computes the price of a treasury bill per $100 face
value.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
FINANCE('TBILLPRICE', settlement, maturity, discount);
Computes the price of a treasury bill per $100 face
value.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FINANCE('TBILLYIELD', settlement, maturity, price);
Computes the yield for a treasury bill.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
FINANCE('TBILLYIELD', settlement, maturity, price);
Computes the yield for a treasury bill.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
FINANCE('TBILLYIELD', settlement, maturity, price);
Computes the yield for a treasury bill.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FINANCE('VDB', cost, salvage, life, start-period, end-period, <factor>, <noswitch>);
Computes the depreciation of an asset for a specified
or partial period by using a declining balance method.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
FINANCE('VDB', cost, salvage, life, start-period, end-period, <factor>, <noswitch>);
Computes the depreciation of an asset for a specified
or partial period by using a declining balance method.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
FINANCE('VDB', cost, salvage, life, start-period, end-period, <factor>, <noswitch>);
Computes the depreciation of an asset for a specified
or partial period by using a declining balance method.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FINANCE('XIRR', values, dates, <guess>);
Computes the internal rate of return for a schedule
of cash flows that is not necessarily periodic.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
FINANCE('XIRR', values, dates, <guess>);
Computes the internal rate of return for a schedule
of cash flows that is not necessarily periodic.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
FINANCE('XIRR', values, dates, <guess>);
Computes the internal rate of return for a schedule
of cash flows that is not necessarily periodic.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FINANCE('XNPV', rate, values, dates);
Computes the net present value for a schedule of
cash flows that is not necessarily periodic.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
FINANCE('XNPV', rate, values, dates);
Computes the net present value for a schedule of
cash flows that is not necessarily periodic.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
FINANCE('XNPV', rate, values, dates);
Computes the net present value for a schedule of
cash flows that is not necessarily periodic.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FINANCE('YIELD', settlement, maturity, rate, price, redemption, frequency, <basis>);
Computes the yield on a security that pays periodic
interest.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
FINANCE('YIELD', settlement, maturity, rate, price, redemption, frequency, <basis>);
Computes the yield on a security that pays periodic
interest.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
FINANCE('YIELD', settlement, maturity, rate, price,
redemption,frequency, <basis>); Computes the yield on a security that pays periodic
interest.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FINANCE('YIELDDISC', settlement, maturity, price, redemption, <basis>);
Computes the annual yield for a discounted security
(for example, a treasury bill).
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
FINANCE('YIELDDISC', settlement, maturity, price, redemption, <basis>);
Computes the annual yield for a discounted security
(for example, a treasury bill).
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
FINANCE('YIELDDISC', settlement, maturity, price,
redemption, <basis>); Computes the annual yield for a discounted security
(for example, a treasury bill).
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FINANCE('YIELDMAT', settlement, maturity, issue, rate, price, <basis>);
Computes the annual yield of a security that pays
interest at maturity.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
FINANCE('YIELDMAT', settlement, maturity, issue, rate, price, <basis>);
Computes the annual yield of a security that pays
interest at maturity.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
FINANCE('YIELDMAT', settlement, maturity, issue, rate, price, <basis>);
Computes the annual yield of a security that pays
interest at maturity.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
GARKHCLPRC(E, t, S, Rd, Rf, sigma)
Calculates call prices for European options on stocks,
based on the Garman-Kohlhagen model.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
GARKHCLPRC(E, t, S, Rd, Rf, sigma)
Calculates call prices for European options on stocks,
based on the Garman-Kohlhagen model.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
GARKHCLPRC(E, t, S, Rd, Rf, sigma)
Calculates call prices for European options on stocks,
based on the Garman-Kohlhagen model.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
GARKHPTPRC(E, t, S, Rd, Rf, sigma)
Calculates put prices for European options on stocks,
based on the Garman-Kohlhagen model.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
GARKHPTPRC(E, t, S, Rd, Rf, sigma)
Calculates put prices for European options on stocks,
based on the Garman-Kohlhagen model.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
GARKHPTPRC(E, t, S, Rd, Rf, sigma)
Calculates put prices for European options on stocks,
based on the Garman-Kohlhagen model.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
INTRR(freq, c0, c1<..., cn>)
Returns the internal rate of return as a decimal
value.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
INTRR(freq, c0, c1<..., cn>)
Returns the internal rate of return as a decimal
value.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
INTRR(frequency, c0, c1, ..., cn)
Returns the internal rate of return as a fraction.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
IPMT(rate, period, number-of-periods, principal-amount<, future-amount><, type>)
Returns the interest payment for a given period
for a constant payment loan or the periodic savings for a future balance.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
IPMT(rate, period, number-of-periods, principal-amount<, future-amount><, type>)
Returns the interest payment for a given period
for a constant payment loan or the periodic savings for a future balance.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
IPMT(rate, period, number-of-periods, principal-amount, <future-amount>, <type>)
Returns the interest payment for a given period
for a constant payment loan or the periodic savings for a future balance.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
IRR(freq, c1, c2 <..., cn>)
Returns the internal rate of return as a percentage.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
IRR(freq, c1, c2 <..., cn>)
Returns the internal rate of return as a percentage.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
IRR(frequency , c1, c2<, ... , cn>)
Returns the internal rate of return as a percentage.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
MARGRCLPRC(X1, t, X2, sigma1, sigma2, rho12)
Calculates call prices for European options on stocks,
based on the Margrabe model.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
MARGRCLPRC(X1, t, X2, sigma1, sigma2, rho12)
Calculates call prices for European options on stocks,
based on the Margrabe model.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
MARGRCLPRC(X1, t, X2, sigma-1, sigma-2, rho12)
Calculates call prices for European options on stocks,
based on the Margrabe model.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
MARGRPTPRC(X1, t, X2, sigma1, sigma2, rho12)
Calculates put prices for European options on stocks,
based on the Margrabe model.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
MARGRPTPRC(X1, t, X2, sigma1, sigma2, rho12)
Calculates put prices for European options on stocks,
based on the Margrabe model.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
MARGRPTPRC(X1, t, X2, sigma-1, sigma-2, rho12)
Calculates put prices for European options on stocks,
based on the Margrabe model.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
MORT(a, p, r, n)
Returns amortization parameters.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
MORT(a, p, r, n)
Returns amortization parameters.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
MORT(a, p, r, n)
Returns amortization parameters.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
NETPV(r, freq, c0, c1, ..., cn)
Returns the net present value as a percent.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
NETPV(r, freq, c0, c1, ..., cn)
Returns the net present value as a percent.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
NETPV(r, frequency, c0, c1, ..., cn)
Returns the net present value as a percent.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
NOMRATE(compounding-interval, rate)
Returns the nominal annual interest rate.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
NOMRATE(compounding-interval, rate)
Returns the nominal annual interest rate.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
NOMRATE(compounding-interval, rate)
Returns the nominal annual interest rate.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
NPV(r, freq, c0, c1, ..., cn)
Returns the net present value with the rate expressed
as a percentage.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
NPV(r, freq, c0, c1, ..., cn)
Returns the net present value with the rate expressed
as a percentage.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
NPV(r, frequency, c0, c1, ..., cn)
Returns the net present value with the rate expressed
as a percentage.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
PMT(rate, number-of-periods, principal-amount<, future-amount><, type>)
Returns the periodic payment for a constant payment
loan or the periodic savings for a future balance.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
PMT(rate, number-of-periods, principal-amount<, future-amount><, type>)
Returns the periodic payment for a constant payment
loan or the periodic savings for a future balance.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
PMT(rate, number-of-periods, principal-amount, <future-amount>, <type>)
Returns the periodic payment for a constant payment
loan or the periodic savings for a future balance.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
PPMT(rate, period, number-of-periods, principal-amount<, future-amount><, type>)
Returns the principal payment for a given period
for a constant payment loan or the periodic savings for a future balance.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
PPMT(rate, period, number-of-periods, principal-amount, <future-amount>, <type>)
Returns the principal payment for a given period
for a constant payment loan or the periodic savings for a future balance.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
PVP(A, c, n, K, k0, y)
Returns the present value for a periodic cash flow
stream (such as a bond), with repayment of principal at maturity.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
PVP(A, c, n, K, k0, y)
Returns the present value for a periodic cash flow
stream (such as a bond), with repayment of principal at maturity.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
PVP(A, c, n, K, k0, y)
Returns the present value for a periodic cash flow
stream (such as a bond), with repayment of principal at maturity.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
SAVING(f, p, r, n)
Returns the future value of a periodic saving.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
SAVING(f, p, r, n)
Returns the future value of a periodic saving.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
SAVING(f, p, r, n)
Returns the future value of a periodic saving.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
SAVINGS(base-date, initial-deposit-date, deposit-amount, deposit-number,
deposit-interval, compounding-interval, date-1, rate-1<, ...date-n, rate-n>) Returns the balance of a periodic savings by using
variable interest rates.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
SAVINGS(base-date, initial-deposit-date, deposit-amount, deposit-number,
deposit-interval, compounding-interval, date-1, rate-1<, ...date-n, rate-n>) Returns the balance of a periodic savings by using
variable interest rates.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
SAVINGS(base-date, initial-deposit-date, deposit-amount, deposit-number,
deposit-interval, compounding-interval, date-1, rate-2 <, date-2, rate-2, ..., date-n, rate-n>) Returns the balance of a periodic savings by using
variable interest rates.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
TIMEVALUE(base-date, reference-date, reference-amount, compounding-interval,
date-1, rate-1<, ...date-n, rate-n>) Returns the equivalent of a reference amount at
a base date by using variable interest rates.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
TIMEVALUE(base-date, reference-date, reference-amount, compounding-interval,
date-1, rate-1<, ...date-n, rate-n>) Returns the equivalent of a reference amount at
a base date by using variable interest rates.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
TIMEVALUE(base-date, reference-date, reference-amount, compounding-interval,
date-1, rate-1 <, date-2, rate-2, ..., date-n, rate-n>) Returns the equivalent of a reference amount at
a base date by using variable interest rates.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
YIELDP(A, c, n, K, k0, p)
Returns the yield-to-maturity for a periodic cash
flow stream, such as a bond.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
YIELDP(A, c, n, K, k0, p)
Returns the yield-to-maturity for a periodic cash
flow stream, such as a bond.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
YIELDP(A, c, n, K, k0, p)
Returns the yield-to-maturity for a periodic cash
flow stream, such as a bond.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
|
Git
|
Name
|
Syntax and Description
|
|---|---|
|
GIT_BRANCH_CHKOUT( 'directory', 'branch')
Check out a branch in a Git repository.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
GIT_BRANCH_DELETE( 'directory', 'branch-name'<, remote>)
Deletes a Git branch in the repository.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
GIT_BRANCH_MERGE( 'directory', 'branch-name', 'author-name', 'author-email'<, remote>)
Merges a Git branch into the currently checked-out
branch.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
GIT_BRANCH_NEW( 'directory', 'commit-ID', 'branch-name', force)
Creates a Git branch.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
GIT_CLONE ('uri', 'directory '<,
'user', 'password |
personal-access-token'>
<, '',
'',
'SSL-CA-certificate-path', 0, '', 'customHeader'>)
GIT_CLONE ('uri', 'directory', 'user',
'password', 'ssh-public-key-path', 'ssh-private-key-path'<, '', '', '', 0, '', 'custom-header'>)
GIT_CLONE('uri',
'directory',
'',
'',
'',
'',
'SSL-CA-certificate-path',
kerberos<, 'custom-header'>)
GIT_CLONE('uri',
'directory',
'',
'',
'',
'',
'',
2,
auth-domain-ID<, custom-header>)
Clones a Git repository into a directory on the
SAS server.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
GIT_COMMIT( 'directory', 'update-reference', 'author-name',
'author-email',
'commit-message'<,'second-parent-commit-ID'>)
Commits staged files to the local repository.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
GIT_COMMIT_FREE( 'directory')
Clears the commit record object that was created
by GIT_COMMIT_LOG for the specified repository.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
GIT_COMMIT_GET( n, 'directory', 'attribute', attribute-out)
Returns the specified attribute of the nth
commit object that is associated with the local repository.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
GIT_COMMIT_LOG( 'directory')
Returns the number of commit objects that are associated
with the local repository.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
GIT_DELETE_REPO('directory')
deletes a local Git repository and all content within
the repository.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
GIT_DIFF( 'directory', 'older-commit-ID', 'newer-commit-ID')
Returns the number of diffs between two commits
in the local repository and creates a diff record object for the local
repository.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
GIT_DIFF_FILE_IDX( 'directory', 'file-name', diff-content<, staged, 'output-file-path'>)
Returns the diff for a file in the index.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
GIT_DIFF_FREE( 'directory', 'older-commit', 'newer-commit')
Clears the diff record object associated with a
local repository.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
GIT_DIFF_GET(
n,
'directory',
'older-commit-ID',
'newer-commit-ID,
'attribute',
attribute-out)
Returns the specified attribute of the nth
diff object in the local repository.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
GIT_DIFF_TO_FILE(n,
'directory', 'older-commit-ID', 'newer-commit-ID', 'file-reference')
Writes the diff content to a file reference.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
GIT_INDEX_ADD( 'directory', 'file-1',
'status-1'
<
, ... ,'file-n',
'status-n'
>)
Stages 1 to n number
of files to commit to the local repository.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
GIT_INDEX_REMOVE( 'directory', 'file-1'
<
, ..., 'file-n'
>)
Unstages 1 to n number
of files to commit to the local repository.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
GIT_INIT_REPO('directory', 'default-branch-name'<, 'remote-URL'>)
Initializes a new local Git repository.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
GIT_PULL( 'directory')
GIT_PULL( 'directory', 'user',
'password'<, '', '', 'SSL-certificate-path', 0, '', 'custom-header'>)
GIT_PULL( 'directory', 'ssh-user',
'ssh-password', 'ssh-public-key', 'ssh-private-key')
GIT_PULL('directory',
'',
'',
'',
'',
'SSL-certificate-path',
kerberos<, 'custom-header'>)
GIT_PULL('directory',
'',
'',
'',
'',
'',2,
auth-domain-ID<, 'custom-header'>)
Pulls changes from the remote repository into the
local repository.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
GIT_PUSH( 'directory')
GIT_PUSH( 'directory', 'user', 'password' <, '', '', 'SSL-certificate-path'><, 0, '', 'customHeader'>)
GIT_PUSH( 'directory', 'ssh-user', 'ssh-password', 'ssh-public-key',
'ssh-private-key')
GIT_PUSH('directory',
'',
'',
'',
'',
'SSL-certificate-path',
kerberos<, '', 'customHeader'>
GIT_PUSH('directory',
'',
'',
'',
'',
'',
2,
'auth-domain-ID'<, 'customHeader'>)
Pushes the committed files in the local repository
to the remote repository.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
GIT_REBASE( 'directory', 'current-branch-commit-ID', 'rebase-commit-ID', 'name',
'email')
Rebases your current branch to a specified commit
ID.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
GIT_REBASE_OP( 'directory', 'operation', 'branch-name', 'name',
'email')
Used to execute rebase operations when a conflict
occurs.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
GIT_REF_FREE
('directory')
Clears the reference objects that are associated with the local
repository.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
GIT_REF_GET
(n,
'directory',
'attribute',
attribute-out
Returns the specified attribute of a reference object in the local
repository.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
GIT_REF_LIST
('directory',
<create-data-set>)
Returns the list of reference objects that are associated with the local
repository.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
GIT_RESET( 'directory', 'commit-ID', 'reset_type')
Resets the local repository to a specified commit.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
GIT_RESET_FILE( 'directory', 'file-name')
Resets a file in the index to the local repository
version.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
GIT_SET_URL( 'directory', 'URL')
Sets the remote repository URL for a local repository.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
GIT_STASH('directory', 'name',
'email')
Stashes file changes that have not been committed.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
GIT_STASH_APPLY('directory'<, stash-index>)
Applies file changes that are stored in a stash
to the local repository.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
GIT_STASH_DROP('directory'<, stash-index>)
Drops the contents of the stash stack at the specified
index.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
GIT_STASH_POP('directory')
Applies the changes that are stored in the stash,
and then drops the contents of the stash.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
GIT_STATUS('directory')
Returns the status objects for files in the local
repository and creates a status record.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
GIT_STATUS_FREE ('directory' )
Clears the status record object that was created
by GIT_STATUS for the specified repository.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
GIT_STATUS_GET(n, 'directory', 'attribute', attribute-store)
Returns the specified attribute of the nth
status object returned from GITFN_STATUS() in the local repository.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
GIT_VERSION()
Specifies whether libgit2 is available and if available,
specifies the version that is being used.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
GITFN_CLONE (uri, directory)
GITFN_CLONE (uri, directory, <user, password, ssh-public-key, ssh-private-key>)
Clones a Git repository into a directory on the
SAS server.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
GITFN_CO_BRANCH( directory, branch)
Check out a branch in a Git repository.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
GITFN_COMMIT( directory, update-ref, author-name, author-email, commit-message)
Commits staged files to the local repository.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
GITFN_COMMIT_GET( n, directory, attribute, attribute-out)
Returns the specified attribute of the nth
commit object that is associated with the local repository.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
GITFN_COMMIT_LOG( directory)
Returns the number of commit objects that are associated
with the local repository.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
GITFN_COMMITFREE( directory)
Clears the commit record object that was created
by GITFN_COMMIT_LOG for the specified repository.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
GITFN_DEL_BRANCH( directory, branch-name)
Deletes a Git branch in the repository.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
GITFN_DEL_REPO( directory)
Deletes a local Git repository and its contents.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
GITFN_DIFF( directory, older-commit-ID, newer-commit-ID)
Returns the number of diffs between two commits
in the local repository and creates a diff record object for the local
repository.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
GITFN_DIFF_FREE( directory, older-commit, newer-commit)
Clears the diff record object associated with a
local repository.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
GITFN_DIFF_GET( n, directory, attribute, attribute-out)
Returns the specified attribute of the nth
diff object in the local repository.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
GITFN_DIFF_IDX_F( directory, file-name, diff-content)
Returns the changes for a file in the index.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
GITFN_IDX_ADD( directory, file-1, status-1 <, ... ,file-n, status-n>)
Stages 1 to n number
of files to commit to the local repository.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
GITFN_IDX_REMOVE( directory, file-1 <, ..., file-n>)
Unstages 1 to n number
of files to commit to the local repository.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
GITFN_MRG_BRANCH( directory, branch-name, author-name, author-email)
Merges a Git branch into the currently checked-out
branch.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
GITFN_NEW_BRANCH( directory, commit-ID, branch-name, force)
Creates a Git branch.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
GITFN_PULL( directory)
GITFN_PULL( directory, user, password)
GITFN_PULL( directory, ssh-user, ssh-password,ssh-public-key, ssh-private-key)
Pulls changes from the remote repository into the
local repository.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
GITFN_PUSH( directory)
GITFN_PUSH( directory, user, password)
GITFN_PUSH( directory, ssh-user, ssh-password, ssh-public-key, ssh-private-key)
Pushes the committed files in the local repository
to the remote repository.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
GITFN_RESET( directory, commit-ID, reset_type)
Resets the local repository to a specified commit.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
GITFN_RESET_FILE( directory, file-name)
Resets a file in the index to the local repository
version.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
GITFN_STATUS(directory)
Returns the status objects for files in the local
repository and creates a status record.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
GITFN_STATUS_GET(n, directory, attribute, attribute-store)
Returns the specified attribute of the nth
status object returned from GITFN_STATUS() in the local repository.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
GITFN_STATUSFREE ( directory )
Clears the status record object that was created
by GITFN_STATUS for the specified repository.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
GITFN_VERSION()
Specifies whether libgit2 is available and if available,
specifies the version that is being used.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
|
Hyperbolic
|
Name
|
Syntax and Description
|
|---|---|
|
ARCOSH(expression)
Returns the inverse hyperbolic cosine.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
ARCOSH(expression)
Returns the inverse hyperbolic cosine.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
ARCOSH(x)
Returns the inverse hyperbolic cosine.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
ARSINH(expression)
Returns the inverse hyperbolic sine.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
ARSINH(expression)
Returns the inverse hyperbolic sine.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
ARSINH(x)
Returns the inverse hyperbolic sine.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
ARTANH(expression)
Returns the inverse hyperbolic tangent.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
ARTANH(expression)
Returns the inverse hyperbolic tangent.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
ARTANH(x)
Returns the inverse hyperbolic tangent.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
COSH(argument)
Returns the hyperbolic cosine.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
SINH(expression)
Returns the hyperbolic sine.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
SINH(argument)
Returns the hyperbolic sine.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
TANH(expression)
Returns the hyperbolic tangent.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
TANH(argument)
Returns the hyperbolic tangent.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
|
Installation Information
|
Name
|
Syntax and Description
|
|---|---|
|
TSLVL(binary-file[,option[option-n]])
Provides information about the SAS installation
image, including the release number, hot fixes, and maintenance images.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
|
Locale
|
Name
|
Syntax and Description
|
|---|---|
|
GETLOCENV( )
Returns the current locale/language environment.
Product: Base SAS
Document: SAS National Language Support (NLS) Reference for SAS Viya Workbench
| |
|
GETPXLANGUAGE()
Returns the current two-letter language code.
Product: Base SAS
Document: SAS National Language Support (NLS) Reference for SAS Viya Workbench
| |
|
GETPXLOCALE(<source>)
Returns the POSIX locale value for a SAS locale.
Product: Base SAS
Document: SAS National Language Support (NLS) Reference for SAS Viya Workbench
| |
|
GETPXREGION()
Returns the current two-letter region code.
Product: Base SAS
Document: SAS National Language Support (NLS) Reference for SAS Viya Workbench
| |
|
SASMSG (BASENAME", "KEY",
<<"QUOTE"|"DQUOTE"|"NOQUOTE">
<, "substitution 1",
..., "substitution 7">>)
Specifies a message from a data set. The returned
message is based on the current locale and a specified key.
Product: Base SAS
Document: SAS National Language Support (NLS) Reference for SAS Viya Workbench
| |
|
SASMSGL("BASENAME", "KEY", "LOCALE", (, , , <<"Q"|"D"|"N">
<, "substitution 1", ..., "substitution 6">>) Specifies a message from a data set. The message
is based on a specified locale value and a specified key value.
Product: Base SAS
Document: SAS National Language Support (NLS) Reference for SAS Viya Workbench
| |
|
Setting SAS Locale
SETLOCALE (sas_locale)
Customize single locale elements
SETLOCALE (key,value)
Customize single locale elements
SETLOCALE (category_name, sas_locale)
Specifies the locale keys for the current SAS locale.
Product: Base SAS
Document: SAS National Language Support (NLS) Reference for SAS Viya Workbench
| |
|
sortKey(string, <locale, strength, case_order, numeric_order, collation order> )
Creates a linguistic sort key.
Product: Base SAS
Document: SAS National Language Support (NLS) Reference for SAS Viya Workbench
|
Macro
|
Name
|
Syntax and Description
|
|---|---|
|
DOSUBL(x)
Enables the immediate execution of SAS code after
a text string is passed.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
RESOLVE(argument)
Returns the resolved value of the argument after
the argument has been processed by the macro facility.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
SYMEXIST(argument)
Returns an indication of the existence of a macro
variable.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
SYMGET(argument)
Returns the value of a macro variable during DATA
step execution.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
SYMGLOBL(argument)
Returns an indication of whether a macro variable
is in global scope to the DATA step during DATA step execution.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
SYMLOCAL(argument)
Returns an indication of whether a macro variable
is in local scope to the DATA step during DATA step execution.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
|
Mathematical
|
Name
|
Syntax and Description
|
|---|---|
|
ABS(expression)
Returns the absolute value of a numeric value expression.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
ABS(expression)
Returns the absolute value of a numeric value expression.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
ABS(argument)
Returns the absolute value.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
AIRY(x)
Returns the value of the Airy function.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
AIRY(x)
Returns the value of the Airy function.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
AIRY(x)
Returns the value of a differential equation.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
BETA(a, b)
Returns the value of the beta function.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
BETA(a, b)
Returns the value of the beta function.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
BETA(a, b)
Returns the value of the beta function.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
CNONCT(x, df, probability)
Returns the noncentrality parameter from a chi-square
distribution.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
CNONCT(x, df, probability)
Returns the noncentrality parameter from a chi-square
distribution.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
CNONCT(x, df, probability)
Returns the noncentrality parameter from a chi-square
distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
COALESCE(expression<, ...expression>)
Returns the first non-null or nonmissing value from
a list of numeric arguments.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
COALESCE(expression<, ...expression>)
Returns the first non-null or nonmissing value from
a list of numeric arguments.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
COALESCE(argument-1<..., argument-n>)
Returns the first nonmissing value from a list of
numeric arguments.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
COMPFUZZ(expression-1, expression-2<, fuzz<, scale>>)
Performs a fuzzy comparison of two numeric values.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
COMPFUZZ(value-1, value-2 <, fuzz <, scale>>)
Performs a fuzzy comparison of two numeric values.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
COMPFUZZ_MISS(value-1, value-2 <<, fuzz<<scale>>>>)
Performs comparisons of missing numeric values and
fuzzy comparisons of nonmissing numeric values.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
CONSTANT(constant<, parameter>)
Computes machine and mathematical constants.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
CONSTANT(constant<, parameter>)
Computes machine and mathematical constants.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
CONSTANT(constant <, parameter>)
Computes machine and mathematical constants.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
DAIRY(x)
Returns the derivative of the AIRY function.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
DAIRY(x)
Returns the derivative of the AIRY function.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
DAIRY(x)
Returns the derivative of the AIRY function.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
DEVIANCE(distribution, variable, shape-parameter(s)<, ε>)
Returns the deviance based on a probability distribution.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
DEVIANCE(distribution, variable, shape-parameter(s)<, ε>)
Returns the deviance based on a probability distribution.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
DEVIANCE(distribution, variable, shape-parameters <, ε>)
Returns the deviance based on a probability distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
DIGAMMA(expression)
Returns the value of the digamma function.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
DIGAMMA(expression)
Returns the value of the digamma function.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
DIGAMMA(argument)
Returns the value of the digamma function.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
DIVIDE(x, y)
Returns the result of a division that handles special
missing values for ODS output.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
E()
Returns the natural logarithm, e.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
ERF(expression)
Returns the value of the (normal) error function.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
ERF(expression)
Returns the value of the (normal) error function.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
ERF(argument)
Returns the value of the (normal) error function.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
ERFC(expression)
Returns the value of the complementary (normal)
error function.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
ERFC(expression)
Returns the value of the complementary (normal)
error function.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
ERFC(argument)
Returns the value of the complementary (normal)
error function.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
EXP(expression)
Returns the value of the e constant raised to a
specified power.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
EXP(expression)
Returns the value of the e constant raised to a
specified power.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
EXP(argument)
Returns the value of the exponential function.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
EXPM1(x)
Returns 1 less than the exponential function of the
argument.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FACT(expression)
Computes a factorial.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
FACT(expression)
Computes a factorial.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
FACT(n)
Computes a factorial.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FNONCT(x, ndf, ddf, probability)
Returns the value of the noncentrality parameter
of an F distribution.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
FNONCT(x, ndf, ddf, probability)
Returns the value of the noncentrality parameter
of an F distribution.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
FNONCT(x, ndf, ddf, probability)
Returns the value of the noncentrality parameter
of an F distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
GAMMA(expression)
Returns the value of the gamma function.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
GAMMA(expression)
Returns the value of the gamma function.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
GAMMA(argument)
Returns the value of the gamma function.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
GCD(expression-1, expression-2 <, ...expression-n>)
Returns the greatest common divisor for a set of
integers.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
GCD(expression-1, expression-2 <, ...expression-n>)
Returns the greatest common divisor for a set of
integers.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
GCD(x1, x2, x3, …, xn)
Returns the greatest common divisor for one or more
integers.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
IBESSEL(nu, x, kode)
Returns the value of the modified Bessel function.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
IBESSEL(nu, x, kode)
Returns the value of the modified Bessel function.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
IBESSEL(nu, x, kode)
Returns the value of the modified Bessel function.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
IFN(logical-expression, value-returned-when-true, value-returned-when-false
<, value-returned-when-missing>) Returns a numeric value based on whether an expression
is true, false, or missing.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
JBESSEL(nu, x)
Returns the value of the Bessel function.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
JBESSEL(nu, x)
Returns the value of the Bessel function.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
JBESSEL(nu, x)
Returns the value of the Bessel function.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
LCM(expression-1, expression-2 <, ...expression-n>)
Returns the least common multiple for a set of whole
numbers.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
LCM(expression-1, expression-2 <, ...expression-n>)
Returns the least common multiple for a set of whole
numbers.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
LCM(x1, x2, x3, …, xn)
Returns the least common multiple.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
LGAMMA(expression)
Returns the natural logarithm of the Gamma function.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
LGAMMA(expression)
Returns the natural logarithm of the Gamma function.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
LGAMMA(argument)
Returns the natural logarithm of the Gamma function.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
LOG(expression)
Returns the natural logarithm (base e) of a numeric
value expression.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
LOG(expression)
Returns the natural logarithm (base e) of a numeric
value expression.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
LOG(argument)
Returns the natural (base e) logarithm.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
LOG10(expression)
Returns the base-10 logarithm of a numeric value
expression.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
LOG10(expression)
Returns the base-10 logarithm of a numeric value
expression.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
LOG10(argument)
Returns the logarithm to the base 10.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
LOG1PX(x)
Returns the log of 1 plus the argument.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
LOG1PX(x)
Returns the log of 1 plus the argument.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
LOG1PX(x)
Returns the log of 1 plus the argument.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
LOG2(expression)
Returns the base 2 logarithm of a numeric value
expression.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
LOG2(expression)
Returns the base-2 logarithm of a numeric value
expression.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
LOG2(argument)
Returns the logarithm to the base 2.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
LOGBETA(a, b)
Returns the logarithm of the beta function.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
LOGBETA(a, b)
Returns the logarithm of the beta function.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
LOGBETA(a, b)
Returns the logarithm of the beta function.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
LOGISTIC(argument)
Returns the logistic transformation of the argument.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
LOGISTIC(argument)
Returns the logistic transformation of the argument.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
LOGISTIC(argument)
Returns the logistic transformation of the argument.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
MOD(dividend-expression, divisor-expression)
Returns the remainder from the division of the first
argument by the second argument, fuzzed to avoid most unexpected floating-point
results.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
MOD(dividend-expression, divisor-expression)
Returns the remainder from the division of the first
argument by the second argument, fuzzed to avoid most unexpected floating-point
results.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
MOD(argument-1, argument-2)
Returns the remainder from the division of the first
argument by the second argument, fuzzed to avoid most unexpected floating-point
results.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
MODZ(dividend-expression, divisor-expression)
Returns the remainder from the division of the first
argument by the second argument, using zero fuzzing.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
MODZ(dividend-expression, divisor-expression)
Returns the remainder from the division of the first
argument by the second argument, using zero fuzzing.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
MODZ(argument-1, argument-2)
Returns the remainder from the division of the first
argument by the second argument, using zero fuzzing.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
MSPLINT(X, n, X1 <, X2,
…, Xn>, Y1 <, Y2,
…, Yn> <, D1, Dn>)
Returns the ordinate of a monotonicity-preserving
interpolating spline.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
PI()
Returns the constant value of PI as a floating-point
value.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
POWER(numeric-expression, whole-number-expression)
Returns the value of a numeric value expression
raised to a specified power.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
POWER(numeric-expression, power-numeric-expression)
Returns the value of a numeric value expression
raised to a specified power.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
SIGN(expression)
Returns a number that indicates the sign of a numeric
value expression.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
SIGN(expression)
Returns a number that indicates the sign of a numeric
value expression.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
SIGN(argument)
Returns the sign of a value.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
SQRT(expression)
Returns the square root of a value.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
SQRT(expression)
Returns the square root of a value.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
SQRT(argument)
Returns the square root of a value.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
TNONCT(x, df, prob)
Returns the value of the noncentrality parameter
from the Student's t distribution.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
TNONCT(x, df, prob)
Returns the value of the noncentrality parameter
from the Student's t distribution.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
TNONCT(x, df, prob)
Returns the value of the noncentrality parameter
from the Student's t distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
TRIGAMMA(expression)
Returns the value of the trigamma function.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
TRIGAMMA(expression)
Returns the value of the trigamma function.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
TRIGAMMA(argument)
Returns the value of the trigamma function.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
WHICHN(search-expression, expression-list-item-1, expression-list-item-2
<, ...expression-list-item-n>) Returns the first position of a number from a list
of numbers.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
WHICHN(search-expression, expression-list-item-1, expression-list-item-2
<, ...expression-list-item-n>) Returns the first position of a number from a list
of numbers.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
|
Missing Values
|
Name
|
Syntax and Description
|
|---|---|
|
CMISS(argument-1 <, argument-2,…, argument-n>)
Counts the number of missing arguments.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
COALESCE(argument-1<..., argument-n>)
Returns the first nonmissing value from a list of
numeric arguments.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
COALESCEC(argument-1 < ..., argument-n>)
Returns the first nonmissing value from a list of
character arguments.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
MISSING(numeric-expression | character-expression)
Returns a numeric result that indicates whether
the argument contains a missing value.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
N(argument-1 <, ... argument-n>)
Returns the number of nonmissing numeric values.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
NMISS(argument-1 <,... argument-n>)
Returns the number of missing numeric values.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
|
Numeric
|
Name
|
Syntax and Description
|
|---|---|
|
CHOOSEN(index-expression, selection-1<, ...selection-n>)
Returns a numeric value that represents the results
of choosing from a list of arguments.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
|
Probability
|
Name
|
Syntax and Description
|
|---|---|
|
CDF('BERNOULLI', x, p)
Returns a value from the Bernoulli cumulative probability
distribution.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
CDF('BERNOULLI', x, p)
Returns a value from the Bernoulli cumulative probability
distribution.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
CDF('BERNOULLI', x, p)
Returns a value from the Bernoulli cumulative probability
distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
CDF('BETA', x, a, b <, l, r>)
Returns a value from the beta cumulative probability
distribution.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
CDF('BETA', x, a, b <, l, r>)
Returns a value from the beta cumulative probability
distribution.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
CDF('BETA', x, a, b v<, l, r>)
Returns a value from the beta cumulative probability
distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
CDF('BINOMIAL', m, p, n)
Returns a value from the binomial cumulative probability
distribution.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
CDF('BINOMIAL', m, p, n)
Returns a value from the binomial cumulative probability
distribution.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
CDF('BINOMIAL', m, p, n)
Returns a value from the binomial cumulative probability
distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
CDF('CAUCHY', x <,θ> <, λ>)
Returns a value from the Cauchy cumulative probability
distribution.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
CDF('CAUCHY', x <,θ> <, λ>)
Returns a value from the Cauchy cumulative probability
distribution.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
CDF('CAUCHY', x <,θ> <, λ>)
Returns a value from the Cauchy cumulative probability
distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
CDF('CHISQUARE', x, df <, nc>)
Returns a value from the Chi-square cumulative probability
distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
CDF('CHISQUARE', x, df <, nc>)
Returns a value from the chi-square cumulative probability
distribution.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
CDF('CHISQUARE', x, df <, nc>)
Returns a value from the chi-square cumulative probability
distribution.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
CDF('CONMAXPOI', y, λ,ν)
Returns a value from the Conway-Maxwell-Poisson
cumulative probability distribution.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
CDF('CONMAXPOI', y, λ,ν)
Returns a value from the Conway-Maxwell-Poisson
cumulative probability distribution.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
CDF('CONMAXPOI', y, λ,ν)
Returns a value from the Conway-Maxwell-Poisson
cumulative probability distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
CDF('EXPONENTIAL', x <,λ>)
Returns a value from the exponential cumulative
probability distribution.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
CDF('EXPONENTIAL', x <,λ>)
Returns a value from the exponential cumulative
probability distribution.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
CDF('EXPONENTIAL', x <,λ>)
Returns a value from the Exponential probability
distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
CDF('F', x, ndf, ddf <, nc>)
Returns a value from the F cumulative probability
distribution.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
CDF('F', x, ndf, ddf <, nc>)
Returns a value from the F cumulative probability
distribution.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
CDF('F', x, ndf, ddf <, nc>)
Returns a value from the F distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
CDF('distribution', quantile <, parameter-1, …, parameter-k>)
Computes the left cumulative distribution function
from various continuous and discrete probability distributions.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
CDF('distribution', quantile <, parameter-1, …, parameter-k>)
Computes the left cumulative distribution function
from various continuous and discrete probability distributions.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
CDF(distribution, quantile <, parameter-1,–parameter-k>)
Returns a value from a cumulative probability distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
CDF('GAMMA', x, a <, λ>)
Returns a value from the gamma cumulative probability
distribution.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
CDF('GAMMA', x, a <, λ>)
Returns a value from the gamma cumulative probability
distribution.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
CDF(‘GENPOISSON’, x, θ, η)
Returns a value from the generalized Poisson cumulative
probability distribution.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
CDF(‘GENPOISSON’, x, θ, η)
Returns a value from the generalized Poisson cumulative
probability distribution.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
CDF('GEOMETRIC', m, p)
Returns a value from the geometric cumulative probability
distribution.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
CDF('GEOMETRIC', m, p)
Returns a value from the geometric cumulative probability
distribution.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
CDF('HYPER', x, N, R, n <, o>)
Returns a value from the hypergeometric cumulative
probability distribution.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
CDF('HYPER', x, N, R, n <, o>)
Returns a value from the hypergeometric cumulative
probability distribution.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
CDF('LAPLACE', x <,θ, λ>)
Returns a value from the Laplace cumulative probability
distribution.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
CDF('LAPLACE', x <,θ, λ>)
Returns a value from the Laplace cumulative probability
distribution.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
CDF('LOGISTIC', x <, θ, λ>)
Returns a value from the logistic cumulative probability
distribution.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
CDF('LOGISTIC', x <, θ, λ>)
Returns a value from the logistic cumulative probability
distribution.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
CDF('LOGNORMAL', x <, θ, λ>)
Returns a value from the lognormal cumulative probability
distribution.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
CDF('LOGNORMAL', x <, θ, λ>)
Returns a value from the lognormal cumulative probability
distribution.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
CDF('NEGBINOMIAL', m, p, n)
Returns a value from the negative binomial cumulative
probability distribution.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
CDF('NEGBINOMIAL', m, p, n)
Returns a value from the negative binomial cumulative
probability distribution.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
CDF('NORMAL', x <, θ, λ>)
Returns a value from the normal cumulative probability
distribution.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
CDF('NORMAL', x <, θ, λ>)
Returns a value from the normal cumulative probability
distribution.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
CDF('NORMALMIX', x, n, p, m, s)
Returns a value from the normal mixture cumulative
probability distribution.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
CDF('NORMALMIX', x, n, p, m, s)
Returns a value from the normal mixture cumulative
probability distribution.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
CDF('PARETO', x, a <, k>)
Returns a value from the Pareto cumulative probability
distribution.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
CDF('PARETO', x, a <, k>)
Returns a value from the Pareto cumulative probability
distribution.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
CDF('POISSON', n, m)
Returns a value from the Poisson cumulative probability
distribution.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
CDF('POISSON', n, m)
Returns a value from the Poisson cumulative probability
distribution.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
CDF('T', t, df <, nc>)
Returns a value from the T cumulative probability
distribution.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
CDF('T', t, df <, nc>)
Returns a value from the T cumulative probability
distribution.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
CDF (‘TWEEDIE’, y, p <, µ, φ>)
Returns a value from the Tweedie cumulative probability
distribution.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
CDF (‘TWEEDIE’, y, p <, µ, φ>)
Returns a value from the Tweedie cumulative probability
distribution.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
CDF('UNIFORM', x <, l, r>)
Returns a value from the uniform cumulative probability
distribution.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
CDF('UNIFORM', x <, l, r>)
Returns a value from the uniform cumulative probability
distribution.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
CDF('WALD', x, λ <, µ>)
CDF('IGAUSS', x, λ <, µ>)
Returns a value from the Wald (also known as the
inverse Gaussian) cumulative probability distribution.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
CDF('WALD', x, λ <, µ>)
CDF('IGAUSS', x, λ <, µ>)
Returns a value from the Wald (also known as the
inverse Gaussian) cumulative probability distribution.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
CDF('WEIBULL', x, a <, λ>)
Returns a value from the Weibull cumulative probability
distribution.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
CDF('WEIBULL', x, a <, λ>)
Returns a value from the Weibull cumulative probability
distribution.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
LOGCDF('distribution', quantile <, parameter-1,
..., parameter-k>)
Returns the logarithm of a left cumulative distribution
function.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
LOGCDF('distribution', quantile <, parameter-1,
..., parameter-k>)
Returns the logarithm of a left cumulative distribution
function.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
LOGCDF('distribution', quantile <, parameter-1,
..., parameter-k>)
Returns the logarithm of a left cumulative distribution
function.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
LOGPDF('distribution', quantile, parameter-1, ..., parameter-k)
Computes the logarithm of the probability density
(mass) function from various continuous and discrete distributions.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
LOGPDF('distribution', quantile, parameter-1, ..., parameter-k)
Computes the logarithm of the probability density
(mass) function from various continuous and discrete distributions.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
LOGPDF('distribution', quantile, parameter-1, ..., parameter-k)
Returns the logarithm of a probability density (mass)
function.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
LOGSDF('distribution', quantile, parameter-1, ..., parameter-k)
Returns the logarithm of a survival function.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
LOGSDF('distribution', quantile, parameter-1, ..., parameter-k)
Returns the logarithm of a survival function.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
LOGSDF('distribution', quantile, parameter-1, ..., parameter-k)
Returns the logarithm of a survival function.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
PDF ('BERNOULLI', x, p)
Returns a value from the Bernoulli probability density
(mass) distribution.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
PDF ('BERNOULLI', x, p)
Returns a value from the Bernoulli probability density
(mass) distribution.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
PDF ('BETA', x, a, b <, l, r>)
Returns a value from the beta probability density
(mass) distribution.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
PDF ('BETA', x, a, b <, l, r>)
Returns a value from the beta probability density
(mass) distribution.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
PDF ('BINOMIAL', m, p, n)
Returns a value from the binomial probability density
(mass) distribution.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
PDF ('BINOMIAL', m, p, n)
Returns a value from the binomial probability density
(mass) distribution.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
PDF ('CAUCHY', x <, θ, λ>)
Returns a value from the Cauchy probability density
(mass) distribution.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
PDF ('CAUCHY', x <, θ, λ>)
Returns a value from the Cauchy probability density
(mass) distribution.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
PDF ('CHISQUARE', x, df <, nc>)
Returns a value from the chi-square probability
density (mass) distribution.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
PDF ('CHISQUARE', x, df <, nc>)
Returns a value from the chi-square probability
density (mass) distribution.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
PDF('CONMAXPOI',y,λ,ν)
Returns a value from the Conway-Maxwell-Poisson
probability density (mass) distribution.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
PDF('CONMAXPOI',y,λ,ν)
Returns a value from the Conway-Maxwell-Poisson
probability density (mass) distribution.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
PDF ('EXPONENTIAL', x <, λ>)
Returns a value from the exponential probability
density (mass) distribution.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
PDF ('EXPONENTIAL', x <, λ>)
Returns a value from the exponential probability
density (mass) distribution.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
PDF ('F', x, ndf, ddf <, nc>)
Returns a value from the F probability density (mass)
distribution.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
PDF ('F', x, ndf, ddf <, nc>)
Returns a value from the F probability density (mass)
distribution.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
PDF('distribution', quantile <, parameter-1, ..., parameter-k>)
Returns a value from a probability density (mass)
distribution.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
PDF('distribution', quantile <, parameter-1, ..., parameter-k>)
Returns a value from a probability density (mass)
distribution.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
PDF(distribution, quantile <, parameter-1, ... , parameter-k>)
Returns a value from a probability density (mass)
distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
PDF ('GAMMA', x, a <, λ>)
Returns a value from the gamma probability density
(mass) distribution.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
PDF ('GAMMA', x, a <, λ>)
Returns a value from the gamma probability density
(mass) distribution.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
PDF ('GENPOISSON', x, θ, η)
Returns a value from the generalized Poisson probability
density (mass) distribution.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
PDF ('GENPOISSON', x, θ, η)
Returns a value from the generalized Poisson probability
density (mass) distribution.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
PDF ('GEOMETRIC', m, p)
Returns a value from the geometric probability density
(mass) distribution.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
PDF ('GEOMETRIC', m, p)
Returns a value from the geometric probability density
(mass) distribution.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
PDF ('HYPER', x, N, R, n <, o>)
Returns a value from a hypergeometric probability
density (mass) distribution.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
PDF ('HYPER', x, N, R, n <, o>)
Returns a value from a hypergeometric probability
density (mass) distribution.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
PDF ('LAPLACE', x <, θ, λ>)
Returns a value from the Laplace probability density
(mass) distribution.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
PDF ('LAPLACE', x <, θ, λ>)
Returns a value from the Laplace probability density
(mass) distribution.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
PDF ('LOGISTIC', x <, θ, λ>)
Returns a value from the logistic probability density
(mass) distribution.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
PDF ('LOGISTIC', x <, θ, λ>)
Returns a value from the logistic probability density
(mass) distribution.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
PDF ('LOGNORMAL', x <, θ, λ>)
Returns a value from the lognormal probability density
(mass) distribution.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
PDF ('LOGNORMAL', x <, θ, λ>)
Returns a value from the lognormal probability density
(mass) distribution.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
PDF ('NEGBINOMIAL', m, p, n)
Returns the value from the negative binomial probability
density (mass) distribution.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
PDF ('NEGBINOMIAL', m, p, n)
Returns the value from the negative binomial probability
density (mass) distribution.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
PDF ('NORMAL', x <, θ, λ>)
Returns a value from the normal probability density
(mass) distribution.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
PDF ('NORMAL', x <, θ, λ>)
Returns a value from the normal probability density
(mass) distribution.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
PDF ('NORMALMIX', x, n, p1, p2,
... pn, m1, m2,
... mn, s1, s2,
... sn)
Returns a value from the normal mixture probability
density (mass) distribution.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
PDF ('NORMALMIX', x, n, p1, p2,
... pn, m1, m2,
... mn, s1, s2,
... sn)
Returns a value from the normal mixture probability
density (mass) distribution.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
PDF ('PARETO', x, a <, k>)
Returns a value from the Pareto probability density
(mass) distribution.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
PDF ('PARETO', x, a <, k>)
Returns a value from the Pareto probability density
(mass) distribution.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
PDF ('POISSON', n, m)
Returns a value from the Poisson probability density
(mass) distribution.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
PDF ('POISSON', n, m)
Returns a value from the Poisson probability density
(mass) distribution.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
PDF ('T', t, df <, nc>)
Returns a value from the T probability density (mass)
distribution.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
PDF ('T', t, df <, nc>)
Returns a value from the T probability density (mass)
distribution.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
PDF ('TWEEDIE', y, p <, µ, φ>)
Returns a value from the Tweedie probability density
(mass) distribution.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
PDF ('TWEEDIE', y, p <, µ, φ>)
Returns a value from the Tweedie probability density
(mass) distribution.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
PDF ('UNIFORM', x <, l, r>)
Returns a value from the uniform probability density
(mass) distribution.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
PDF ('UNIFORM', x <, l, r>)
Returns a value from the uniform probability density
(mass) distribution.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
PDF ('WALD', x, λ <, µ>)
PDF ('IGAUSS', x, λ <, µ>)
Returns a value from the Wald (also known as the
inverse Gaussian) probability density (mass) distribution.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
PDF ('WALD', x, λ <, µ>)
PDF ('IGAUSS', x, λ <, µ>)
Returns a value from the Wald (also known as the
inverse Gaussian) probability density (mass) distribution.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
PDF('WEIBULL', x, a <, λ>)
Returns a value from the Weibull probability density
(mass) distribution.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
PDF('WEIBULL', x, a <, λ>)
Returns a value from the Weibull probability density
(mass) distribution.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
POISSON(m, n)
Returns the probability from a Poisson distribution.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
POISSON(m, n)
Returns the probability from a Poisson distribution.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
POISSON(m, n)
Returns the probability from a Poisson distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
PROBBETA(x, a, b)
Returns the probability from a beta distribution.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
PROBBETA(x, a, b)
Returns the probability from a beta distribution.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
PROBBETA(x, a, b)
Returns the probability from a beta distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
PROBBNML(p, n, m)
Returns the probability from a binomial distribution.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
PROBBNML(p, n, m)
Returns the probability from a binomial distribution.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
PROBBNML(p, n, m)
Returns the probability from a binomial distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
PROBBNRM(x, y, r)
Returns a probability from a bivariate normal distribution.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
PROBBNRM(x, y, r)
Returns a probability from a bivariate normal distribution.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
PROBBNRM(x, y, r)
Returns a probability from a bivariate normal distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
PROBCHI(x, df<, nc>)
Returns the probability from a chi-square distribution.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
PROBCHI(x, df<, nc>)
Returns the probability from a chi-square distribution.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
PROBCHI(x, df <, nc>)
Returns the probability from a chi-square distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
PROBDF(x, n<, d<, type>>)
Calculates significance probabilities for Dickey-Fuller
tests for unit roots in time series.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
PROBF(x, ndf, ddf<, nc>)
Returns the probability from an F distribution.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
PROBF(x, ndf, ddf<, nc>)
Returns the probability from an F distribution.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
PROBF(x, ndf, ddf <, nc>)
Returns the probability from an F distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
PROBGAM(x, a)
Returns the probability from a gamma distribution.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
PROBGAM(x, a)
Returns the probability from a gamma distribution.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
PROBGAM(x, a)
Returns the probability from a gamma distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
PROBHYPR(N, K, n, x<, r>)
Returns the probability from a hypergeometric distribution.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
PROBHYPR(N, K, n, x<, r>)
Returns the probability from a hypergeometric distribution.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
PROBHYPR(N, K, n, x <, r>)
Returns the probability from a hypergeometric distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
PROBMC(distribution, q, prob, df, nparms<, parameters>)
Returns a probability or a quantile from various
distributions for multiple comparisons of means.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
PROBMC(distribution, q, prob, df, nparms<, parameters>)
Returns a probability or a quantile from various
distributions for multiple comparisons of means.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
PROBMC(distribution, q, prob, df, nparms <, parameters>)
Returns a probability or a quantile from various
distributions for multiple comparisons of means.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
PROBMED(n, x)
Computes cumulative probabilities for the sample
median.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
PROBMED(n, x)
Computes cumulative probabilities for the sample
median.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
PROBMED(n, x)
Computes cumulative probabilities for the sample
median.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
PROBNEGB(p, n, m)
Returns the probability from a negative binomial
distribution.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
PROBNEGB(p, n, m)
Returns the probability from a negative binomial
distribution.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
PROBNEGB(p, n, m)
Returns the probability from a negative binomial
distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
PROBNORM(x)
Returns the probability from the standard normal
distribution.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
PROBNORM(x)
Returns the probability from the standard normal
distribution.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
PROBNORM(x)
Returns the probability from the standard normal
distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
PROBT(x, df<, nc>)
Returns the probability from a t distribution.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
PROBT(x, df <, nc>)
Returns the probability from a t distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
SDF('distribution', quantile, parameter-1, ..., parameter-k)
Returns a survival function.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
SDF('distribution', quantile, parameter-1, ..., parameter-k)
Returns a survival function.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
SDF(distribution, quantile, parameter-1, ..., parameter-k)
Returns a survival function.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
|
Quantile
|
Name
|
Syntax and Description
|
|---|---|
|
BETAINV(p, a, b)
Returns a quantile from the beta distribution.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
BETAINV(p, a, b)
Returns a quantile from the beta distribution.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
BETAINV(p, a, b)
Returns a quantile from the beta distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
CINV(p, df<, nc>)
Returns a quantile from the chi-square distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FINV (p, ndf, ddf <, nc>)
Returns a quantile from the F distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
GAMINV(p, a)
Returns a quantile from the gamma distribution.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
GAMINV(p, a)
Returns a quantile from the gamma distribution.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
GAMINV(p, a)
Returns a quantile from the gamma distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
PROBIT(p)
Returns a quantile from the standard normal distribution.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
PROBIT(p)
Returns a quantile from the standard normal distribution.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
PROBIT(p)
Returns a quantile from the standard normal distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
QUANTILE('distribution', probability, parameter-1, …, parameter-k)
Returns the quantile from a distribution when you
specify the left probability (CDF).
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
QUANTILE('distribution', probability, parameter-1, …, parameter-k)
Returns the quantile from a distribution when you
specify the left probability (CDF).
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
QUANTILE(distribution, probability, parameter-1, …, parameter-k)
Returns the quantile from a distribution when you
specify the left probability (CDF).
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
SQUANTILE('distribution', probability, parameter-1, ..., parameter-k)
Returns the quantile from a distribution when you
specify the right probability (SDF).
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
SQUANTILE('distribution', probability, parameter-1, ..., parameter-k)
Returns the quantile from a distribution when you
specify the right probability (SDF).
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
SQUANTILE(distribution, probability, parameter-1, ..., parameter-k)
Returns the quantile from a distribution when you
specify the right probability (SDF).
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
TINV(p, df<, nc>)
Returns a quantile from the t distribution.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
TINV(p, df<, nc>)
Returns a quantile from the t distribution.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
TINV(p, df <, nc>)
Returns a quantile from the t distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
|
Random Number
|
Name
|
Syntax and Description
|
|---|---|
|
Returns a random variate from a normal, or Gaussian,
distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
RANBIN(seed, n, p)
Returns a random variate from a binomial distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
RANCAU(seed)
Returns a random variate from a Cauchy distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
RAND('distribution', parameter-1, ...parameter-k)
Generates random numbers from a distribution that
you specify.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
RAND(distribution, parameter-1,
…, parameter-k)
Generates random numbers from a distribution that
you specify.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
RANEXP(seed)
Returns a random variate from an exponential distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
RANGAM(seed, a)
Returns a random variate from a gamma distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
RANNOR(seed)
Returns a random variate from a normal distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
RANPOI(seed, m)
Returns a random variate from a Poisson distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
RANTBL(seed, p1...pi..., pn)
Returns a random variate from a tabled probability
distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
RANTRI(seed, h)
Returns a random variate from a triangular distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
RANUNI(seed)
Returns a random variate from a uniform distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
STREAMINIT(<seed>)
STREAMINIT(<RNG>
STREAMINIT(<RNG, seed>
Specifies a random-number generator and seed value
for generating random numbers.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
Returns a random variate from a uniform distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
|
Rounding and Truncation
|
Name
|
Syntax and Description
|
|---|---|
|
CEIL(argument)
Returns the smallest integer that is greater than
or equal to the argument, fuzzed to avoid unexpected floating-point
results.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
CEILZ(argument)
Returns the smallest integer that is greater than
or equal to the argument, using zero fuzzing.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FLOOR(argument)
Returns the largest integer that is less than or
equal to the argument, fuzzed to avoid unexpected floating-point results.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FLOORZ(argument)
Returns the largest integer that is less than or
equal to the argument, using zero fuzzing.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FUZZ(argument)
Returns the nearest integer if the argument is within
1E−12 of that integer.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
INT(argument)
Returns the integer value, fuzzed to avoid unexpected
floating-point results.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
INTZ(argument)
Returns the integer portion of the argument, using
zero fuzzing.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
ROUND(argument <, rounding-unit>)
Rounds the first argument to the nearest multiple
of the second argument, or to the nearest integer when the second
argument is omitted.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
ROUNDE(argument <, rounding-unit>)
Rounds the first argument to the nearest multiple
of the second argument, and returns an even multiple when the first
argument is halfway between the two nearest multiples.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
ROUNDZ(argument <, rounding-unit>)
Rounds the first argument to the nearest multiple
of the second argument, using zero fuzzing.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
TRUNC(number, length)
Truncates a numeric value to a specified number
of bytes.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
|
SAS File I/O
|
Name
|
Syntax and Description
|
|---|---|
|
ATTRC(data-set-id,
CHARSET | COMPRESS | DATAREP | ENCODING | ENCRYPT | ENGINE | LABEL | LIB | MEM | MODE | MTYPE | SORTEDBY | SORTLVL | SORTSEQ | TYPE)
Returns the value of a character attribute for a
SAS data set.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
ATTRN(data-set-id,
ALTERPW | ANOBS | ANY | ARAND | ARWU | AUDIT | AUDIT_DATA | AUDIT_BEFORE | AUDIT_ERROR | CRDTE | ICONST | INDEX | ISINDEX | ISSUBSET | LRECL | LRID | MAXGEN | MAXRC | MODTE | NDEL | NEXTGEN | NLOBS | NLOBSF | NOBS | NVARS | PW | RADIX | READPW | REUSE | TAPE | WHSTMT | WRITEPW)
Returns the value of a numeric attribute for a SAS
data set.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
CEXIST(entry<, 'U'>)
Verifies the existence of a SAS catalog or SAS catalog
entry.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
CUROBS(data-set-id)
Returns the observation number of the current observation.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
DROPNOTE(data-set-id | file-id,
note-id)
Deletes a note marker from a SAS data set or an
external file.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
DSNAME(data-set-id)
Returns the SAS data set name that is associated
with a data set identifier.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
ENVLEN(argument)
Returns the length of an environment variable.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
EXIST('member-name' <, member-type <, generation>>)
Verifies the existence of a SAS library member within
a currently assigned SAS data library.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FCOPY('fileref-1',
'fileref-2')
Copies records from one fileref to another fileref,
and returns a value that indicates whether the records were successfully
copied.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FETCH(data-set-id <, 'NOSET'>)
Reads the next non-deleted observation from a SAS
data set into the Data Set Data Vector (DDV).
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FETCHOBS(data-set-id, observation-number <, options>)
Reads a specified observation from a SAS data set
into the Data Set Data Vector (DDV).
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
GETVARC(data-set-id, variable-number)
Returns the value of a SAS data set character variable.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
GETVARN(data-set-id, variable-number)
Returns the value of a SAS data set numeric variable.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
IORCMSG()
Returns a formatted error message for _IORC_.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
LIBNAME(libref <, SAS-library <, engine <, options>>>)
Assigns or clears a libref for a SAS library.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
LIBREF(libref)
Verifies that a libref has been assigned.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
NOTE(data-set-id)
Returns an observation ID for the current observation
of a SAS data set.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
OPEN(<data-set-name <, mode <, generation-number <, type>>>>)
Opens a SAS data set.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
PATHNAME((fileref | libref) <, search-ref>)
Returns the physical name of an external file or
a SAS library, or returns a blank.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
POINT(data-set-id, note-id)
Locates an observation that is identified by the
NOTE function.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
RENAME(old-name, new-name <, type <, description <, password <, generation>>>>)
Renames a member of a SAS library, an entry in a
SAS catalog, an external file, or a directory.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
REWIND(data-set-id)
Positions the data set pointer at the beginning
of a SAS data set.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
SYSEXIST(argument)
Returns a value that indicates whether an operating-environment
variable exists in your environment.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
SYSMSG()
Returns error or warning message text from processing
the last data set or external file function.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
SYSRC()
Returns a system error number.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
VARFMT(data-set-id, variable-number)
Returns the format that is assigned to a SAS data
set variable.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
VARINFMT(data-set-id, variable-number)
Returns the informat that is assigned to a SAS data
set variable.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
VARLABEL(data-set-id, variable-number)
Returns the label that is assigned to a SAS data
set variable.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
VARLEN(data-set-id, variable-number)
Returns the length of a SAS data set variable.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
VARNAME(data-set-id, variable-number)
Returns the name of a SAS data set variable.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
VARNUM(data-set-id, variable-name)
Returns the number of a variable's position
in a SAS data set.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
VARTYPE(data-set-id, variable-number)
Returns the data type of a SAS data set variable.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
|
Scalar
|
Name
|
Syntax and Description
|
|---|---|
|
Aggregate:
NMISS(<DISTINCT> expression)
Scalar:
NMISS(expression<, ...expression>)
Returns the number of null values or SAS missing
values in an expression.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
|
Search
|
Name
|
Syntax and Description
|
|---|---|
|
WHICHC(string, value-1 <, value-2, ..., value-n>)
Searches for a character value that is equal to
the first argument, and returns the index of the first matching value.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
WHICHN(argument, value-1 <, value-2, ..., value-n>)
Searches for a numeric value that is equal to the
first argument, and returns the index of the first matching value.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
|
Sort
|
Name
|
Syntax and Description
|
|---|---|
|
SORT(variable)
Sorts a list of variables.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
|
Special
|
Name
|
Syntax and Description
|
|---|---|
|
ADDRLONG(variable)
Returns the memory address of a variable on a 64-bit
platform.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
CAST(expression AS data-type <(length)>)
Converts a value from one data type to another.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
DIF<n> (expression)
Returns differences between an argument and its nth
lag.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
DIF<n> (argument)
Returns differences between an argument and its nth
lag.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FMTINFO('format-name',
'information-type');
Returns information about a SAS format or informat.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
FMTINFO('format-name',
'information-type');
Returns information about a SAS format or informat.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
FMTINFO(fmtname, info)
Retrieves information about a format or informat.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
GETOPTION(option-name <, return-value-option> <return-value-formatting-options>)
Returns the value of a SAS system or graphics option.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
GETOPTION(option-name <, return-value-option> <return-value-formatting-options>)
Returns the value of a SAS system or graphics option.
Product: Base SAS
Document: SAS System Options for SAS Viya Workbench
| |
|
IFNULL(expression-1, expression-2)
Checks the value of the first expression and, if
it is null or a SAS missing value, returns the second expression.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
INPUT(source, <? | ??> informat.)
Returns the value that is produced when SAS converts
an expression by using the specified informat.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
INPUTC(source, informat<, w>)
Enables you to specify a character informat at run
time.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
INPUTC(source, informat<, w>)
Enables you to specify a character informat at run
time.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
INPUTC(source, informat <, w>)
Enables you to specify a character informat at run
time.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
INPUTN(source, informat<, w<, d>>)
Enables you to specify a numeric informat at run
time.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
INPUTN(source, informat<, w<, d>>)
Enables you to specify a numeric informat at run
time.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
INPUTN(source, informat <, w<, d>>)
Enables you to specify a numeric informat at run
time.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
LAG <n> (expression)
Returns values from a queue.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
LAG <n> (argument)
Returns values from a queue.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
MISSING(expression)
Returns a number that indicates whether the argument
contains a missing value.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
N(expression <, ...expression>)
Returns the number of non-null or nonmissing numeric
values.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
N(expression <, ...expression>)
Returns the number of non-null or nonmissing numeric
values.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
NULL(expression)
Returns a 1 if the argument is null and a 0 if the
argument is not null.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
PEEKCLONG(address <, length>)
Stores the contents of a memory address in a character
variable on a 64-bit platform.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
PEEKLONG(address <, length>)
Stores the contents of a memory address in a numeric
variable on a 64-bit platform.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
PROGRAMBLOCKLINENUMBER()
Returns the line number of the current statement
starting from the beginning of the current program block.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
PROGRAMBLOCKNAME()
Returns the name of the current programming block.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
PROGRAMBLOCKTYPE()
Returns the type of the current programming block.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
PTRLONGADD(pointer<, amount>)
Returns the pointer address as a character variable
on a 64-bit platform.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
PUT(expression, format)
Returns a value using a specified format.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
PUT(source, format.)
Returns a value using a specified format.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
PUT(source, format.) Returns a value using a specified format.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
PUTC(value, format-specification <, w>)
Enables you to specify a character format at run
time.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
PUTC(value, format-specification <, w>)
Enables you to specify a character format at run
time.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
PUTN(value, format-specification <, w <, d>>)
Enables you to specify a numeric format at run time.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
PUTN(value, format-specification <, w <, d>>)
Enables you to specify a numeric format at run time.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
SASLOGLINENUMBER( )
Returns the line number of the current statement
in the SAS log.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
SLEEP(number-of-time-units <, time-unit>)
For a specified period of time, suspends the execution
of a program that invokes this function.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
SLEEP(n <, unit>)
Suspends the execution of a program that invokes
this function for a period of time.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
SQLEXEC('sql-text')
Executes a FedSQL statement to create, delete, or
update a table or to insert rows into a table.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
SYSEXIST(argument)
Returns a value that indicates whether an operating-environment
variable exists in your environment.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
SYSGET('environment-variable')
Returns the value of the specified operating-environment variable .
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
SYSGET('environment-variable')
Returns the value of the specified operating-environment variable .
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
SYSGET('environment-variable')
Returns the value of the specified operating-environment
variable.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
SYSPARM()
Returns the system parameter string.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
SYSPROCESSID()
Returns the process ID of the current process.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
SYSPROCESSNAME(<process_id>)
Returns the process name that is associated with
a given process ID, or returns the name of the current process.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
SYSPROD(product-name)
Determines whether a product is licensed.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
SYSTEM(command)
Issues an operating environment command during a
SAS session, and returns the system return code.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
UUIDGEN( )
Returns the short form of a Universally Unique Identifier
(UUID).
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
UUIDGEN( )
Returns the short form of a Universally Unique Identifier
(UUID).
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
|
Special Purpose Functions
|
Name
|
Syntax and Description
|
|---|---|
|
quantile=INVCDF('CDF-function-name', options-array, cumulative-probability,
parameter-1 <, parameter-2,
...>);
Computes the quantile from any distribution for
which you have defined a cumulative distribution function (CDF).
Product: Base SAS
Document: Base SAS Procedures for SAS Viya Workbench
| |
|
imom=LIMMOMENT('CDF-function-name', options-array, order, limit,
parameter-1 <, parameter-2,
...>);
Computes the limited moment of any distribution
for which you have defined a cumulative distribution function (CDF).
Product: Base SAS
Document: Base SAS Procedures for SAS Viya Workbench
|
State and ZIP code
|
Name
|
Syntax and Description
|
|---|---|
|
FIPNAME(expression)
Converts two-digit FIPS codes to uppercase state
names.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
FIPNAME(expression)
Converts two-digit FIPS codes to uppercase state
names.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FIPNAMEL(expression)
Converts two-digit FIPS codes to mixed case state
names.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
FIPNAMEL(expression)
Converts two-digit FIPS codes to mixed case state
names.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
FIPSTATE(expression)
Converts two-digit FIPS codes to two-character state
postal codes.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
FIPSTATE(expression)
Converts two-digit FIPS codes to two-character state
postal codes.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
STFIPS(postal-code)
Converts state postal codes to FIPS state codes.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
STFIPS(postal-code)
Converts state postal codes to FIPS state codes.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
STNAME(postal-code)
Converts state postal codes to uppercase state names.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
STNAME(postal-code)
Converts state postal codes to uppercase state names.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
STNAMEL(postal-code)
Converts state postal codes to mixed case state
names.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
STNAMEL(postal-code)
Converts state postal codes to mixed case state
names.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
ZIPCITY(ZIP-code)
Returns a city name and the two-character postal
code that corresponds to a ZIP code.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
ZIPCITY(ZIP-code)
Returns a city name and the two-character postal
code that corresponds to a ZIP code.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
ZIPCITYDISTANCE(ZIP-code-1, ZIP-code-2)
Returns the geodetic distance between two ZIP code
locations.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
ZIPCITYDISTANCE(ZIP-code-1, ZIP-code-2)
Returns the geodetic distance between two ZIP code
locations.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
ZIPFIPS(ZIP-code)
Converts ZIP codes to two-digit FIPS codes.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
ZIPFIPS(ZIP-code)
Converts ZIP codes to two-digit FIPS codes.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
ZIPNAME(ZIP-code)
Converts ZIP codes to uppercase state names.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
ZIPNAME(ZIP-code)
Converts ZIP codes to uppercase state names.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
ZIPNAMEL(ZIP-code)
Converts ZIP codes to mixed-case state names.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
ZIPNAMEL(ZIP-code)
Converts ZIP codes to mixed-case state names.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
ZIPSTATE(ZIP-code)
Converts ZIP codes to two-character state postal
codes.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
ZIPSTATE(ZIP-code)
Converts ZIP codes to two-character state postal
codes.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
|
Trigonometric
|
Name
|
Syntax and Description
|
|---|---|
|
ARCOS(expression)
Returns the arccosine in radians.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
ARCOS(expression)
Returns the arccosine in radians.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
ARCOS(argument)
Returns the arccosine.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
ARSIN(expression)
Returns the arcsine in radians.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
ARSIN(expression)
Returns the arcsine in radians.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
ARSIN(argument)
Returns the arcsine.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
ATAN(expression)
Returns the arctangent in radians.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
ATAN(expression)
Returns the arctangent in radians.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
ATAN(argument)
Returns the arc tangent.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
ATAN2 (expression-1, expression-2)
Returns the arctangent of the x and y coordinates
of a right triangle, in radians.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
ATAN2(expression-1, expression-2 )
Returns the arctangent of the x and y coordinates
of a right triangle, in radians.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
ATAN2(expression-1, expression-2)
Returns the arc tangent of the x and y coordinates
of a right triangle, in radians.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
COS(expression)
Returns the cosine in radians.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
COS(expression)
Returns the cosine in radians.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
COS(argument)
Returns the cosine.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
COSH(expression)
Returns the hyperbolic cosine in radians.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
COSH(expression)
Returns the hyperbolic cosine in radians.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
COT(argument)
Returns the cotangent.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
COT(expression)
Returns the tangent in radians.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
COT(argument)
Returns the cotangent.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
CSC(argument)
Returns the cosecant.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
CSC(argument)
Returns the cosecant.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
CSC(argument)
Returns the cosecant.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
DEGREES(expression)
Returns the number of degrees for an angle in radians.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
RADIANS(expression)
Returns the number of radians converted from a numeric
degree value.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
SEC(expression)
Returns the secant.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
SEC(expression)
Returns the secant.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
SEC(argument)
Returns the secant.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
SIN(expression)
Returns the trigonometric sine.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
SIN(expression)
Returns the trigonometric sine.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
SIN(argument)
Returns the sine.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
SINH(expression)
Returns the hyperbolic sine.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
TAN(expression)
Returns the tangent.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
TAN(expression)
Returns the tangent.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
TAN(argument)
Returns the tangent.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
TANH(expression)
Returns the hyperbolic tangent.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
|
Truncation
|
Name
|
Syntax and Description
|
|---|---|
|
CEIL(expression)
Returns the smallest integer greater than or equal
to a numeric value expression.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
CEIL(expression)
Returns the smallest integer greater than or equal
to a numeric value expression.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
CEILZ(expression)
Returns the smallest integer that is greater than
or equal to the argument, using zero fuzzing.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
CEILZ(expression)
Returns the smallest integer that is greater than
or equal to the argument, using zero fuzzing.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
FLOOR(expression)
Returns the largest integer less than or equal to
a numeric value expression.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
FLOOR(expression)
Returns the largest integer less than or equal to
a numeric value expression.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
FLOORZ(expression)
Returns the largest integer that is less than or
equal to the argument, using zero fuzzing.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
FLOORZ(expression)
Returns the largest integer that is less than or
equal to the argument, using zero fuzzing.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
FUZZ(expression)
Returns the nearest whole number if the argument
is within 1E-12 of that number.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
FUZZ(expression)
Returns the nearest whole number if the argument
is within 1E-12 of that number.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
INT(expression)
Returns the whole number, fuzzed to avoid unexpected
floating-point results.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
INT(expression)
Returns the whole number, fuzzed to avoid unexpected
floating-point results.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
INTZ(expression)
Returns the whole number portion of the argument,
using zero fuzzing.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
INTZ(expression)
Returns the whole number portion of the argument,
using zero fuzzing.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
ROUND(expression <, rounding-unit>)
Rounds the first argument to the nearest multiple
of the second argument, or to the nearest integer when the second
argument is omitted.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
ROUND(expression <, rounding-unit>)
Rounds the first argument to the nearest multiple
of the second argument, or to the nearest integer when the second
argument is omitted.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
ROUNDE(expression <, rounding-unit>)
Rounds the first argument to the nearest multiple
of the second argument, and returns an even multiple when the first
argument is halfway between the two nearest multiples.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
ROUNDZ(expression <, rounding-unit>)
Rounds the first argument to the nearest multiple
of the second argument, using zero fuzzing.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
ROUNDZ(expression <, rounding-unit>)
Rounds the first argument to the nearest multiple
of the second argument, using zero fuzzing.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
TRUNC(expression, length-expression)
Truncates a numeric value to a specified length.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
TRUNC(expression, length-expression)
Truncates a numeric value to a specified length.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
|
Variable Assignment
|
Name
|
Syntax and Description
|
|---|---|
|
VGETVALUE (source-variable, destination-variable )
Gets the value of the specified variable and assigns it to another variable.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
VSETMISSING(variable-name1<,...variable-nameN>)
Assigns a missing or null value to the specified variable or
variables.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
VSETVALUE
(destination-variable,
value)
Sets a variable to a specified value.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
|
Variable Information
|
Name
|
Syntax and Description
|
|---|---|
|
VARRAY(name)
Returns a value that indicates whether the specified
name is an array.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
VARRAYX(expression)
Returns a value that indicates whether the value
of the specified argument is an array.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
VARTRANSCODE(data-set-id, var-num)
Returns the transcode attribute of a SAS data set
variable.
Product: Base SAS
Document: SAS National Language Support (NLS) Reference for SAS Viya Workbench
| |
|
VFORMAT(variable | variable-array\< i
\> | varlist\< i
\>)
Returns the format that is associated with the specified
global variable.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
VFORMAT(variable)
Returns the format that is associated with the specified
variable.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
VFORMATD(variable)
Returns the decimal value of the format that is
associated with the specified variable.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
VFORMATDX(expression)
Returns the decimal value of the format that is
associated with the value of the specified argument.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
VFORMATN(variable)
Returns the format name that is associated with
the specified variable.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
VFORMATNX(expression)
Returns the format name that is associated with
the value of the specified argument.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
VFORMATW(variable)
Returns the format width that is associated with
the specified variable.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
VFORMATWX(expression)
Returns the format width that is associated with
the value of the specified argument.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
VFORMATX(expression)
Returns the format that is associated with the value
of the specified argument.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
VINARRAY(variable | variable-array\< i
\> | varlist\< i
\>)
Returns a value that indicates whether the specified
variable is a member of an array.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
VINARRAY(variable)
Returns a value that indicates whether the specified
variable is a member of an array.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
VINARRAYX(expression)
Returns a value that indicates whether the value
of the specified argument is a member of an array.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
VINFORMAT(variable | variable-array\< i
\> | varlist\< i
\>)
Returns the informat that is associated with the
specified variable.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
VINFORMAT(variable)
Returns the informat that is associated with the
specified variable.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
VINFORMATD(variable)
Returns the decimal value of the informat that is
associated with the specified variable.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
VINFORMATDX(expression)
Returns the decimal value of the informat that is
associated with the value of the specified variable.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
VINFORMATN(variable)
Returns the informat name that is associated with
the specified variable.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
VINFORMATNX(expression)
Returns the informat name that is associated with
the value of the specified argument.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
VINFORMATW(variable)
Returns the informat width that is associated with
the specified variable.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
VINFORMATWX(expression)
Returns the informat width that is associated with
the value of the specified argument.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
VINFORMATX(expression)
Returns the informat that is associated with the
value of the specified argument.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
VLABEL(variable | variable-array\< i
\> | varlist\< i
\>)
Returns the label that is associated with the specified
variable.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
VLABEL(variable)
Returns the label that is associated with the specified
variable.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
VLABELX(expression)
Returns the label that is associated with the value
of the specified argument.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
VLENGTH(variable | variable-array\< i
\> | varlist\< i
\>)
Returns the size of the specified variable.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
VLENGTH(variable)
Returns the compile-time (allocated) size of the
specified variable.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
VLENGTHX(expression)
Returns the compile-time (allocated) size for the
variable with a name that is the same as the value of the argument.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
VNAME(variable | variable-array\< i
\> | varlist\< i
\>)
Returns the name of the specified variable.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
VNAME(variable)
Returns the name of the specified variable.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
VNAMEX(expression)
Validates the value of the specified argument as
a variable name.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
VTRANSCODE (var)
Returns a value that indicates whether transcoding
is enabled for the specified character variable.
Product: Base SAS
Document: SAS National Language Support (NLS) Reference for SAS Viya Workbench
| |
|
VTRANSCODEX (var)
Returns a value that indicates whether transcoding
is enabled for the specified argument.
Product: Base SAS
Document: SAS National Language Support (NLS) Reference for SAS Viya Workbench
| |
|
VTYPE(variable | variable-array\<
i
\> | varlist\<
i
\>)
Returns the full name of the data type that is associated with a
variable.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
VTYPE(variable)
Returns the type (character or numeric) of the specified
variable.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
VTYPEX(expression)
Returns the type (character or numeric) for the
value of the specified argument.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
VVALUE(variable)
Returns the formatted value that is associated with
the variable that you specify.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
VVALUEX(expression)
Returns the formatted value that is associated with
the argument that you specify.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
|
Web Tools
|
Name
|
Syntax and Description
|
|---|---|
|
HTMLDECODE(expression)
Decodes a string that contains HTML numeric character
references or HTML character entity references, and returns the decoded
string.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
HTMLENCODE(expression, <options>)
Encodes characters using HTML character entity references,
and returns the encoded string.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
URLDECODE(expression)
Returns a string that was decoded using the URL
escape syntax.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
URLDECODE(expression)
Returns a string that was decoded using the URL
escape syntax.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
URLDECODE(argument)
Returns a string that was decoded using the URL
escape syntax.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
| |
|
URLENCODE(expression)
Returns a string that was encoded using the URL
escape syntax.
Product: Base SAS
Document: SAS DS2 Reference for SAS Viya Workbench
| |
|
URLENCODE(expression)
Returns a string that was encoded using the URL
escape syntax.
Product: SAS Federation Server
Document: SAS FedSQL Language Reference for SAS Viya Workbench
| |
|
URLENCODE(argument)
Returns a string that was encoded using the URL
escape syntax.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
|
Last updated: June 5, 2026