General Functions Listed Alphabetically
|
Name
|
Syntax and Description
|
|---|---|
|
ABS(argument)
Returns the absolute value.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
ADDRLONG(variable)
Returns the memory address of a variable on a 64-bit
platform.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
AIRY(x)
Returns the value of a differential equation.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
ANYPRINT(string <,start>)
Searches a character string for a printable character,
and returns the first position at which that character is found.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
ARCOS(argument)
Returns the arccosine.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
ARCOSH(x)
Returns the inverse hyperbolic cosine.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
ARSIN(argument)
Returns the arcsine.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
ARSINH(x)
Returns the inverse hyperbolic sine.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
ARTANH(x)
Returns the inverse hyperbolic tangent.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
ATAN(argument)
Returns the arc tangent.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
BAND(argument-1, argument-2)
Returns the bitwise logical AND of 32-bit integer
values.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
BETA(a, b)
Returns the value of the beta function.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
BETAINV(p, a, b)
Returns a quantile from the beta distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
BNOT(argument)
Returns the bitwise logical NOT of 32-bit integer
values.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
BOR(argument-1, argument-2)
Returns the bitwise logical OR of 32-bit integer
values.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
BYTE (n)
Returns one character in the ASCII collating sequence.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
CATT(item-1 <, … item-n>)
Removes trailing blanks, and returns a concatenated
character string.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
CDF('BERNOULLI', x, p)
Returns a value from the Bernoulli cumulative probability
distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
CDF('BINOMIAL', m, p, n)
Returns a value from the binomial cumulative probability
distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
CDF('CAUCHY', x <,θ> <, λ>)
Returns a value from the Cauchy cumulative probability
distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
CDF('CHISQUARE', x, df <, nc>)
Returns a value from the Chi-square cumulative probability
distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
CDF('CONMAXPOI', y, λ,ν)
Returns a value from the Conway-Maxwell-Poisson
cumulative probability distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
CDF('EXPONENTIAL', x <,λ>)
Returns a value from the Exponential probability
distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
CDF('F', x, ndf, ddf <, nc>)
Returns a value from the F distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
CDF(distribution, quantile <, parameter-1,–parameter-k>)
Returns a value from a cumulative probability distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
CDF('GAMMA', x, a <, λ>)
Returns a value from the gamma distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
CDF(‘GENPOISSON’, x, θ, η)
Returns information about the generalized Poisson
distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
CDF('GEOMETRIC', m, p)
Returns information from the geometric distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
CDF('HYPER', x, N, R, n <, o>)
Returns information about the hypergeometric distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
CDF('LAPLACE', x <,θ, λ>)
Returns information about the Laplace distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
CDF('LOGISTIC', x <, θ, λ>)
Returns information about the logistic distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
CDF('LOGNORMAL', x <, θ, λ>)
Returns information about the lognormal distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
CDF('NEGBINOMIAL', m, p, n)
Returns information about the negative binomial
distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
CDF('NORMAL', x <, θ, λ>)
Returns information about the normal distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
CDF('NORMALMIX', x, n, p, m, s)
Returns information about the normal mixture distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
CDF('PARETO', x, a <, k>)
Returns information about the Pareto distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
CDF('POISSON', n, m)
Returns information from the Poisson distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
CDF('T', t, df <, nc>)
Returns information about the CDF t distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
CDF (‘TWEEDIE’, y, p <, µ, φ>)
Returns information about the Tweedie distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
CDF('UNIFORM', x <, l, r>)
Returns information about the uniform distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
CDF('WALD', x, λ <, µ>)
CDF('IGAUSS', x, λ <, µ>)
Returns information about the Wald distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
CDF('WEIBULL', x, a <, λ>)
Returns information about the Weibull distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
CEXIST(entry<, 'U'>)
Verifies the existence of a SAS catalog or SAS catalog
entry.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
CHAR(string, position)
Returns a single character from a specified position
in a character string.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
CINV(p, df<, nc>)
Returns a quantile from the chi-square distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
CLIBEXIST(session name,caslib name)
CLIBEXIST(uuid,caslib name)
Returns 0 when the specified caslib name is not
found and 1 when the caslib is found.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
CLOSE(data-set-id)
Closes a SAS data set.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
CMISS(argument-1 <, argument-2,…, argument-n>)
Counts the number of missing arguments.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
CNONCT(x, df, probability)
Returns the noncentrality parameter from a chi-square
distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
COMPBL(source)
Removes multiple blanks from a character string.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
COMPFUZZ(value-1, value-2 <, fuzz <, scale>>)
Performs a fuzzy comparison of two numeric values.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
COMPOUND(a, f, r, n)
Returns compound interest parameters.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
%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: Reference
| |
|
CONSTANT(constant <, parameter>)
Computes machine and mathematical constants.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
CONVX(y, f, c(1), ..., c(k))
Returns the convexity for an enumerated cash flow.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
COS(argument)
Returns the cosine.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
COSH(argument)
Returns the hyperbolic cosine.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
COT(argument)
Returns the cotangent.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
COUNTW(string <, <character(s)> <, <modifier(s)>>>)
Counts the number of words in a character string.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
CSC(argument)
Returns the cosecant.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
CSS(argument-1<,...argument-n>)
Returns the corrected sum of squares.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
CUROBS(data-set-id)
Returns the observation number of the current observation.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
CV(argument-1,argument-2 <, ...argument-n>)
Returns the coefficient of variation.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
DACCDB(p, v, y, r)
Returns the accumulated declining balance depreciation.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
DACCSL(p, v, y)
Returns the accumulated straight-line depreciation.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
DACCSYD(p, v, y)
Returns the accumulated sum-of-years-digits depreciation.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
DACCTAB(p, v, t1, ..., tn)
Returns the accumulated depreciation from specified
tables.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
DAIRY(x)
Returns the derivative of the AIRY function.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
DATE()
Returns the current date as a SAS date value.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
DATEJUL(julian-date)
Converts a Julian date to a SAS date value.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
DATEPART(datetime)
Extracts the date from a SAS datetime value.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
DATETIME()
Returns the current date and time of day as a SAS
datetime value.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
DAY(date)
Returns the day of the month from a SAS date value.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
DCLOSE(directory-id)
Closes a directory that was opened by the DOPEN
function.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
DCREATE(directory-name <, parent-directory>)
Returns the complete pathname of a new, external
directory.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
DEPDB(p, v, y, r)
Returns the declining balance depreciation.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
DEPSL(p, v, y)
Returns the straight-line depreciation.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
DEPSYD(p, v, y)
Returns the sum-of-years-digits depreciation.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
DEPTAB(p, v, t1, ..., tn)
Returns the depreciation from specified tables.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
DEVIANCE(distribution, variable, shape-parameters <, ε>)
Returns the deviance based on a probability distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
DIF<n> (argument)
Returns differences between an argument and its nth
lag.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
DIGAMMA(argument)
Returns the value of the digamma function.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
DINFO(directory-id, information-item)
Returns information about a directory.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
DLGCDIR(<working_directory>)
Sets the working directory.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
DNUM(directory-id)
Returns the number of members in a directory.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
DOPEN(fileref)
Opens a directory, and returns a directory identifier
value.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
DOPTNAME(directory-id, nval)
Returns directory attribute information.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
DOPTNUM(directory-id)
Returns the number of information items that are
available for a directory.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
DOSUBL(x)
Enables the immediate execution of SAS code after
a text string is passed.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
DREAD(directory-id, nval)
Returns the name of a directory member.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
EFFRATE(compounding-interval, rate)
Returns the effective annual interest rate.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
ENVLEN(argument)
Returns the length of an environment variable.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
ERF(argument)
Returns the value of the (normal) error function.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
ERFC(argument)
Returns the value of the complementary (normal)
error function.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
EUCLID(value-1 <, value-2 ...>)
Returns the Euclidean norm of the nonmissing arguments.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
EXP(argument)
Returns the value of the exponential function.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
EXPM1(x)
Returns 1 less than the exponential function of the
argument.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
FACT(n)
Computes a factorial.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
FAPPEND(file-id <, cc>)
Appends the current record to the end of an external
file.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
FCLOSE(file-id)
Closes an external file, directory, or directory
member.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
FCOL(file-id)
Returns the current column position in the File
Data Buffer (FDB).
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
FDELETE(fileref | directory)
Deletes an external file or an empty directory.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
FEXIST(fileref)
Verifies the existence of an external file that
is associated with a fileref.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
FILEEXIST(file-name)
Verifies the existence of an external file by its
physical name.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
FILEREF(fileref)
Verifies whether a fileref has
been assigned for the current SAS session.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
FINANCE('COUPDAYSNC', settlement, maturity, frequency, <basis>);
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
FINANCE('COUPNCD', settlement, maturity, frequency, <basis>);
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
FINANCE('COUPPCD', settlement, maturity, frequency, <basis>);
Computes the previous coupon date before the settlement
date.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
FINANCE('DISC', settlement, maturity, price, redemption, <basis>);
Computes the discount rate for a security.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
FINANCE('EFFECT', nominal-rate, npery);
Computes the effective annual interest rate.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
FINANCE('FV', rate, nper, <payment>, <present-value>, <type>);
Computes the future value of an investment.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
FINANCE('NOMINAL', effective-rate, npery);
Computes the annual nominal interest rates.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
FINANCE('NPER', rate, payment, pv, <fv>, <type>);
Computes the number of periods for an investment.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
FINANCE('PMT', rate, nper, pv, <fv>, <type>);
Computes the periodic payment of an annuity.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
FINANCE('PV', rate, nper, payment, <fv>, <type>);
Computes the present value of an investment.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
FINANCE('TBILLEQ', settlement, maturity, discount);
Computes the bond-equivalent yield for a treasury
bill.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
FINANCE('TBILLYIELD', settlement, maturity, price);
Computes the yield for a treasury bill.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
FINFO(file-id, information-item)
Returns the value of a file information item.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
FINV (p, ndf, ddf <, nc>)
Returns a quantile from the F distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
FIPNAME(expression)
Converts two-digit FIPS codes to uppercase state
names.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
FIPNAMEL(expression)
Converts two-digit FIPS codes to mixed case state
names.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
FIPSTATE(expression)
Converts two-digit FIPS codes to two-character state
postal codes.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
FIRST(string)
Returns the first character in a character string.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
FMTINFO(fmtname, info)
Retrieves information about a format or informat.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
FREWIND(file-id)
Positions the file pointer to the start of the file.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
FSEP(file-id, character(s) <,
'x' | 'X'>)
Sets the token delimiters for the FGET function.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
FWRITE(file-id <, cc>)
Writes a record to an external file.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
GAMINV(p, a)
Returns a quantile from the gamma distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
GAMMA(argument)
Returns the value of the gamma function.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
GCD(x1, x2, x3, …, xn)
Returns the greatest common divisor for one or more
integers.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
GEOMEAN(argument <, argument, ..., argument-n>)
Returns the geometric mean.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
GEOMEANZ(argument <, argument, ..., argument-n>)
Returns the geometric mean, using zero fuzzing.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
GETCASURL(<session>)
Returns the value for a URL for connecting to the
CAS Server Monitor.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
GETLCASLIB(libref)
Returns the caslib that was bound to a CAS LIBNAME
engine libref using the CASLIB= option when it was assigned.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
GETLSESSREF (libref)
Returns the session reference that is associated
with a CAS LIBNAME engine libref.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
GETLTAG(libref)
Returns the tag that was associated with a CAS LIBNAME
engine libref in the TAG= option when it is assigned.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
GETSESSOPT(session-name, session-option-name)
GETSESSOPT(uuid, session-option-name)
Returns the value for a SAS Cloud Analytic Services
session option.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
GIT_BRANCH_CHKOUT( 'directory', 'branch')
Check out a branch in a Git repository.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
GIT_BRANCH_DELETE( 'directory', 'branch-name'<, remote>)
Deletes a Git branch in the repository.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
GIT_BRANCH_NEW( 'directory', 'commit-ID', 'branch-name', force)
Creates a Git branch.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
GIT_CLONE ('uri', 'directory '<,
'user', 'password |
personal-access-token'>
<, '',
'',
'SSL-certificate-path'>)
GIT_CLONE ('uri', 'directory', 'user',
'password', 'ssh-public-key-path', 'ssh-private-key-path')
GIT_CLONE('uri',
'directory',
'',
'',
'',
'',
'SSL-certificate-path',
kerberos)
Clones a Git repository into a directory on the
SAS server.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
GIT_DELETE_REPO('directory')
deletes a local Git repository and all content within
the repository.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
GIT_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: Reference
| |
|
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: Reference
| |
|
GIT_FETCH( 'directory', 'user',
'password',
'ssh-public-key-path', 'ssh-private-key-path'<, 'target-branch', 'SLL-certificate-path',
kerberos>)
Fetches updates from the remote repository.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
GIT_INIT_REPO('directory', 'default-branch-name'<, 'remote-URL'>)
Initializes a new local Git repository.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
GIT_PULL( 'directory')
GIT_PULL( 'directory', 'user',
'password'<, '', '', 'SSL-certificate-path'>)
GIT_PULL( 'directory', 'ssh-user',
'ssh-password', 'ssh-public-key', 'ssh-private-key')
GIT_PULL('directory',
'',
'',
'',
'',
'SSL-certificate-path',
kerberos
Pulls changes from the remote repository into the
local repository.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
GIT_PUSH( 'directory')
GIT_PUSH( 'directory', 'user', 'password' <, '', '', 'SSL-certificate-path'>)
GIT_PUSH( 'directory', 'ssh-user', 'ssh-password', 'ssh-public-key',
'ssh-private-key')
GIT_PUSH('directory',
'',
'',
'',
'',
'SSL-certificate-path',
kerberos
Pushes the committed files in the local repository
to the remote repository.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
GIT_REF_FREE
('directory')
Clears the reference objects that are associated with the local
repository.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
GIT_RESET( 'directory', 'commit-ID', 'reset_type')
Resets the local repository to a specified commit.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
GIT_SET_URL( 'directory', 'URL')
Sets the remote repository URL for a local repository.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
GIT_STASH('directory', 'name',
'email')
Stashes file changes that have not been committed.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
GITFN_CO_BRANCH( directory, branch)
Check out a branch in a Git repository.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
GITFN_DEL_BRANCH( directory, branch-name)
Deletes a Git branch in the repository.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
GITFN_DEL_REPO( directory)
Deletes a local Git repository and its contents.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
GITFN_NEW_BRANCH( directory, commit-ID, branch-name, force)
Creates a Git branch.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
GITFN_RESET( directory, commit-ID, reset_type)
Resets the local repository to a specified commit.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
HARMEAN(argument <, argument, ..., argument-n>)
Returns the harmonic mean.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
HARMEANZ(argument <, argument, ..., argument-n>)
Returns the harmonic mean, using zero fuzzing.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
HASHING('method', 'message', <flag>);
Transforms a message into a digest in hexadecimal
representation.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
HASHING_FILE(‘method’, ‘filename’, <flag>);
Transforms the entire contents of a file into a
digest and returns the digest in hexadecimal representation.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
HASHING_HMAC(‘method’, ‘key’, ‘message’, <flag>);
Transforms a message into a digest in hexadecimal
representation using the HMAC algorithm, which uses the specified
algorithm and a key value.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
HASHING_HMAC_FILE(‘method’, ‘key’, ‘filename’, <flag>);
Transforms the entire contents of a file into a
digest using the HMAC algorithm, which uses the specified algorithm
and a key value.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
HASHING_HMAC_INIT(‘method’, ‘key’, <flag>);
Initializes a running HMAC hash.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
HASHING_INIT(‘method’);
Initializes a running hash.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
HASHING_PART(h, message_part, <flags>);
Provides a portion of the message for the running
hash.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
HASHING_TERM(h);
Returns the final digest in hexadecimal representation
for the running hash.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
HMS(hour, minute, second)
Returns a SAS time value from hour, minute, and
second values.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
HOLIDAYCOUNT(date<,'locale'>)
Returns the number of holidays defined for a SAS
date value.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
HOLIDAYNY('holiday',year<,n<,'locale'>>)
Returns the nth
occurrence of the holiday for the year.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
HOLIDAYTEST('holiday',date<,'locale'>)
Returns 1 if the holiday occurs on the SAS date
value.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
HOUR(time | datetime)
Returns the hour from a SAS time or datetime value.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
HTMLENCODE(expression, <options>)
Encodes characters using HTML character entity references,
and returns the encoded string.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
IBESSEL(nu, x, kode)
Returns the value of the modified Bessel function.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
INPUTC(source, informat <, w>)
Enables you to specify a character informat at run
time.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
INPUTN(source, informat <, w<, d>>)
Enables you to specify a numeric informat at run
time.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
INT(argument)
Returns the integer value, fuzzed to avoid unexpected
floating-point results.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
INTRR(frequency, c0, c1, ..., cn)
Returns the internal rate of return as a fraction.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
INTSHIFT(interval <<multiple.<shift-index>>>)
Returns the shift interval that corresponds to the
base interval.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
INTZ(argument)
Returns the integer portion of the argument, using
zero fuzzing.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
IORCMSG()
Returns a formatted error message for _IORC_.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
IQR(value-1 <, value-2..., value-n>)
Returns the interquartile range.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
IRR(frequency , c1, c2<, ... , cn>)
Returns the internal rate of return as a percentage.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
JBESSEL(nu, x)
Returns the value of the Bessel function.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
JSONPP(‘input
file’,’output
file’)
Creates a readable copy of JSON input.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
JULDATE(date)
Returns the Julian date from a SAS date value.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
JULDATE7(date)
Returns a seven-digit Julian date from a SAS date
value.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
KURTOSIS(argument-1, argument-2, argument-3, argument-4 <,
…, argument-n>)
Returns the kurtosis.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
LAG <n> (argument)
Returns values from a queue.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
LARGEST(k, value-1 <, value-2 ..., value-n>)
Returns the kth
largest nonmissing value.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
LCM(x1, x2, x3, …, xn)
Returns the least common multiple.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
LEFT(argument)
Left-aligns a character string.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
LENGTHC(string)
Returns the length of bytes in a character string, including trailing
blanks.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
LENGTHN(string)
Returns the length of bytes in a character string, excluding trailing
blanks.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
LFACT(n)
Computes the logarithm of the FACT (factorial) function.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
LGAMMA(argument)
Returns the natural logarithm of the Gamma function.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
LIBNAME(libref <, SAS-library <, engine <, options>>>)
Assigns or clears a libref for a SAS library.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
LIBREF(libref)
Verifies that a libref has been assigned.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
LOG(argument)
Returns the natural (base e) logarithm.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
LOG10(argument)
Returns the logarithm to the base 10.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
LOG1PX(x)
Returns the log of 1 plus the argument.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
LOG2(argument)
Returns the logarithm to the base 2.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
LOG4SAS_APPENDER("name", "FileRefAppender" , <'options'>)
Creates a fileref appender that can be referenced
by a logger.
Product: Base SAS
Document: SAS Logging: Configuration and Programming Reference
| |
|
LOG4SAS_LOGEVENT("name",
"level",
"message")
Logs a message by using a specific logger.
Product: Base SAS
Document: SAS Logging: Configuration and Programming Reference
| |
|
LOG4SAS_LOGGER("name", <"options"> )
Creates a logger.
Product: Base SAS
Document: SAS Logging: Configuration and Programming Reference
| |
|
LOGBETA(a, b)
Returns the logarithm of the beta function.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
LOGISTIC(argument)
Returns the logistic transformation of the argument.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
LOGSDF('distribution', quantile, parameter-1, ..., parameter-k)
Returns the logarithm of a survival function.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
LOWCASE(argument)
Converts all uppercase single-width English alphabet
letters in an argument to lowercase.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
MAD(value-1 <, value-2..., value-n>)
Returns the median absolute deviation from the median.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
MAX(argument-1 <, argument-2,
..., argument-n>)
Returns the largest value.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
MD5(message)
Returns the MD5 digest for a specified message string.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
MDY(month, day, year)
Returns a SAS date value from month, day, and year
values.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
MEAN(argument-1 <,
... argument-n>)
Returns the arithmetic mean (average).
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
MEDIAN(value–1 <, value–2, ..., value-n>)
Returns the median value.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
MIN(argument-1 <, argument-2, ..., argument-n>)
Returns the smallest value.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
MINUTE(time | datetime)
Returns the minute from a SAS time or datetime value.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
MONTH(date)
Returns the month from a SAS date value.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
MORT(a, p, r, n)
Returns amortization parameters.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
N(argument-1 <, ... argument-n>)
Returns the number of nonmissing numeric values.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
NETPV(r, frequency, c0, c1, ..., cn)
Returns the net present value as a percent.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
NLITERAL(string)
Converts a character string that you specify to
a SAS name literal.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
NMISS(argument-1 <,... argument-n>)
Returns the number of missing numeric values.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
NOMRATE(compounding-interval, rate)
Returns the nominal annual interest rate.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
Returns a random variate from a normal, or Gaussian,
distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
OPEN(<data-set-name <, mode <, generation-number <, type>>>>)
Opens a SAS data set.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
POISSON(m, n)
Returns the probability from a Poisson distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
PROBBETA(x, a, b)
Returns the probability from a beta distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
PROBBNML(p, n, m)
Returns the probability from a binomial distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
PROBBNRM(x, y, r)
Returns a probability from a bivariate normal distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
PROBCHI(x, df <, nc>)
Returns the probability from a chi-square distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
PROBF(x, ndf, ddf <, nc>)
Returns the probability from an F distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
PROBGAM(x, a)
Returns the probability from a gamma distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
PROBHYPR(N, K, n, x <, r>)
Returns the probability from a hypergeometric distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
PROBIT(p)
Returns a quantile from the standard normal distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
PROBMED(n, x)
Computes cumulative probabilities for the sample
median.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
PROBNEGB(p, n, m)
Returns the probability from a negative binomial
distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
PROBNORM(x)
Returns the probability from the standard normal
distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
PROBT(x, df <, nc>)
Returns the probability from a t distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
PROPCASE(argument <, delimiters>)
Converts all words in an argument to proper case.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
PRXCHANGE(perl-regular-expression | regular-expression-id, times, source)
Performs a pattern-matching replacement.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
PUT(source, format.) Returns a value using a specified format.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
PUTC(value, format-specification <, w>)
Enables you to specify a character format at run
time.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
QTR(date)
Returns the quarter of the year from a SAS date
value.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
QUOTE(argument-1, argument-2)
Adds double quotation marks to a character value.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
RANBIN(seed, n, p)
Returns a random variate from a binomial distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
RANCAU(seed)
Returns a random variate from a Cauchy distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
RAND(distribution, parameter-1,
…, parameter-k)
Generates random numbers from a distribution that
you specify.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
RANEXP(seed)
Returns a random variate from an exponential distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
RANGAM(seed, a)
Returns a random variate from a gamma distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
RANGE(argument-1 <,
...argument-n>)
Returns the range of the nonmissing values.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
RANK(x)
Returns the position of a character in the ASCII
collating sequence.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
RANNOR(seed)
Returns a random variate from a normal distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
RANPOI(seed, m)
Returns a random variate from a Poisson distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
RANTBL(seed, p1...pi..., pn)
Returns a random variate from a tabled probability
distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
RANTRI(seed, h)
Returns a random variate from a triangular distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
RANUNI(seed)
Returns a random variate from a uniform distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
REVERSE(argument)
Reverses a character string.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
RIGHT(argument)
Right aligns a character expression.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
RMS(argument <, argument, ..., argument-n>)
Returns the root mean square of the nonmissing arguments.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
SAVING(f, p, r, n)
Returns the future value of a periodic saving.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
SCAN(string, count <, character-list <, modifier>>)
Returns the nth
word from a character string.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
SDF(distribution, quantile, parameter-1, ..., parameter-k)
Returns a survival function.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
SEC(argument)
Returns the secant.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
SECOND(time | datetime)
Returns the seconds and milliseconds from a SAS
time or datetime value.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
SESSBUSY(session-reference)
SESSBUSY(uuid)
Determines whether a CAS session is busy processing
actions.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
SESSFOUND (session-reference)
SESSFOUND (uuid)
Returns a 0 when a CAS session is not connected
to a server and a 1 when the session is connected to a server.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
SHA256(‘message’)
Returns the SHA256 digest for a specified message
string.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
SIGN(argument)
Returns the sign of a value.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
SIN(argument)
Returns the sine.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
SINH(argument)
Returns the hyperbolic sine.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
SMALLEST(k, value-1 <, value-2..., value-n>)
Returns the kth
smallest nonmissing value.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
SORT(variable)
Sorts a list of variables.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
SOUNDEX(argument)
Encodes a string to facilitate searching.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
SQRT(argument)
Returns the square root of a value.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
STD(argument-1, argument-2 <, ... argument-n>)
Returns the standard deviation of the nonmissing
arguments.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
STFIPS(postal-code)
Converts state postal codes to FIPS state codes.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
STNAME(postal-code)
Converts state postal codes to uppercase state names.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
STNAMEL(postal-code)
Converts state postal codes to mixed case state
names.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
STRIP(string)
Returns a character string with all leading and
trailing blanks removed.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
SUBSTR(variable, position <, length>)=characters-to-replace
Replaces character value contents.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
SUBSTR(string, position <, length>)
Extracts a substring from an argument.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
SUBSTRN(string, position <, length>)
Returns a substring, allowing a result with a length
of zero.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
SUM(argument-1 <, argument-2, ..., argument-n>)
Returns the sum of the nonmissing arguments.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
SYMEXIST(argument)
Returns an indication of the existence of a macro
variable.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
SYMGET(argument)
Returns the value of a macro variable during DATA
step execution.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
SYSGET('environment-variable')
Returns the value of the specified operating-environment
variable.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
SYSPARM()
Returns the system parameter string.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
SYSPROCESSID()
Returns the process ID of the current process.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
SYSPROD(product-name)
Determines whether a product is licensed.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
SYSRC()
Returns a system error number.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
TAN(argument)
Returns the tangent.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
TANH(argument)
Returns the hyperbolic tangent.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
TIME()
Returns the current time of day as a numeric SAS
time value.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
TIMEPART(datetime)
Extracts a time value from a SAS datetime value.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
TINV(p, df <, nc>)
Returns a quantile from the t distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
TODAY()
Returns the current date as a numeric SAS date value.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
TRANWRD(source, target, replacement)
Replaces all occurrences of a substring in a character
string.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
TRIGAMMA(argument)
Returns the value of the trigamma function.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
TRUNC(number, length)
Truncates a numeric value to a specified number
of bytes.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
TSLVL(<option-1,–option-n>)
provides information about the specifics of the
installation, including the release, hot fixes, and maintenance images.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
TYPEOF(column)
Returns a value that indicates whether the argument
is character or numeric.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
TZONEID(<time-zone-id>)
Returns the current time zone ID.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
TZONEOFF()
TZONEOFF(<time-zone-id,
datetime>)
Returns the user time zone offset.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
Returns a random variate from a uniform distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
UPCASE(argument)
Converts all lowercase single-width English alphabet
letters in an argument to uppercase.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
URLDECODE(argument)
Returns a string that was decoded using the URL
escape syntax.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
URLENCODE(argument)
Returns a string that was encoded using the URL
escape syntax.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
USS(argument-1 <, ...argument-n>)
Returns the uncorrected sum of squares of the nonmissing
arguments.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
UUIDGEN(<maximum-warnings <, binary-result>>)
Returns a Universally Unique Identifier (UUID) as a string of 36 hexidecimal
characters and hyphens or a binary value of 16 bytes.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
VAR(argument-1, argument-2 <,
...argument-n>)
Returns the variance of the nonmissing arguments.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
VARLEN(data-set-id, variable-number)
Returns the length of a SAS data set variable.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
VARNAME(data-set-id, variable-number)
Returns the name of a SAS data set variable.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
VARRAY(name)
Returns a value that indicates whether the specified
name is an array.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
VFORMAT(variable)
Returns the format that is associated with the specified
variable.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
VFORMATN(variable)
Returns the format name that is associated with
the specified variable.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
VFORMATW(variable)
Returns the format width that is associated with
the specified variable.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
VFORMATX(expression)
Returns the format that is associated with the value
of the specified argument.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
VINFORMAT(variable)
Returns the informat that is associated with the
specified variable.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
VINFORMATN(variable)
Returns the informat name that is associated with
the specified variable.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
VINFORMATW(variable)
Returns the informat width that is associated with
the specified variable.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
VINFORMATX(expression)
Returns the informat that is associated with the
value of the specified argument.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
VLABEL(variable)
Returns the label that is associated with the specified
variable.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
VLABELX(expression)
Returns the label that is associated with the value
of the specified argument.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
VLENGTH(variable)
Returns the compile-time (allocated) size of the
specified variable.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
VNAME(variable)
Returns the name of the specified variable.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
VNAMEX(expression)
Validates the value of the specified argument as
a variable name.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
VTYPE(variable)
Returns the type (character or numeric) of the specified
variable.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
VTYPEX(expression)
Returns the type (character or numeric) for the
value of the specified argument.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
VVALUE(variable)
Returns the formatted value that is associated with
the variable that you specify.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
VVALUEX(expression)
Returns the formatted value that is associated with
the argument that you specify.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
WEEK(<sas-date>, <'descriptor'>)
Returns the week-number value.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
YEAR(date)
Returns the year from a SAS date value.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
YYQ(year, quarter)
Returns a SAS date value from year and quarter year
values.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
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: Reference
| |
|
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: Reference
| |
|
ZIPFIPS(ZIP-code)
Converts ZIP codes to two-digit FIPS codes.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
ZIPNAME(ZIP-code)
Converts ZIP codes to uppercase state names.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
ZIPNAMEL(ZIP-code)
Converts ZIP codes to mixed-case state names.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
| |
|
ZIPSTATE(ZIP-code)
Converts ZIP codes to two-character state postal
codes.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
|
Last updated: March 18, 2024