Name

Syntax and Description


ABS (argument)
Returns the absolute value.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


ADDR(variable)
Returns the memory address of a variable on a 32bit
platform.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


ADDRLONG(variable)
Returns the memory address of a variable on 32bit
and 64bit platforms.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


AIRY(x)
Returns the value of the Airy function.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


ALLCOMB(count, k, variable1,
… ,
variablen)
Generates all combinations of the values of variables taken at a time in a minimal change order.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


ALLPERM(count, variable1
<,variable2 …> )
Generates all permutations of the values of several
variables in a minimal change order.
Product: Base SAS
Document: SAS 9.3 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 9.3 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 9.3 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 9.3 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 9.3 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 9.3 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 9.3 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 9.3 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 9.3 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 9.3 Functions and CALL Routines: Reference


ANYPUNCT(string
<,start
> )
Searches a string for a punctuation character and
returns the first position at which that character is found.
Product: Base SAS
Document: SAS 9.3 Companion for z/OS


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 9.3 Functions and CALL Routines: Reference


ANYSPACE(string
<,start
> )
Searches a character string for a whitespace character
(blank, horizontal and vertical tab, carriage return, line feed, and
form feed), and returns the first position at which that character
is found.
Product: Base SAS
Document: SAS 9.3 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 9.3 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 9.3 Functions and CALL Routines: Reference


CLAUSE = APPSRV_AUTHCLS(
type
)
Reads the AUTHLIB data set and returns a WHERE clause
Product: SAS/IntrNet
Document: SAS/IntrNet 9.3: Application Dispatcher


RC = APPSRV_AUTHDS(
dataset
)
Enables the user to change the AUTHLIB data set
name
Product: SAS/IntrNet
Document: SAS/IntrNet 9.3: Application Dispatcher


RC = APPSRV_AUTHLIB( <
libname
>
<, memname
>
<, memtype
>
<, objname
>
<, objtype
> )
Determines whether the Application Server program
is authorized to access a specified data source
Product: SAS/IntrNet
Document: SAS/IntrNet 9.3: Application Dispatcher


OLDHEADER = APPSRV_HEADER(
Header Name
,
Header Value
);
The DATA step function used to add or modify a header
Product: SAS/IntrNet
Document: SAS/IntrNet 9.3: Application Dispatcher


RC = APPSRV_SESSION( '
command
' <, timeout
>)
Creates or deletes a session
Product: SAS/IntrNet
Document: SAS/IntrNet 9.3: Application Dispatcher


VALUE = APPSRV_UNSAFE(
valuecode
)
Returns the character value of a PROC APPSRV parameter
setting
Product: SAS/IntrNet
Document: SAS/IntrNet 9.3: Application Dispatcher


VALUE=APPSRVGETC(
valuecode
)
Returns the character value of a PROC APPSRV parameter
setting
Product: SAS/IntrNet
Document: SAS/IntrNet 9.3: Application Dispatcher


VALUE=APPSRVGETN(
valuecode
)
Returns the numeric value of a PROC APPSRV parameter
setting
Product: SAS/IntrNet
Document: SAS/IntrNet 9.3: Application Dispatcher


RC=APPSRVSET(
valuecode
,
newvalue
)
Returns the numeric value of a PROC APPSRV parameter
setting
Product: SAS/IntrNet
Document: SAS/IntrNet 9.3: Application Dispatcher


returncodevariable=GDRAW('ARC', x, y, radius, start, end);
Draws a circular arc
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


ARCOS (argument)
Returns the arccosine.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


ARCOSH(x)
Returns the inverse hyperbolic cosine.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


ARSIN (argument)
Returns the arcsine.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


ARSINH(x)
Returns the inverse hyperbolic sine.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


ARTANH(x)
Returns the inverse hyperbolic tangent.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


returncodevariable=GSET('ASF', attribute, status);
Specifies an aspect source flag to bundle or separate
attributes
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


returncodevariable=GSET('ASF', attribute, status);
Specifies an aspect source flag to bundle or separate
attributes
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


returncodevariable=GSET('ASPECT', aspect);
Specifies the aspect ratio
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


returncodevariable=GSET('ASPECT', aspect);
Specifies the aspect ratio
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


ATAN (argument)
Returns the arc tangent.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


ATAN2(argument1, argument2)
Returns the arc tangent of the ratio of two numeric
variables.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


ATTRC(datasetid,attrname)
Returns the value of a character attribute for a
SAS data set.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


ATTRN(datasetid,attrname)
Returns the value of a numeric attribute for a SAS
data set.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


band(argument1,argument2)
Returns the bitwise logical AND of two arguments.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


returncodevariable=GDRAW('BAR', x1, y1, x2, y2);
Draws a rectangle
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


BETA(a,b)
Returns the value of the beta function.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


BETAINV (p,a,b)
Returns a quantile from the beta distribution.
Product: Base SAS
Document: SAS 9.3 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 9.3 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 9.3 Functions and CALL Routines: Reference


BLKSHCLPRC(E, t, S, r, sigma)
Calculates call prices for European options on stocks,
based on the BlackScholes model.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


BLKSHPTPRC(E, t, S, r, sigma)
Calculates put prices for European options on stocks,
based on the BlackScholes model.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


BLSHIFT(argument1,argument2)
Returns the bitwise logical left shift of two arguments.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


BNOT(argument)
Returns the bitwise logical NOT of an argument.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


BOR(argument1,argument2)
Returns the bitwise logical OR of two arguments.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


BRSHIFT(argument1,argument2)
Returns the bitwise logical right shift of two arguments.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


BXOR(argument1, argument2)
Returns the bitwise logical EXCLUSIVE OR of two
arguments.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


BYTE(n)
Returns one character in the ASCII collating sequence.
Product: Base SAS
Document: SAS 9.3 Companion for UNIX Environments


BYTE(n)
Returns one character in the ASCII collating sequence.
Product: Base SAS
Document: SAS 9.3 Companion for Windows


BYTE (n)
Returns one character in the ASCII or the EBCDIC
collating sequence.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


CALL SOUND(frequency,duration);
Generates a sound with a specific frequency and
duration.
Product: Base SAS
Document: SAS 9.3 Companion for Windows


CALL SYSTEM(command);
Submits an operating system command or a Windows
application for execution.
Product: Base SAS
Document: SAS 9.3 Companion for Windows


CAT(item1
<, …, itemn
> )
Does not remove leading or trailing blanks, and
returns a concatenated character string.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


returncodevariable=GSET('CATALOG', libref, catalogname);
Specifies the catalog for the graphs
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


returncodevariable=GSET('CATALOG', libref, catalogname);
Specifies the catalog for the graphs
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


CATQ(modifiers
<, delimiter
> , item1
<, …, itemn
> )
Concatenates character or numeric values by using
a delimiter to separate items and by adding quotation marks to strings
that contain the delimiter.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


CATS(item1
<, …, itemn
> )
Removes leading and trailing blanks, and returns
a concatenated character string.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


CATT(item1
<, … itemn
> )
Removes trailing blanks, and returns a concatenated
character string.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


CATX(delimiter, item1
<, … itemn
> )
Removes leading and trailing blanks, inserts delimiters,
and returns a concatenated character string.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


returncodevariable=GSET('CBACK', cback);
Specifies the background color
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


returncodevariable=GSET('CBACK', cback);
Specifies the background color
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


CDF (distribution,quantile
<,parm1, … ,parmk
> )
Returns a value from a cumulative probability distribution.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


CEIL (argument)
Returns the smallest integer that is greater than
or equal to the argument, fuzzed to avoid unexpected floatingpoint
results.
Product: Base SAS
Document: SAS 9.3 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 9.3 Functions and CALL Routines: Reference


CEXIST(entry
<,'U'> )
Verifies the existence of a SAS catalog or SAS catalog
entry.
Product: Base SAS
Document: SAS 9.3 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 9.3 Functions and CALL Routines: Reference


CHOOSEC (indexexpression, selection1
<,…selectionn
> )
Returns a character value that represents the results
of choosing from a list of arguments.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


CHOOSEN (indexexpression, selection1
<,…selectionn
> )
Returns a numeric value that represents the results
of choosing from a list of arguments.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


CINV (p,df
<,nc
> )
Returns a quantile from the chisquare distribution.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


returncodevariable=GRAPH ('CLEAR'<, name> <, des><, byline>);
Opens a graphics segment for output
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


returncodevariable=GSET('CLIP', status);
Specifies whether clipping is on or off
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


returncodevariable=GSET('CLIP', status);
Specifies whether clipping is on or off
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


CLOSE(datasetid)
Closes a SAS data set.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


CMISS(argument1
<, argument2,…> )
Counts the number of missing arguments.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


CNONCT(x,df,prob)
Returns the noncentrality parameter from a chisquare
distribution.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


COALESCE(argument1<..., argumentn>)
Returns the first nonmissing value from a list
of numeric arguments.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


COALESCEC(argument1
<
..., argumentn
> )
Returns the first nonmissing value from a list
of character arguments.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


CALL GASK('COLINDEX', n, indexarray,
returncodevariable);
Finds the color indexes that have colors associated
with them
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


COLLATE(startposition
<,endposition
> )  (startposition
<,,length
> )
Returns a character string in an ASCII collating
sequence.
Product: Base SAS
Document: SAS 9.3 Companion for UNIX Environments


COLLATE (startposition
< ,endposition
> )(startposition
<,,length
> )
Returns an ASCII collating sequence character string.
Product: Base SAS
Document: SAS 9.3 Companion for Windows


COLLATE (startposition
<,endposition
> )  (startposition
<,,length
> )
Returns a character string in ASCII or EBCDIC collating
sequence.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


returncodevariable=GSET('COLREP', colorindex, color);
Associates a color name with a certain color index
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


returncodevariable=GSET('COLREP', colorindex, color);
Associates a color name with a certain color index
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


cval=COMAMID();
Returns a string that contains all of the communications
access methods that are valid for the operating environment that the
SCL code executes under.
Product: SAS/CONNECT
Document: SAS/CONNECT 9.3 User's Guide


COMB(n,r)
Computes the number of combinations of elements taken at a time.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


COMPARE(string–1, string–2
<,modifiers
> )
Returns the position of the leftmost character by
which two strings differ, or returns 0 if there is no difference.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


COMPBL(source)
Removes multiple blanks from a character string.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


COMPFUZZ(value1, value2
<, fuzz
<, scale
>
> )
Performs a fuzzy comparison of two numeric values.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


COMPGED(string1, string2
<,cutoff
>
<,modifiers
> )
Returns the generalized edit distance between two
strings.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


COMPLEV(string1, string2
<,cutoff
>
<,modifiers
> )
Returns the Levenshtein edit distance between two
strings.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


COMPOUND(a,f,r,n)
Returns compound interest parameters.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


COMPRESS(<
source
>
<, chars
>
<, modifiers
> )
Returns a character string with specified characters
removed from the original string.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


CONSTANT(constant
<, parameter
> )
Computes machine and mathematical constants.
Product: Base SAS
Document: SAS 9.3 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 9.3 Functions and CALL Routines: Reference


CONVXP(A,c,n,K,k_{0}
,y)
Returns the convexity for a periodic cash flow stream,
such as a bond.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


returncodevariable=GRAPH('COPY', name, newname);
Copies a graph
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


COS (argument)
Returns the cosine.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


COSH(argument)
Returns the hyperbolic cosine.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


COUNT(string,substring
<,modifiers
> )
Counts the number of times that a specified substring
appears within a character string.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


COUNTC(string, charlist
<,modifiers
> )
Counts the number of characters in a string that
appear or do not appear in a list of characters.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


COUNTW(<
string
>
<, chars
>
<, modifiers
> )
Counts the number of words in a character string.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


CSS(argument1
<,...argumentn
> )
Returns the corrected sum of squares.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


CUMIPMT (rate, numberofperiods, principalamount, <
startperiod
>, <
endperiod
>, <
type
>)
Returns the cumulative interest paid on a loan between
the start and end period.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


CUMPRINC (rate, numberofperiods, principalamount, <
startperiod
>, <
endperiod
>, <
type
>)
Returns the cumulative principal paid on a loan
between the start and end period.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


CUROBS(datasetid)
Returns the observation number of the current observation.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


CV(argument1,argument2
<,...argumentn
> )
Returns the coefficient of variation.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


DACCDB(p,v,y,r)
Returns the accumulated declining balance depreciation.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


DACCDBSL(p,v,y,r)
Returns the accumulated declining balance with conversion
to a straightline depreciation.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


DACCSL(p,v,y)
Returns the accumulated straightline depreciation.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


DACCSYD(p,v,y)
Returns the accumulated sumofyearsdigits depreciation.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


DACCTAB(p,v,t1, . . . ,tn)
Returns the accumulated depreciation from specified
tables.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


DAIRY(x)
Returns the derivative of the AIRY function.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


DATDIF(sdate,edate,basis)
Returns the number of days between two dates after
computing the difference between the dates according to specified
day count conventions.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


DATE()
Returns the current date as a SAS date value.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


DATEJUL(juliandate)
Converts a Julian date to a SAS date value.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


DATEPART(datetime)
Extracts the date from a SAS datetime value.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


DATETIME()
Returns the current date and time of day as a SAS
datetime value.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


DAY(date)
Returns the day of the month from a SAS date value.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


DCLOSE(directoryid)
Closes a directory that was opened by the DOPEN
function.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


DCREATE(directoryname
<,parentdirectory
> )
Returns the complete pathname of a new, external
directory.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


returncodevariable=GRAPH('DELETE', name);
Deletes a graph
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


DEPDB(p,v,y,r)
Returns the declining balance depreciation.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


DEPDBSL(p,v,y,r)
Returns the declining balance with conversion to
a straightline depreciation.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


DEPSL(p,v,y)
Returns the straightline depreciation.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


DEPSYD(p,v,y)
Returns the sumofyearsdigits depreciation.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


DEPTAB(p,v,t1,...,tn)
Returns the depreciation from specified tables.
Product: Base SAS
Document: SAS 9.3 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 9.3 Functions and CALL Routines: Reference


DEVIANCE(distribution, variable, shapeparameters
<,ε
> )
Returns the deviance based on a probability distribution.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


returncodevariable=GSET('DEVICE', device);
Specifies the output graphics device
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


returncodevariable=GSET('DEVICE', device);
Specifies the output graphics device
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


DHMS(date,hour,minute,second)
Returns a SAS datetime value from date, hour, minute,
and second values.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


DIF
<
n
> (argument)
Returns differences between an argument and its th lag.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


DIGAMMA(argument)
Returns the value of the digamma function.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


DIM
<
n
> (arrayname)
DIM(arrayname,boundn)
Returns the number of elements in an array.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


DINFO(directoryid, infoitem)
Returns information about a directory.
Product: Base SAS
Document: SAS 9.3 Companion for UNIX Environments


DINFO(directoryid, infoitem)
Returns information about a directory.
Product: Base SAS
Document: SAS 9.3 Companion for Windows


DINFO(directoryid, infoitem)
Returns information about a directory.
Product: Base SAS
Document: SAS 9.3 Companion for z/OS


DINFO(directoryid,infoitem)
Returns information about a directory.
Product: Base SAS
Document: SAS 9.3 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 9.3 Functions and CALL Routines: Reference


DMSRVBATCHJOB (jobname
, host,
port
<,parameterlist
>)
Runs a DataFlux data or process job on a DataFlux
Data Management Server and returns a job identifier.
Product: SAS Data Quality Server
Document: SAS 9.3 Data Quality Server Reference


DMSRVCOPYLOG (jobID, host, port, filename )
Copies a job's log file from a DataFlux Data Management
Server to a local host.
Product: SAS Data Quality Server
Document: SAS 9.3 Data Quality Server Reference


DMSRVDELETELOG (jobID, host, port )
Deletes a job's log file from a DataFlux Data Management
Server.
Product: SAS Data Quality Server
Document: SAS 9.3 Data Quality Server Reference


DMSRVJOBSTATUS (jobID, host, port, timeout, interval )
Returns the status of a job that was submitted to
a DataFlux Data Management Server.
Product: SAS Data Quality Server
Document: SAS 9.3 Data Quality Server Reference


DMSRVKILLJOB (jobID, host, port )
Terminates a job that is running on a DataFlux Data
Management Server.
Product: SAS Data Quality Server
Document: SAS 9.3 Data Quality Server Reference


DMSRVPROFILEJOB (jobname, host, port, appendflag
<,descriptioncharacter
> )
Generates a profile from a Data Management server
repository.
Product: SAS Data Quality Server
Document: SAS 9.3 Data Quality Server Reference


DMSRVUSER (userID, password)
Registers a user on a DataFlux Data Management Server.
Product: SAS Data Quality Server
Document: SAS 9.3 Data Quality Server Reference


DMSRVVER (host , port )
Returns the version of the DataFlux Data Management
Server.
Product: SAS Data Quality Server
Document: SAS 9.3 Data Quality Server Reference


DNUM(directoryid)
Returns the number of members in a directory.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


DOPEN(fileref)
Opens a directory, and returns a directory identifier
value.
Product: Base SAS
Document: SAS 9.3 Companion for UNIX Environments


DOPEN(“fileref”)
Opens a directory and returns a directory identifier
value.
Product: Base SAS
Document: SAS 9.3 Companion for Windows


DOPEN(fileref)
Opens a directory and returns a directory identifier
value.
Product: Base SAS
Document: SAS 9.3 Companion for z/OS


DOPEN(fileref)
Opens a directory, and returns a directory identifier
value.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


DOPTNAME(directoryid, nval)
Returns directory attribute information.
Product: Base SAS
Document: SAS 9.3 Companion for UNIX Environments


DOPTNAME(directoryid, nval )
Returns the name of a directory information item.
Product: Base SAS
Document: SAS 9.3 Companion for Windows


DOPTNAME(directoryid,nval)
Returns the name of a directory information item.
Product: Base SAS
Document: SAS 9.3 Companion for z/OS


DOPTNAME(directoryid,nval)
Returns directory attribute information.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


DOPTNUM(directoryid)
Returns the number of information items that are
available for a directory.
Product: Base SAS
Document: SAS 9.3 Companion for UNIX Environments


DOPTNUM(directoryid)
Returns the number of information items that are
available for a directory.
Product: Base SAS
Document: SAS 9.3 Companion for Windows


DOPTNUM(directoryid)
Returns the number of information items that are
available for a directory.
Product: Base SAS
Document: SAS 9.3 Companion for z/OS


DOPTNUM(directoryid)
Returns the number of information items that are
available for a directory.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


DQCASE (char, 'casedefinition' <, 'locale'> )
Returns a character value with standardized capitalization.
Product: SAS Data Quality Server
Document: SAS 9.3 Data Quality Server Reference


DQEXTINFOGET ('extractiondefinition' <,'locale'> )
Returns the token names in an extraction definition.
Product: SAS Data Quality Server
Document: SAS 9.3 Data Quality Server Reference


DQEXTRACT ( 'extractionstring', 'extractiondefinition' <,'locale'>)
Returns an extracted character value.
Product: SAS Data Quality Server
Document: SAS 9.3 Data Quality Server Reference


DQEXTTOKENGET (extractionchar, 'token', 'extractiondefinition', ' <,'locale'> )
Returns a token from an extraction character value.
Product: SAS Data Quality Server
Document: SAS 9.3 Data Quality Server Reference


DQEXTTOKENPUT ('extractionchar', 'tokenvalue', 'tokenname',
'extractiondefinition' <,'locale'> ) Inserts a token into an extraction character value
and returns the updated extraction character value.
Product: SAS Data Quality Server
Document: SAS 9.3 Data Quality Server Reference


DQGENDER (char, 'genderanalysisdefinition' <,'locale'> )
Returns a gender determination from the name of
an individual.
Product: SAS Data Quality Server
Document: SAS 9.3 Data Quality Server Reference


DQGENDERINFOGET ('genderanalysisdefinition' <,'locale'> )
Returns the name of the parse definition that is
associated with the specified gender definition.
Product: SAS Data Quality Server
Document: SAS 9.3 Data Quality Server Reference


DQGENDERPARSED (parsedchar, 'genderanalysisdefinition' <,'locale'> )
Returns the gender of an individual.
Product: SAS Data Quality Server
Document: SAS 9.3 Data Quality Server Reference


DQIDENTIFY (char, 'identificationdefinition'
<,'locale'> )
Returns a category name from a character value.
Product: SAS Data Quality Server
Document: SAS 9.3 Data Quality Server Reference


DQLOCALEGUESS (char, 'localeguessdefinition')
Returns the name of the locale that is most likely
represented by a character value.
Product: SAS Data Quality Server
Document: SAS 9.3 Data Quality Server Reference


DQLOCALEINFOGET (<'infotype'> )
Returns information about locales.
Product: SAS Data Quality Server
Document: SAS 9.3 Data Quality Server Reference


DQLOCALEINFOLIST ('definitiontype',
'locale' )
Returns the names of the definitions in a locale
and a count of those definitions.
Product: SAS Data Quality Server
Document: SAS 9.3 Data Quality Server Reference


DQMATCH (char, 'matchdefinition' <,'sensitivity'>
<,'locale'> )
Returns a match code from a character value.
Product: SAS Data Quality Server
Document: SAS 9.3 Data Quality Server Reference


DQMATCHINFOGET ('matchdefinition' <,'locale'> )
Returns the name of the parse definition that is
associated with a match definition.
Product: SAS Data Quality Server
Document: SAS 9.3 Data Quality Server Reference


DQMATCHPARSED (parsedchar, 'matchdefinition' <,sensitivity
>
<,'locale'> )
Returns a match code from a parsed character value.
Product: SAS Data Quality Server
Document: SAS 9.3 Data Quality Server Reference


DQOPTSURFACE ('surfacedefinition')
Reveals or hides nonsurfaced definitions.
Product: SAS Data Quality Server
Document: SAS 9.3 Data Quality Server Reference


DQPARSE ('parsestring', 'parsedefinition' <,'locale'>)
Returns a parsed character value.
Product: SAS Data Quality Server
Document: SAS 9.3 Data Quality Server Reference


DQPARSEINFOGET ('parsedefinition' <,'locale'> )
Returns the token names in a parse definition.
Product: SAS Data Quality Server
Document: SAS 9.3 Data Quality Server Reference


DQPARSEINPUTLEN ('inputlength')
Sets the default length of parsed input, and returns
a string indicating its previous value.
Product: SAS Data Quality Server
Document: SAS 9.3 Data Quality Server Reference


DQPARSERESLIMIT ('resourcelimit')
Sets a limit on resources consumed during parsing.
Product: SAS Data Quality Server
Document: SAS 9.3 Data Quality Server Reference


DQPARSESCORDEPTH (level)
Specifies how deeply to search for the best parsing
score.
Product: SAS Data Quality Server
Document: SAS 9.3 Data Quality Server Reference


DQPARSETOKENGET (parsedchar, 'token', 'parsedefinition'
<,'locale'> )
Returns a token from a parsed character value.
Product: SAS Data Quality Server
Document: SAS 9.3 Data Quality Server Reference


DQPARSETOKENPUT ('parsedchar', 'tokenvalue', 'tokenname', 'parsedefinition'
<,'locale'> ) Inserts a token into a parsed character value and
returns the updated parsed character value.
Product: SAS Data Quality Server
Document: SAS 9.3 Data Quality Server Reference


DQPATTERN ('char' , 'patternanalysisdefinition' <,'locale'> )
Returns a pattern analysis from an input character
value.
Product: SAS Data Quality Server
Document: SAS 9.3 Data Quality Server Reference


Deprecated. Runs a DataFlux dfPower Architect job
on a DataFlux Integration Server and returns a job identifier.
Product: SAS Data Quality Server
Document: SAS 9.3 Data Quality Server Reference


Deprecated. Copies a job's log file from a DataFlux
Integration Server.
Product: SAS Data Quality Server
Document: SAS 9.3 Data Quality Server Reference


Deprecated. Deletes a job's log file from a DataFlux
Integration Server.
Product: SAS Data Quality Server
Document: SAS 9.3 Data Quality Server Reference


Deprecated. Returns the status of a job that was
submitted to a DataFlux Integration Server.
Product: SAS Data Quality Server
Document: SAS 9.3 Data Quality Server Reference


Deprecated. Terminates a job that is running on
a DataFlux Integration Server.
Product: SAS Data Quality Server
Document: SAS 9.3 Data Quality Server Reference


Deprecated. Runs a filetype DataFlux dfProfile
job on a DataFlux Integration Server and returns a job identifier.
Product: SAS Data Quality Server
Document: SAS 9.3 Data Quality Server Reference


Deprecated. Runs a repository–type DataFlux
dfProfile job on a DataFlux Integration Server and returns a job identifier.
Product: SAS Data Quality Server
Document: SAS 9.3 Data Quality Server Reference


Deprecated. Registers a user on a DataFlux Integration
Server.
Product: SAS Data Quality Server
Document: SAS 9.3 Data Quality Server Reference


Deprecated. Returns the version of the DataFlux
Integration Server.
Product: SAS Data Quality Server
Document: SAS 9.3 Data Quality Server Reference


DQSTANDARDIZE (char, ' standardizationdefinition' <, locale
> )
Returns a character value after standardizing casing,
spacing, and format, and then applies a common representation to certain
words and abbreviations.
Product: SAS Data Quality Server
Document: SAS 9.3 Data Quality Server Reference


DQTOKEN(char, 'token' , 'parsedefinition' <, locale
> )
Returns a token from a character value.
Product: SAS Data Quality Server
Document: SAS 9.3 Data Quality Server Reference


DQVERBF ()
Returns the version of Blue Fusion.
Product: SAS Data Quality Server
Document: SAS 9.3 Data Quality Server Reference


DQVERQKB ()
Returns the version of the currently loaded QKB.
Product: SAS Data Quality Server
Document: SAS 9.3 Data Quality Server Reference


DREAD(directoryid,nval)
Returns the name of a directory member.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


DROPNOTE(
datasetid

fileid
,noteid)
Deletes a note marker from a SAS data set or an
external file.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


DSNAME(datasetid)
Returns the SAS data set name that is associated
with a data set identifier.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


DSNCATLGD(filename)
Verifies the existence of an external file in the
z/OS system catalog by its physical name.
Product: Base SAS
Document: SAS 9.3 Companion for z/OS


DUR(y,f,c(1), ... ,c(k))
Returns the modified duration for an enumerated
cash flow.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


DURP(A,c,n,K,k_{0}
,y)
Returns the modified duration for a periodic cash
flow stream, such as a bond.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


EFFRATE(compoundinginterval, rate)
Returns the effective annual interest rate.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


returncodevariable=GDRAW('ELLARC', x, y,
major, minor, start, end,
angle);
Draws an elliptical arc
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


returncodevariable=GDRAW('ELLIPSE', x, y, major, minor, start,
end,
angle);
Draws an ellipse
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


ENCODCOMPAT(source1,<source2>)
Verifies the transcoding compatibility between two
encodings.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide


ENCODISVALID(source)
specifies a valid encoding name.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide


ENVLEN(argument)
Returns the length of an environment variable.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


ERF(argument)
Returns the value of the (normal) error function.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


ERFC(argument)
Returns the value of the complementary (normal)
error function.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


EUCLID(value1
<,value2 ...
> )
Returns the Euclidean norm of the nonmissing arguments.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


EUROCURR(fromcurrencyamount, fromcurrencycode, tocurrencycode)
Converts one European currency to another.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide


EXIST(membername
<,membertype
<, generation
>
> )
Verifies the existence of a SAS library member.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


EXP(argument)
Returns the value of the exponential function.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


FACT(n)
Computes a factorial.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


FAPPEND(fileid
<,cc
> )
Appends the current record to the end of an external
file.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


FCLOSE(fileid)
Closes an external file, a directory, or a directory
member.
Product: Base SAS
Document: SAS 9.3 Companion for z/OS


FCLOSE(fileid)
Closes an external file, directory, or directory
member.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


FCOL(fileid)
Returns the current column position in the File
Data Buffer (FDB).
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


FDELETE(“fileref”)
Deletes an external file or an empty directory.
Product: Base SAS
Document: SAS 9.3 Companion for UNIX Environments


FDELETE(“fileref”)
Deletes an external file or an empty directory.
Product: Base SAS
Document: SAS 9.3 Companion for Windows


FDELETE (fileref)
Deletes an external file or an empty directory.
Product: Base SAS
Document: SAS 9.3 Companion for z/OS


FDELETE(
fileref

directory
)
Deletes an external file or an empty directory.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


FETCH(datasetid
<,'NOSET'> )
Reads the next nondeleted observation from a SAS
data set into the Data Set Data Vector (DDV).
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


FETCHOBS(datasetid,obsnumber
<,options
> )
Reads a specified observation from a SAS data set
into the Data Set Data Vector (DDV).
Product: Base SAS
Document: SAS 9.3 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 9.3 Companion for UNIX Environments


FEXIST(“fileref”)
Verifies the existence of an external file by its
fileref.
Product: Base SAS
Document: SAS 9.3 Companion for Windows


FEXIST(fileref)
Verifies the existence of an external file associated
with a fileref.
Product: Base SAS
Document: SAS 9.3 Companion for z/OS


FEXIST(fileref)
Verifies the existence of an external file that
is associated with a fileref.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


FGET(fileid,variable
<,length
> )
Copies data from the File Data Buffer (FDB) into
a variable.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


returncodevariable=GSET('FILCOLOR', colorindex);
Specifies the color index of the color used to draw
fill areas
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


returncodevariable=GSET('FILCOLOR', colorindex);
Specifies the color index of the color used to draw
fill areas
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


FILEEXIST(filename)
Verifies the existence of an external file by its
physical name.
Product: Base SAS
Document: SAS 9.3 Companion for UNIX Environments


FILEEXIST(“filename”)
Verifies the existence of an external file by its
physical name.
Product: Base SAS
Document: SAS 9.3 Companion for Windows


FILEEXIST(filename)
Verifies the existence of an external file by its
physical name.
Product: Base SAS
Document: SAS 9.3 Companion for z/OS


FILEEXIST(filename)
Verifies the existence of an external file by its
physical name.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


FILENAME(fileref, filename <,devicetype<,“hostoptions”<,dirref>>>)
Assigns or deassigns a fileref for an external file,
directory, or output device.
Product: Base SAS
Document: SAS 9.3 Companion for UNIX Environments


FILENAME (“fileref”, “filename” <,devicetype<,hostoptions<,dirref>>>)
Assigns or deassigns a fileref for an external file,
directory, or output device.
Product: Base SAS
Document: SAS 9.3 Companion for Windows


FILENAME(fileref,filename
<,device
<,hostoptions
>
> )
Assigns or deassigns a fileref for an external file,
a directory, or an output device.
Product: Base SAS
Document: SAS 9.3 Companion for z/OS


FILENAME(fileref
<,filename
>
<,devicetype
>
<,'hostoptions'>
<,dirref
> )
Assigns or deassigns a fileref to an external file,
directory, or output device.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


FILEREF(fileref)
Verifies whether a fileref has been assigned for
the current SAS session.
Product: Base SAS
Document: SAS 9.3 Companion for UNIX Environments


FILEREF(“fileref”)
Verifies that a fileref has been assigned for the
current SAS session.
Product: Base SAS
Document: SAS 9.3 Companion for Windows


FILEREF(fileref)
Verifies that a fileref has been assigned for the
current SAS session.
Product: Base SAS
Document: SAS 9.3 Companion for z/OS


FILEREF(fileref)
Verifies whether a fileref has been assigned for
the current SAS session.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


returncodevariable=GSET('FILINDEX', index);
Specifies the index of the bundle of fill area attributes
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


returncodevariable=GSET('FILINDEX', index);
Specifies the index of the bundle of fill area attributes
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


returncodevariable=GDRAW('FILL', n, xvalues, yvalues);
Draws a filled area
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


returncodevariable=GSET('FILREP', index, colorindex, interior,
styleindex);
Associates a bundle of fill attributes with an index
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


returncodevariable=GSET('FILREP', index, colorindex, interior,
styleindex);
Associates a bundle of fill attributes with an index
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


returncodevariable=GSET('FILSTYLE', styleindex);
Specifies the style of the interior of the fill
area when the FILTYPE is PATTERN or HATCH
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


returncodevariable=GSET('FILSTYLE', styleindex);
Specifies the style of the interior of the fill
area when the FILTYPE is PATTERN or HATCH
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


returncodevariable=GSET('FILTYPE', interior);
Specifies the type of the interior of the fill area
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


returncodevariable=GSET('FILTYPE', interior);
Specifies the type of the interior of the fill area
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


FINANCE(stringidentifier, parm1, parm2,…)
Computes financial calculations such as depreciation,
maturation, accrued interest, net present value, periodic savings,
and internal rates of return.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


FIND(string,substring
<,modifiers
>
<,startpos
> )
FIND(string,substring
<,startpos
>
<,modifiers
> )
Searches for a specific substring of characters
within a character string.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


FINDC(string
<, charlist
> )
FINDC(string, charlist
<,modifiers
> )
FINDC(string, charlist, modifier(s)
<, startpos
> )
FINDC(string, charlist, <
startpos
> , <
modifiers)>
Searches a string for any character in a list of
characters.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


FINDW(string, word
<, chars
> )
FINDW(string, word, chars, modifiers
<, startpos
> )
FINDW(string, word, chars, startpos
<, modifiers
> )
FINDW(string, word, startpos
<, chars
<, modifiers
>
> )
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 9.3 Functions and CALL Routines: Reference


FINFO(fileid, infoitem)
Returns the value of a file information item for
an external file.
Product: Base SAS
Document: SAS 9.3 Companion for UNIX Environments


FINFO(fileid, infoitem)
Returns the value of an information item for an
external file.
Product: Base SAS
Document: SAS 9.3 Companion for Windows


FINFO(fileid,infoitem)
Returns the value of a file information item for
an external file.
Product: Base SAS
Document: SAS 9.3 Companion for z/OS


FINFO(fileid,infoitem)
Returns the value of a file information item.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


FINV (p, ndf, ddf
<,nc
> )
Returns a quantile from the distribution.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


FIPNAME(expression)
Converts twodigit FIPS codes to uppercase state
names.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


FIPNAMEL(expression)
Converts twodigit FIPS codes to mixed case state
names.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


FIPSTATE(expression)
Converts twodigit FIPS codes to twocharacter state
postal codes.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


FIRST(string)
Returns the first character in a character string.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


FLOOR (argument)
Returns the largest integer that is less than or
equal to the argument, fuzzed to avoid unexpected floatingpoint results.
Product: Base SAS
Document: SAS 9.3 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 9.3 Functions and CALL Routines: Reference


FNONCT(x,ndf,ddf,prob)
Returns the value of the noncentrality parameter
of an F distribution.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


FNOTE(fileid)
Identifies the last record that was read, and returns
a value that the FPOINT function can use.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


FOPEN(fileref
<,openmode
<,recordlength
<,recordformat
>
>
> )
Opens an external file and returns a file identifier
value.
Product: Base SAS
Document: SAS 9.3 Companion for z/OS


FOPEN(fileref
<,openmode
<,recordlength
<,recordformat
>
>
> )
Opens an external file and returns a file identifier
value.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


FOPTNAME(fileid, nval)
Returns the name of an item of information about
an external file.
Product: Base SAS
Document: SAS 9.3 Companion for UNIX Environments


FOPTNAME(fileid, nval)
Returns the name of an information item for an external
file.
Product: Base SAS
Document: SAS 9.3 Companion for Windows


FOPTNAME(fileid,nval)
Returns the name of an information item for an external
file.
Product: Base SAS
Document: SAS 9.3 Companion for z/OS


FOPTNAME(fileid,nval)
Returns the name of an item of information about
a file.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


FOPTNUM(fileid)
Returns the number of information items that are
available for an external file.
Product: Base SAS
Document: SAS 9.3 Companion for UNIX Environments


FOPTNUM(fileid)
Returns the number of information items that are
available for a file.
Product: Base SAS
Document: SAS 9.3 Companion for Windows


FOPTNUM(fileid)
Returns the number of information items that are
available for an external file.
Product: Base SAS
Document: SAS 9.3 Companion for z/OS


FOPTNUM(fileid)
Returns the number of information items that are
available for an external file.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


FPOINT(fileid,noteid)
Positions the read pointer on the next record to
be read.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


FPOS(fileid,nval)
Sets the position of the column pointer in the File
Data Buffer (FDB).
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


FPUT(fileid,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 9.3 Functions and CALL Routines: Reference


FREAD(fileid)
Reads a record from an external file into the File
Data Buffer (FDB).
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


FREWIND(fileid)
Positions the file pointer to the start of the file.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


FRLEN(fileid)
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 9.3 Functions and CALL Routines: Reference


FSEP(fileid,characters
<,'x'
 'X'
> )
Sets the token delimiters for the FGET function.
Product: Base SAS
Document: SAS 9.3 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 9.3 Functions and CALL Routines: Reference


FWRITE(fileid
<,cc
> )
Writes a record to an external file.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


GAMINV(p,a)
Returns a quantile from the gamma distribution.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


GAMMA(argument)
Returns the value of the gamma function.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


GARKHCLPRC(E, t, S, R_{d}
, R_{f}
, sigma)
Calculates call prices for European options on stocks,
based on the GarmanKohlhagen model.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


GARKHPTPRC(E, t, S, R_{d}
, R_{f}
, sigma)
Calculates put prices for European options on stocks,
based on the GarmanKohlhagen model.
Product: Base SAS
Document: SAS 9.3 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 9.3 Functions and CALL Routines: Reference


GEODIST(latitude1, longitude1, latitude2, longitude2
<,options
> )
Returns the geodetic distance between two latitude
and longitude coordinates.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


GEOMEAN(argument
<,argument,…> )
Returns the geometric mean.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


GEOMEANZ(argument
<,argument,…> )
Returns the geometric mean, using zero fuzzing.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


GETLOCENV( )
Returns the current locale/language environment.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide


GETOPTION(optionname
<, returnvalueoption
>
<
returnvalueformattingoptions
>)
Returns the value of a SAS system or graphics option.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


GETOPTION(optionname
<, returnvalueoption
>
<
returnvalueformattingoptions
>)
Returns the value of a SAS system or graphics option.
Product: Base SAS
Document: SAS 9.3 System Options: Reference


GETPXLANGUAGE()
Returns the current twoletter language code.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide


GETPXLOCALE(<source>)
Returns the POSIX locale value for a SAS locale.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide


GETPXREGION()
Returns the current twoletter region code.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide


GETVARC(datasetid,varnum)
Returns the value of a SAS data set character variable.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


GETVARN(datasetid,varnum)
Returns the value of a SAS data set numeric variable.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


returncodevariable=GINIT();
Initializes DSGI
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


returncodevariable=GPRINT(code);
Prints the specified interface error message
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


CALL GASK('GRAPHLIST', n, namearray,
returncodevariable);
Finds the names of segments in the current catalog
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


GRAYCODE(k, numericvariable1, ..., numericvariablen)
GRAYCODE(k, charactervariable
<, n
<, inout
>
> )
Generates all subsets of items in a minimal change order.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


grdsvc_enable(identifier
<,option1; ... optionn
> )
grdsvc_enable(identifier,""  " )
Enables or disables one or all SAS sessions on a
grid.
Product: SAS Grid Computing
Document: Grid Computing in SAS 9.3


grdsvc_getaddr(identifier)
Reports the IP address of the grid node on which
the SAS session was chosen to execute.
Product: SAS Grid Computing
Document: Grid Computing in SAS 9.3


grdsvc_getinfo(identifier)
Reports information about the grid environment.
Product: SAS Grid Computing
Document: Grid Computing in SAS 9.3


grdsvc_getname(identifier)
Reports the name of the grid node on which the SAS
grid server session was chosen to execute.
Product: SAS Grid Computing
Document: Grid Computing in SAS 9.3


grdsvc_nnodes(argument;option)
Reports the total number of job slots that are available
for use on a grid.
Product: SAS Grid Computing
Document: Grid Computing in SAS 9.3


returncodevariable=GTERM();
Terminates DSGI
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


HARMEAN(argument
<,argument,…> )
Returns the harmonic mean.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


HARMEANZ(argument
<,argument,…> )
Returns the harmonic mean, using zero fuzzing.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


HBOUND
<
n
> (arrayname)
HBOUND(arrayname,boundn)
Returns the upper bound of an array.
Product: Base SAS
Document: SAS 9.3 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 9.3 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 9.3 Functions and CALL Routines: Reference


HOUR(
time

datetime
)
Returns the hour from a SAS time or datetime value.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


returncodevariable=GSET('HPOS', hpos);
Specifies the number of columns
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


returncodevariable=GSET('HPOS', hpos);
Specifies the number of columns
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


returncodevariable=GSET('HSIZE', hsize);
Specifies the horizontal dimension of the graphics
output area
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


returncodevariable=GSET('HSIZE', hsize);
Specifies the horizontal dimension of the graphics
output area
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


returncodevariable=GSET('HTML', 'string');
Specifies the HTML string to invoke when an affected
DSGI graphics element in a web page is clicked
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


returncodevariable=GSET('HTML', 'string');
Specifies the HTML string to invoke when an affected
DSGI graphics element in a web page is clicked
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: 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 9.3 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 9.3 Functions and CALL Routines: Reference


IBESSEL(nu,x,kode)
Returns the value of the modified Bessel function.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


IFC(logicalexpression, valuereturnedwhentrue, valuereturnedwhenfalse
<,valuereturnedwhenmissing > ) Returns a character value based on whether an expression
is true, false, or missing.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


IFN(logicalexpression, valuereturnedwhentrue, valuereturnedwhenfalse
<,valuereturnedwhenmissing > ) Returns a numeric value based on whether an expression
is true, false, or missing.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


returncodevariable=GDRAW('IMAGE', 'externalfile', x1, y1, x2, y2, 'style');
Displays an image
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: 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 9.3 Functions and CALL Routines: Reference


INDEXC(source,excerpt1
<,… excerptn
> )
Searches a character expression for any of the specified
characters, and returns the position of that character.
Product: Base SAS
Document: SAS 9.3 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 9.3 Functions and CALL Routines: Reference


INPUT(source,<
?
 ??
>,informat.)
Returns the value that is produced when SAS converts
an expression using the specified informat.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


INPUTC(source, informat
<,w
> )
Enables you to specify a character informat at run
time.
Product: Base SAS
Document: SAS 9.3 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 9.3 Functions and CALL Routines: Reference


returncodevariable=GRAPH('INSERT', name);
Inserts a previously created segment into the currently
open graph
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


INT(argument)
Returns the integer value, fuzzed to avoid unexpected
floatingpoint results.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


INTCINDEX(interval
<
<
multiple.<
shiftindex
>
>
> , datetimevalue)
Returns the cycle index when a date, time, or datetime
interval and value are specified.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


INTCK(interval
<
multiple
>
<
.shiftindex
>, startdate, enddate, <'method'> )
INTCK(custominterval, startdate, enddate, <'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 9.3 Functions and CALL Routines: Reference


INTCYCLE(interval
<
<
multiple.<
shiftindex
>
>
>, <
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 9.3 Functions and CALL Routines: Reference


INTFIT(argument1, argument2, 'type')
Returns a time interval that is aligned between
two dates.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


INTFMT(interval
<
<
multiple.<
.shiftindex
>
>
> , 'size')
Returns a recommended SAS format when a date, time,
or datetime interval is specified.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


INTGET(date1, date2, date3)
Returns a time interval based on three date or datetime
values.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


INTINDEX(interval
<
<
multiple.<
shiftindex
>
>
>, datevalue, <
seasonality
>)
Returns the seasonal index when a date, time, or
datetime interval and value are specified.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


INTNX(interval
<
multiple
>
<
.shiftindex
> , startfrom, increment
<, 'alignment'> )
INTNX(custominterval, startfrom, 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 9.3 Functions and CALL Routines: Reference


INTRR(freq,c0, c1,..., cn)
Returns the internal rate of return as a fraction.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


INTSEAS(interval
<
<
multiple.<
shiftindex
>
>
>
<
seasonality
>)
Returns the length of the seasonal cycle when a
date, time, or datetime interval is specified.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


INTSHIFT(interval
<
<
multiple.<
shiftindex
>
>
> )
Returns the shift interval that corresponds to the
base interval.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


INTTEST(interval
<
<
multiple.<
shiftindex
>
>
> )
Returns 1 if a time interval is valid, and returns
0 if a time interval is invalid.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


INTZ (argument)
Returns the integer portion of the argument, using
zero fuzzing.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


IORCMSG()
Returns a formatted error message for _IORC_.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


IPMT (rate, period, numberofperiods, principalamount, <
futureamount
>, <
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 9.3 Functions and CALL Routines: Reference


IQR(value1
<,value2...> )
Returns the interquartile range.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


IRR(freq
c0,c1,…,cn)
Returns the internal rate of return as a percentage.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


JBESSEL(nu,x)
Returns the value of the Bessel function.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


JULDATE(date)
Returns the Julian date from a SAS date value.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


JULDATE7(date)
Returns a sevendigit Julian date from a SAS date
value.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


KCOMPARE(source,<
pos, <
count,>
>
findstr)
Returns the result of a comparison of character
expressions.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide


KCOMPRESS(source,<
characterstoremove
> )
Removes specified characters from a character expression.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide


KCOUNT(source)
Returns the number of doublebyte characters in
an expression.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide


KCVT(text,
intype, outtype, <
options,…> )
Converts data from one type of encoding data to
another encoding data.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide


KINDEX(source,
excerpt)
Searches a character expression for a string of
characters.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide


KINDEXC(source,excerpt1
<,… excerptn
> )
Searches a character expression for specified characters.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide


KLEFT(argument)
Leftaligns a character expression by removing unnecessary
leading DBCS blanks and SO/SI.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide


KLENGTH(argument)
Returns the length of an argument.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide


KLOWCASE(argument)
Converts all letters in an argument to lowercase.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide


str=KPROPCASE(<
instr
> , (<options> ))
Converts Chinese, Japanese, Korean, Taiwanese (CJKT)
characters.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide


str=KPROPCHAR(<
instr
> )
Converts special characters to normal characters.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide


str=KPROPDATA(<
instr
> (<option,
input encode name, output encode name> ))
Removes or converts unprintable characters.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide


KREVERSE(argument)
Reverses a character expression.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide


KRIGHT(argument)
Rightaligns a character expression by trimming
trailing DBCS blanks and SO/SI.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide


KSCAN(argument,n
<, delimiters
> )
Selects a specified word from a character expression.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide


KSTRCAT(argument1, argument2
<, … argumentn
> )
Concatenates two or more character expressions.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide


KSUBSTR(argument,position
<,n
> )
Extracts a substring from an argument.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide


KSUBSTRB(argument,position
<,n
> )
Extracts a substring from an argument according
to the byte position of the substring in the argument.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide


KTRANSLATE(source, to1, from1
<...ton, fromn
>)
Replaces specific characters in a character expression.
Product: Base SAS
Document: SAS 9.3 Companion for z/OS


KTRANSLATE(source,to1,from1
<,…ton,fromn
> )
Replaces specific characters in a character expression.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide


KTRIM(argument)
Removes trailing DBCS blanks and SO/SI from character
expressions.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide


KTRUNCATE(argument, number, length)
Truncates a string to a specified length in byte
unit without breaking multibyte characters.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide


KUPCASE(argument)
Converts all letters in an argument to uppercase.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide


KUPDATE(argument,position,n
<, characterstoreplace
> )
KUPDATE(argument,position
<,n
> , characterstoreplace)
Inserts, deletes, and replaces character value contents.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide


KUPDATEB(argument,position,n
<,characterstoreplace
> )
KUPDATEB(argument,position
<, n
> , characterstoreplace)
Inserts, deletes, and replaces the contents of the
character value according to the byte position of the character value
in the argument.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide


KURTOSIS(argument1,argument2,argument3,argument4
<,…,argumentn
> )
Returns the kurtosis.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


KVERIFY(source,excerpt1
<,…excerptn
> )
Returns the position of the first character that
is unique to an expression.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide


LAG
<
n
> (argument)
Returns values from a queue.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


LARGEST (k, value1
<, value2 ...> )
Returns theth largest nonmissing value.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


LBOUND
<
n
> (arrayname)
LBOUND(arrayname,boundn)
Returns the lower bound of an array.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


LCM(x1,x2,x3,
…, xn)
Returns the least common multiple.
Product: Base SAS
Document: SAS 9.3 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 objects taken at a time.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


LEFT(argument)
Leftaligns a character string.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


LENGTH(string)
Returns the length of a nonblank character string,
excluding trailing blanks, and returns 1 for a blank character string.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


LENGTHC(string)
Returns the length of a character string, including
trailing blanks.
Product: Base SAS
Document: SAS 9.3 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 9.3 Functions and CALL Routines: Reference


LENGTHN(string)
Returns the length of a character string, excluding
trailing blanks.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


LEXCOMB(count, k, variable1, …, variablen)
Generates all distinct combinations of the nonmissing
values of variables taken at a time in lexicographic order.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


LEXCOMBI(n, k, index1, …, k)
Generates all combinations of the indices of objects taken at a time in lexicographic order.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


LEXPERK(count, k, variable1, …, variablen)
Generates all distinct permutations of the nonmissing
values of variables taken at a time in lexicographic order.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


LEXPERM(count, variable1
<, …, variableN
> )
Generates all distinct permutations of the nonmissing
values of several variables in lexicographic order.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


LFACT(n)
Computes the logarithm of the FACT (factorial) function.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


LGAMMA(argument)
Returns the natural logarithm of the Gamma function.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


LIBNAME(libref<,SASdatalibrary<,engine<,options>>>)
Assigns or clears a libref for a SAS library.
Product: Base SAS
Document: SAS 9.3 Companion for Windows


LIBNAME(libref
<,SASlibrary
<,engine
<,options
>
>
> )
Assigns or deassigns a libref for a SAS library.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


LIBREF(libref)
Verifies that a libref has been assigned.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


returncodevariable=GSET('LINCOLOR', colorindex);
Specifies the color index of the color used to draw
lines
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


returncodevariable=GSET('LINCOLOR', colorindex);
Specifies the color index of the color used to draw
lines
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


returncodevariable=GDRAW('LINE', n, xvalues, yvalues);
Draws a polyline
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


returncodevariable=GSET('LININDEX', index);
Specifies the index of the bundle of line attributes
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


returncodevariable=GSET('LININDEX', index);
Specifies the index of the bundle of line attributes
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


returncodevariable=GSET ('LINREP',index, colorindex, width,
type);
Associates a bundle of line attributes with an index
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


returncodevariable=GSET ('LINREP',index, colorindex, width,
type);
Associates a bundle of line attributes with an index
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


returncodevariable=GSET('LINTYPE', type);
Specifies the line type
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


returncodevariable=GSET('LINTYPE', type);
Specifies the line type
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


returncodevariable=GSET('LINWIDTH', width);
Specifies the thickness of the line
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


returncodevariable=GSET('LINWIDTH', width);
Specifies the thickness of the line
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


LOG(argument)
Returns the natural (base e) logarithm.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


LOG10(argument)
Returns the logarithm to the base 10.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


LOG1PX(x)
Returns the log of 1 plus the argument.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


LOG2(argument)
Returns the logarithm to the base 2.
Product: Base SAS
Document: SAS 9.3 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 9.3 Logging: Configuration and Programming Reference


Log4SAS_logevent(name, level, message)
Logs a message by using a specific logger.
Product: Base SAS
Document: SAS 9.3 Logging: Configuration and Programming Reference


LOG4SAS_LOGGER("name", <"options"> )
Creates a logger.
Product: Base SAS
Document: SAS 9.3 Logging: Configuration and Programming Reference


LOGBETA(a,b)
Returns the logarithm of the beta function.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


LOGCDF('dist',quantile
<,parm1,...,parmk
> )
Returns the logarithm of a left cumulative distribution
function.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


LOGPDF('dist',quantile,parm1,...,parmk)
Returns the logarithm of a probability density (mass)
function.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


LOGSDF('dist',quantile,parm1,...,parmk)
Returns the logarithm of a survival function.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


LOWCASE(argument)
Converts all letters in an argument to lowercase.
Product: Base SAS
Document: SAS 9.3 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 objects, with the option of including number of elements.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


LPNORM(p, value1
<,value2 …> )
Returns the L norm of the second argument and subsequent nonmissing arguments.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


MAD(value1
<, value2...> )
Returns the median absolute deviation from the median.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


returncodevariable=GSET('MARCOLOR', colorindex);
Specifies the color index of the color used to draw
markers
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


returncodevariable=GSET('MARCOLOR', colorindex);
Specifies the color index of the color used to draw
markers
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


MARGRCLPRC(X_{1}
, t, X_{2}
, sigma1, sigma2, rho12)
Calculates call prices for European options on stocks,
based on the Margrabe model.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


MARGRPTPRC(X_{1}
, t, X_{2}
, sigma1, sigma2, rho12)
Calculates put prices for European options on stocks,
based on the Margrabe model.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


returncodevariable=GSET('MARINDEX', index);
Specifies the index of the bundle of marker attributes
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


returncodevariable=GSET('MARINDEX', index);
Specifies the index of the bundle of marker attributes
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


returncodevariable=GDRAW ('MARK', n, xvalues, yvalues);
Draws a polymarker
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


returncodevariable=GSET ('MARREP',index, colorindex, size,
type);
Associates a bundle of marker attributes with an
index
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


returncodevariable=GSET ('MARREP',index, colorindex, size,
type);
Associates a bundle of marker attributes with an
index
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


returncodevariable=GSET('MARSIZE', size);
Selects the size of markers
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


returncodevariable=GSET('MARSIZE', size);
Selects the size of markers
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


returncodevariable=GSET('MARTYPE', type);
Selects the type of markers
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


returncodevariable=GSET('MARTYPE', type);
Selects the type of markers
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


MAX(argument1,argument2
<,...argumentn
> )
Returns the largest value.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


CALL GASK ('MAXDISP', units,
xdim, ydim,
xpixels,
ypixels,
returncodevariable);
Finds the maximum display area size
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


MCIPISLP(numberofseconds)
Causes SAS to wait for a piece of multimedia equipment
to become active.
Product: Base SAS
Document: SAS 9.3 Companion for Windows


MCIPISTR(MCIstringcommand)
Submits an MCI string command to a piece of multimedia
equipment.
Product: Base SAS
Document: SAS 9.3 Companion for Windows


MD5(string)
Returns the result of the message digest of a specified
string.
Product: Base SAS
Document: SAS 9.3 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 9.3 Functions and CALL Routines: Reference


MEAN(argument1
<,...argumentn
> )
Returns the arithmetic mean (average).
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


MEDIAN(value1
<, value2, ...> )
Returns the median value.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


returncodevariable=GSET('MESSAGE', status);
Specifies whether the interface error message system
is enabled or disabled
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


returncodevariable=GSET('MESSAGE', status);
Specifies whether the interface error message system
is enabled or disabled
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


rc=METADATA_DELASSN(uri,assn);
Deletes all objects that make up the specified
association.
Product: Base SAS
Document: SAS 9.3 Language Interfaces to Metadata


rc = METADATA_DELOBJ(
uri
);
Deletes the first object that matches the specified
URI.
Product: Base SAS
Document: SAS 9.3 Language Interfaces to Metadata


rc = METADATA_GETATTR(
uri
,
attr
,
value
);
Returns the value of the specified attribute for
the specified object.
Product: Base SAS
Document: SAS 9.3 Language Interfaces to Metadata


rc = METADATA_GETNASL(
uri
,
n
,
asn
);
Returns the th association for the specified object.
Product: Base SAS
Document: SAS 9.3 Language Interfaces to Metadata


rc = METADATA_GETNASN(
uri
,
asn
,
n
,
nuri
);
Returns the th associated object of the specified association.
Product: Base SAS
Document: SAS 9.3 Language Interfaces to Metadata


rc = METADATA_GETNATR(
uri
, n, attr, value);
Returns the th attribute of the specified object.
Product: Base SAS
Document: SAS 9.3 Language Interfaces to Metadata


rc = METADATA_GETNOBJ(uri, n, nuri);
Returns theth object that matches the specified URI.
Product: Base SAS
Document: SAS 9.3 Language Interfaces to Metadata


rc = METADATA_GETNPRP(uri, n, prop, value);
Returns the th property of the specified object.
Product: Base SAS
Document: SAS 9.3 Language Interfaces to Metadata


rc = METADATA_GETNTYP(n, type);
Returns the th object type on the server.
Product: Base SAS
Document: SAS 9.3 Language Interfaces to Metadata


rc = METADATA_GETPROP(uri, prop, value, propuri);
Returns the value and Uniform Resource Identifier
(URI) of the specified property for the specified object.
Product: Base SAS
Document: SAS 9.3 Language Interfaces to Metadata


rc = METADATA_NEWOBJ(type, uri
<, name
>
<, repos
>
<, parent
>
<, asn
>);
Creates a new metadata object.
Product: Base SAS
Document: SAS 9.3 Language Interfaces to Metadata


rc = METADATA_PATHOBJ(
proj, path, deftype, type, ID
);
Returns the Id and Type attributes of the specified
folder object.
Product: Base SAS
Document: SAS 9.3 Language Interfaces to Metadata


rc = METADATA_PAUSED();
Determines whether the server specified by the METASERVER
system option is paused.
Product: Base SAS
Document: SAS 9.3 Language Interfaces to Metadata


rc = METADATA_PURGE(<
uri
> );
Purges the specified URI.
Product: Base SAS
Document: SAS 9.3 Language Interfaces to Metadata


rc = METADATA_RESOLVE(
uri, type, ID
);
Resolves a URI into an object on the metadata server.
Product: Base SAS
Document: SAS 9.3 Language Interfaces to Metadata


rc = METADATA_SETASSN(
uri, asn, mod, auri1
<,...aurin
>);
Modifies an association list for an object.
Product: Base SAS
Document: SAS 9.3 Language Interfaces to Metadata


rc = METADATA_SETATTR(
uri, attr, value
);
Sets the specified attribute for the specified object.
Product: Base SAS
Document: SAS 9.3 Language Interfaces to Metadata


rc = METADATA_SETPROP(
uri, prop, value, propuri
);
Sets the specified property for the specified object.
Product: Base SAS
Document: SAS 9.3 Language Interfaces to Metadata


ver = METADATA_VERSION();
Returns the metadata server's model version number.
Product: Base SAS
Document: SAS 9.3 Language Interfaces to Metadata


rc = METASEC_APPLYACT(
tc, uri, act_uri,
flags
);
Applies an ACT to an object.
Product: Base SAS
Document: SAS 9.3 Language Interfaces to Metadata


rc = METASEC_BEGTRAN(
uri, flags, tc
);
Begins the TC.
Product: Base SAS
Document: SAS 9.3 Language Interfaces to Metadata


rc = METASEC_DELACT(
tc, act_uri
);
Deletes ACT from the metadata server.
Product: Base SAS
Document: SAS 9.3 Language Interfaces to Metadata


rc = METASEC_ENDTRAN(
uri, tc, flags
);
Ends the TC.
Product: Base SAS
Document: SAS 9.3 Language Interfaces to Metadata


rc = METASEC_GETACTA(
tc, act_uri, attr, attr_value
);
Returns an ACT attribute.
Product: Base SAS
Document: SAS 9.3 Language Interfaces to Metadata


rc = METASEC_GETNACT(
tc, uri, n, act_uri, name, desc, use
<, flags);>
Returns the th ACT.
Product: Base SAS
Document: SAS 9.3 Language Interfaces to Metadata


rc = METASEC_GETNACTA(
tc, act_uri, n, attr, attr_value
);
Returns the th attribute for an ACT.
Product: Base SAS
Document: SAS 9.3 Language Interfaces to Metadata


rc=METASEC_GETNAUTH(
tc
,
uri
,
n
,
type
,
name
,
auth
,
perm
,
cond
<, flags
>
<, display
>)
Returns the th authorization for an object.
Product: Base SAS
Document: SAS 9.3 Language Interfaces to Metadata


rc = METASEC_GETNID(
tc, uri, n, type, name, flags
<, display, origin);>
Returns the th identity for an object. Identities can come directly from the
object, from the inheritance parents, from the default ACT, and from
any ACTs that are directly associated with the object.
Product: Base SAS
Document: SAS 9.3 Language Interfaces to Metadata


rc = METASEC_NEWACT(
tc, repos_uri, attr, attr_value
<, attrn, attr_valuen
>
);
Creates a new ACT.
Product: Base SAS
Document: SAS 9.3 Language Interfaces to Metadata


rc = METASEC_REMACT(
tc, uri, act_uri, flags);
Removes an ACT from an object.
Product: Base SAS
Document: SAS 9.3 Language Interfaces to Metadata


rc = METASEC_SETACTA(
tc, act_uri, attr, attr_value
);
Sets an ACT attribute.
Product: Base SAS
Document: SAS 9.3 Language Interfaces to Metadata


rc = METASEC_SETAUTH(
tc, uri, type, name, auth, perm, cond
<, flags
>);
Sets authorization for an object.
Product: Base SAS
Document: SAS 9.3 Language Interfaces to Metadata


MIN(argument1,argument2
<,...argumentn
> )
Returns the smallest value.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


MINUTE(time  datetime)
Returns the minute from a SAS time or datetime value.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


MISSING(
numericexpression

characterexpression
)
Returns a numeric result that indicates whether
the argument contains a missing value.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


MOD (argument1,argument2)
Returns the remainder from the division of the first
argument by the second argument, fuzzed to avoid most unexpected floatingpoint
results.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


MODEXIST ('productname'  'pathname')
Determines whether a product image exists in the
release of SAS that you have installed.
Product: Base SAS
Document: SAS 9.3 Companion for UNIX Environments


MODEXIST('productname')
Determines whether a software image exists in the
version of SAS that you have installed.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


CALL MODULE(<
cntl
> ,module,arg1,arg2. . . ,argn);
num=MODULEN(<
cntl
> ,module,arg1,arg2…,argn);
char=MODULEC(<
cntl
> ,module,arg1…,arg2,argn);
CALL MODULEI
<
cntl
> ,module
arg1,arg2. . . ,argn);
num=MODULEIN(<
cntl
> ,module,arg1,arg2. . .,argn)
char=MODULEIC(<
cntl
> ,module,arg1,arg2. . .,argn);
Calls a specific routine or module that resides
in an external dynamic link library (DLL).
Product: Base SAS
Document: SAS 9.3 Companion for Windows


MODULEC(<
cntlstring,>
modulename
<,argument1, ..., argumentn
>)
Calls an external routine and returns a character
value.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


MODULEN(<
cntlstring,>
modulename
<,argument1, ..., argumentn
>)
Calls an external routine and returns a numeric
value.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


MODZ (argument1, argument2)
Returns the remainder from the division of the first
argument by the second argument, using zero fuzzing.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


MONTH(date)
Returns the month from a SAS date value.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


MOPEN(directoryid,membername<,openmode<,recordlength<,recordformat>>>)
Opens a file by directory ID and member name, and
returns either the file identifier or a 0.
Product: Base SAS
Document: SAS 9.3 Companion for UNIX Environments


MOPEN(directoryid,membername
<,openmode
<,recordlength
<,recordformat
>
>
> )
Opens a file by directory ID and by member name,
and returns either the file identifier or a 0.
Product: Base SAS
Document: SAS 9.3 Companion for z/OS


MOPEN(directoryid,membername
<
,openmode
<,recordlength
<,recordformat
>
>
> )
Opens a file by directory ID and member name, and
returns either the file identifier or a 0.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


MORT(a,p,r,n)
Returns amortization parameters.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


MSPLINT(X, n, X_{1}
<, X_{2}
, …, X_{n}
> , Y_{1}
<,Y_{2}
, …, Y_{n}
>
<,D_{1}
,D_{n}
> )
Returns the ordinate of a monotonicitypreserving
interpolating spline.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


MVALID(libname, string, memtype
<,validmemname
>)
Checks the validity of a character string for use
as a SAS member name.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


N(argument1
<,...argumentn
> )
Returns the number of nonmissing numeric values.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


NETPV(r,freq,c0,c1,...,cn)
Returns the net present value as a fraction.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


NLDATE(date,descriptor)
Converts the SAS date value to the date value of
the specified locale by using the date format descriptors.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide


NLDATM(datetime,descriptor)
Converts the SAS datetime value to the time value
of the specified locale by using the datetimeformat descriptors.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide


NLITERAL(string)
Converts a character string that you specify to
a SAS name literal.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


NLTIME(timedatetime,descriptor,startpos)
Converts the SAS time or the datetime value to the
time value of the specified locale by using the NLTIME descriptors.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide


NMISS(argument1
<,...argumentn
> )
Returns the number of missing numeric values.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


NOMRATE(compoundinginterval, rate)
Returns the nominal annual interest rate.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


Returns a random variate from a normal, or Gaussian,
distribution.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


NOTALNUM(string
<,start
> )
Searches a character string for a nonalphanumeric
character, and returns the first position at which the character is
found.
Product: Base SAS
Document: SAS 9.3 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 9.3 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 9.3 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 9.3 Functions and CALL Routines: Reference


NOTE(datasetid)
Returns an observation ID for the current observation
of a SAS data set.
Product: Base SAS
Document: SAS 9.3 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 9.3 Functions and CALL Routines: Reference


NOTGRAPH(string
<,start
> )
Searches a character string for a nongraphical
character, and returns the first position at which that character
is found.
Product: Base SAS
Document: SAS 9.3 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 9.3 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 9.3 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 9.3 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 9.3 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 9.3 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 9.3 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 9.3 Functions and CALL Routines: Reference


NPV(r,freq,c0,c1,...,cn)
Returns the net present value with the rate expressed
as a percentage.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


CALL GASK('NUMGRAPH', n, returncodevariable);
Finds the number of graphs in the current catalog
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


NVALID(string
<,validvarname
> )
Checks the validity of a character string for use
as a SAS variable name.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


NWKDOM(n, weekday, month, year)
Returns the date for the th occurrence of a weekday for the specified month and year.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


OPEN(<
datasetname
<,mode
<,generationnumber
<,type
>
>
>
> )
Opens a SAS data set.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


CALL GASK('OPENGRAPH', name,
returncodevariable);
Finds the name of the segment currently open
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


ORDINAL(k,argument1,argument2
<,...
argumentn
> )
Returns the k smallest of the missing and nonmissing values.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


PATHNAME((fileref  libref) <
,searchref
> )
Returns the physical name of a SAS library or an
external file, or returns a blank.
Product: Base SAS
Document: SAS 9.3 Companion for UNIX Environments


PATHNAME((
fileref

libref
) <,searchlevel
> )
Returns the physical name of a SAS library or of
an external file or returns a blank.
Product: Base SAS
Document: SAS 9.3 Companion for z/OS


PATHNAME((fileref  libref) <,searchref
> )
Returns the physical name of an external file or
a SAS library, or returns a blank.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


returncodevariable=CALL GSET('PATREP', index, patternname,
hatchname);
Specifies the pattern name of a style index for
a particular fill type.
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


returncodevariable=CALL GSET('PATREP', index, patternname,
hatchname);
Specifies the pattern name of a style index for
a particular fill type.
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


PCTL
<
n
> (percentage, value1
<,value2,...
> )
Returns the percentile that corresponds to the percentage.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


PDF (dist,quantile
<,parm1, ... ,parmk
> )
Returns a value from a probability density (mass)
distribution.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


PEEK(address
<,length
> )
Stores the contents of a memory address in a numeric
variable on a 32bit platform.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


PEEKC(address
<,length
> )
Stores the contents of a memory address in a character
variable on a 32bit platform.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


PEEKCLONG(address
<,length
> )
Stores the contents of a memory address in a character
variable.
Product: Base SAS
Document: SAS 9.3 Companion for z/OS


PEEKCLONG(address
<,length
> )
Stores the contents of a memory address in a character
variable on 32bit and 64bit platforms.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


PEEKCLONG(address,length);
PEEKLONG(address,length);
Stores the contents of a memory address in a numeric
variable on 32bit and 64bit platforms.
Product: Base SAS
Document: SAS 9.3 Companion for UNIX Environments


PEEKLONG(address
<,length)>
Stores the contents of a memory address in a numeric
variable on 32bit and 64bit platforms.
Product: Base SAS
Document: SAS 9.3 Companion for Windows


PEEKLONG(address
<,length
> )
Stores the contents of a memory address in a numeric
variable.
Product: Base SAS
Document: SAS 9.3 Companion for z/OS


PEEKLONG(address
<,length
> )
Stores the contents of a memory address in a numeric
variable on 32bit and 64bit platforms.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


PERM(n
<,r
> )
Computes the number of permutations of items that are taken at a time.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


returncodevariable=GDRAW('PIE', x, y, radius, start, end);
Draws a filled circle or section of a filled circle
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


returncodevariable=GRAPH('PLAY', graphname);
Displays the specified graph on your output
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


PMT (rate, numberofperiods, principalamount, <
futureamount
>, <
type
>)
Returns the periodic payment for a constant payment
loan or the periodic savings for a future balance.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


POINT(datasetid,noteid)
Locates an observation that is identified by the
NOTE function.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


POISSON(m,n)
Returns the probability from a Poisson distribution.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


PPMT (rate, period, numberofperiods, principalamount, <
futureamount
>, <
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 9.3 Functions and CALL Routines: Reference


PROBBETA(x,a,b)
Returns the probability from a beta distribution.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


PROBBNML(p,n,m)
Returns the probability from a binomial distribution.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


PROBBNRM(x,y,r)
Returns a probability from a bivariate normal distribution.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


PROBCHI(x,df
<,nc
> )
Returns the probability from a chisquare distribution.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


PROBF(x,ndf,ddf
<,nc
> )
Returns the probability from an distribution.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


PROBGAM(x,a)
Returns the probability from a gamma distribution.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


PROBHYPR(N,K,n,x
<,r
> )
Returns the probability from a hypergeometric distribution.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


PROBIT(p)
Returns a quantile from the standard normal distribution.
Product: Base SAS
Document: SAS 9.3 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 9.3 Functions and CALL Routines: Reference


PROBNEGB(p,n,m)
Returns the probability from a negative binomial
distribution.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


PROBNORM(x)
Returns the probability from the standard normal
distribution.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


PROBT(x,df
<,nc
> )
Returns the probability from a distribution.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


PROPCASE(argument
<,delimiters
> )
Converts all words in an argument to proper case.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


PRXCHANGE(
perlregularexpression
regularexpressionid
, times, source)
Performs a patternmatching replacement.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


PRXMATCH (
regularexpressionid

perlregularexpression
, source)
Searches for a pattern match and returns the position
at which the pattern is found.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


PRXPAREN (regularexpressionid)
Returns the last bracket match for which there is
a match in a pattern.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


regularexpressionid=PRXPARSE (perlregularexpression)
Compiles a Perl regular expression (PRX) that can
be used for pattern matching of a character value.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


PRXPOSN(regularexpressionid, capturebuffer, source)
Returns a character string that contains the value
for a capture buffer.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


PTRLONGADD(pointer
<,amount
> )
Returns the pointer address as a character variable
on 32bit and 64bit platforms.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


PUT(source, format.)
Returns a value using a specified format.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


PUTC(source, format.<,w
> )
Enables you to specify a character format at run
time.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


PUTN(source, format.<,w
<,d
>
> )
Enables you to specify a numeric format at run time.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


PVP(A,c,n,K,k_{0}
,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 9.3 Functions and CALL Routines: Reference


QTR(date)
Returns the quarter of the year from a SAS date
value.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


QUANTILE(dist,probability,parm1,…,parmk)
Returns the quantile from a distribution when you
specify the left probability (CDF).
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


QUOTE(argument)
Adds double quotation marks to a character value.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


RANBIN(seed,n,p)
Returns a random variate from a binomial distribution.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


RANCAU(seed)
Returns a random variate from a Cauchy distribution.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


RAND (dist, parm1,…,parmk)
Generates random numbers from a distribution that
you specify.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


RANEXP(seed)
Returns a random variate from an exponential distribution.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


RANGAM(seed,a)
Returns a random variate from a gamma distribution.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


RANGE(argument1
<,...argumentn
> )
Returns the range of the nonmissing values.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


RANK(x)
Returns the position of a character in the ASCII
collating sequence.
Product: Base SAS
Document: SAS 9.3 Companion for Windows


RANK(x)
Returns the position of a character in the ASCII
collating sequence.
Product: Base SAS
Document: SAS 9.3 Companion for UNIX Environments


RANK(x)
Returns the position of a character in the ASCII
or EBCDIC collating sequence.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


RANNOR(seed)
Returns a random variate from a normal distribution.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


RANPOI(seed,m)
Returns a random variate from a Poisson distribution.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


RANTBL(seed,p1,...
p_{i}
... ,p_{n}
)
Returns a random variate from a tabled probability
distribution.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


RANTRI(seed,h)
Returns a random variate from a triangular distribution.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


RANUNI(seed)
Returns a random variate from a uniform distribution.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


RENAME(oldname, newname
<, 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 9.3 Functions and CALL Routines: Reference


returncodevariable=GRAPH('RENAME', name, newname);
Renames a graph
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


REPEAT(argument,n)
Returns a character value that consists of the first
argument repeated n+1 times.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


RESOLVE(argument)
Returns the resolved value of the argument after
it has been processed by the macro facility.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


REVERSE(argument)
Reverses a character string.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


REWIND(datasetid)
Positions the data set pointer at the beginning
of a SAS data set.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


RIGHT(argument)
Right aligns a character expression.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


rc=RLINK('serverID'
);
Verifies whether a connection was established between
a SAS/CONNECT client and a server session.
Product: SAS/CONNECT
Document: SAS/CONNECT 9.3 User's Guide


RMS(argument
<,argument,...
> )
Returns the root mean square of the nonmissing arguments.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


ROUND (argument
<,roundingunit
> )
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 9.3 Functions and CALL Routines: Reference


ROUNDE (argument
<,roundingunit
> )
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 9.3 Functions and CALL Routines: Reference


ROUNDZ (argument
<,roundingunit
> )
Rounds the first argument to the nearest multiple
of the second argument, using zero fuzzing.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


cval
=RSESSION(n
);
Returns the name, description, and SAS version of
a SAS/CONNECT server session.
Product: SAS/CONNECT
Document: SAS/CONNECT 9.3 User's Guide


sysrc
=RSTITLE(sessionID,
description
);
Defines a description for an existing connection
to a SAS/CONNECT server session.
Product: SAS/CONNECT
Document: SAS/CONNECT 9.3 User's Guide


SASMSG (BASENAME",
"KEY", <<"QUOTE""DQUOTE""NOQUOTE">
<, "substitution 1", ...,
"substitution 7">>)
Specifies a message from a data set. The returned
message is based on the current locale and a specified key.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide


SASMSGL(("BASENAME",
"KEY", "LOCALE", <<"Q""D""N">
<, "substitution 1", ..., "substitution 6">>) Specifies a message from a data set. The message
is based on a specified locale value and a specified key value.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide


SAVING(f,p,r,n)
Returns the future value of a periodic saving.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


SAVINGS(basedate, initialdepositdate, depositamount, depositnumber,
depositinterval, compoundinginterval, date1, rate2 <,date2, rate2,...>) Returns the balance of a periodic savings by using
variable interest rates.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


SCAN(string, count
<,charlist
<,modifiers
>
> )
Returns the th word from a character string.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


SDF(dist,quantile,parm1,...,parmk)
Returns a survival function.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


SECOND(
time

datetime
)
Returns the second from a SAS time or datetime value.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


Setting SAS Locale
SETLOCALE(sas_locale)
Customize single locale elements
SETLOCALE(key, value)
Customize single locale elements
SETLOCALE(category_name,
sas_locale)
Specifies the locale keys for the current SAS locale.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide


SIGN(argument)
Returns the sign of a value.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


SIN(argument)
Returns the sine.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


SINH(argument)
Returns the hyperbolic sine.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


SKEWNESS(argument1,argument2,argument3
<,...
argumentn
> )
Returns the skewness of the nonmissing arguments.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


SLEEP(n<,unit>)
Suspends execution of a SAS DATA step for a specified
period of time.
Product: Base SAS
Document: SAS 9.3 Companion for Windows


SLEEP(n
<, unit
> )
For a specified period of time, suspends the execution
of a program that invokes this function.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


SMALLEST (k, value1
<, value2
...
> )
Returns the th smallest nonmissing value.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


SOAPWEB (IN, URL
<,options
>)
Calls a Web service by using basic Web authentication;
credentials are provided in the arguments.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


SOAPWEBMETA (IN, URL
<,options
>)
Calls a Web service by using basic Web authentication;
credentials for the authentication domain are retrieved from metadata.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


SOAPWIPSERVICE (IN, SERVICE
<,options
>)
Calls a SAS registered Web service by using WSSecurity
authentication; credentials are provided in the arguments.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


SOAPWIPSRS (IN, URL, SRSURL
<,options
>)
Calls a SAS registered Web service by using WSSecurity
authentication; credentials are provided in the arguments.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


SOAPWS (IN, URL
<,options
>)
Calls a Web service by using WSSecurity authentication;
credentials are provided in the arguments.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


SOAPWSMETA (IN, URL
<,options
>)
Calls a Web service by using WSSecurity authentication;
credentials for the provided authentication domain are retrieved from
metadata.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


sortKey(string, <locale,
strength, case, numeric, order> )
creates a linguistic sort key.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide


SOUNDEX(argument)
Encodes a string to facilitate searching.
Product: Base SAS
Document: SAS 9.3 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 9.3 Functions and CALL Routines: Reference


SQRT(argument)
Returns the square root of a value.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


SQUANTILE(dist, probability, parm1,
... , parmk)
Returns the quantile from a distribution when you
specify the right probability (SDF).
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


CALL GASK('STATE', status);
Finds the current operating state of DSGI
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


STD(argument1,argument2
<,...argumentn
> )
Returns the standard deviation of the nonmissing
arguments.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


STDERR(argument1,argument2
<,...
argumentn
> )
Returns the standard error of the mean of the nonmissing
arguments.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


STFIPS(postalcode)
Converts state postal codes to FIPS state codes.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


STNAME(postalcode)
Converts state postal codes to uppercase state names.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


STNAMEL(postalcode)
Converts state postal codes to mixed case state
names.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


STPSRV_HEADER(
Header Name
,
Header Value
)
Adds or modifies a header
Product: SAS Integration Technologies
Document: SAS 9.3 Stored Processes: Developer's Guide


STPSRV_SESSION('
command
',<
timeout
>)
Creates or deletes a session
Product: SAS Integration Technologies
Document: SAS 9.3 Stored Processes: Developer's Guide


STPSRV_UNQUOTE2(
paramname
)
Unmasks quotation mark characters in an input parameter
Product: SAS Integration Technologies
Document: SAS 9.3 Stored Processes: Developer's Guide


STPSRVGETC(
valuecode
)
Returns the character value of a server property
Product: SAS Integration Technologies
Document: SAS 9.3 Stored Processes: Developer's Guide


STPSRVGETN(
valuecode
)
Returns the numeric value of a server property
Product: SAS Integration Technologies
Document: SAS 9.3 Stored Processes: Developer's Guide


STPSRVSET(
valuecode
,
newvalue
)
Sets the value of a server property
Product: SAS Integration Technologies
Document: SAS 9.3 Stored Processes: Developer's Guide


STRIP(string)
Returns a character string with all leading and
trailing blanks removed.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


SUBPAD(string, position
<, length
> )
Returns a substring that has a length you specify,
using blank padding if necessary.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


SUBSTR(variable, position
<,length
>)=characterstoreplace
Replaces character value contents.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


<
variable=>
SUBSTR(string,position
<,length
> )
Extracts a substring from an argument.
Product: Base SAS
Document: SAS 9.3 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 9.3 Functions and CALL Routines: Reference


SUM(argument,argument,... )
Returns the sum of the nonmissing arguments.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


SUMABS(value1
<,value2
...
> )
Returns the sum of the absolute values of the nonmissing
arguments.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


SYMEXIST (argument)
Returns an indication of the existence of a macro
variable.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


SYMGET(argument)
Returns the value of a macro variable during DATA
step execution.
Product: Base SAS
Document: SAS 9.3 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 9.3 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 9.3 Functions and CALL Routines: Reference


SYSEXIST (argument)
Returns a value that indicates whether an operatingenvironment
variable exists in your environment.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


SYSGET('environmentvariable')
Returns the value of the specified operating environment
variable.
Product: Base SAS
Document: SAS 9.3 Companion for UNIX Environments


SYSGET(operatingenvironmentvariable)
Returns the value of the specified operatingenvironment
variable.
Product: Base SAS
Document: SAS 9.3 Companion for z/OS


SYSGET(operatingenvironmentvariable)
Returns the value of the specified operating environment
variable.
Product: Base SAS
Document: SAS 9.3 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 9.3 Functions and CALL Routines: Reference


SYSPARM()
Returns the system parameter string.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


SYSPROCESSID()
Returns the process ID of the current process.
Product: Base SAS
Document: SAS 9.3 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 9.3 Functions and CALL Routines: Reference


SYSPROD(productname)
Determines whether a product is licensed.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


SYSRC()
Returns a system error number.
Product: Base SAS
Document: SAS 9.3 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 9.3 Companion for z/OS


SYSTEM(command)
Issues an operating environment command during a
SAS session, and returns the system return code.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


TAN(argument)
Returns the tangent.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


TANH(argument)
Returns the hyperbolic tangent.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


returncodevariable=GSET('TEXALIGN', halign, valign);
Specifies the horizontal and vertical alignment
of the text string
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


returncodevariable=GSET('TEXALIGN', halign, valign);
Specifies the horizontal and vertical alignment
of the text string
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


returncodevariable=GSET('TEXCOLOR', colorindex);
Specifies the color index of the color used to draw
text strings
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


returncodevariable=GSET('TEXCOLOR', colorindex);
Specifies the color index of the color used to draw
text strings
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


CALL GASK ('TEXEXTENT', x, y,
string, xend, yend, x1, x2, x3, x4, y1,
y2, y3, y4,
returncodevariable); Finds the text extent rectangle and concatenation
point for a specified text string
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


returncodevariable=GSET('TEXFONT', font);
Specifies the font used to draw text strings
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


returncodevariable=GSET('TEXFONT', font);
Specifies the font used to draw text strings
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


returncodevariable=GSET('TEXHEIGHT', height);
Specifies the character height of the text string
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


returncodevariable=GSET('TEXHEIGHT', height);
Specifies the character height of the text string
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


returncodevariable=GSET('TEXINDEX', index);
Specifies the index of the bundle of text attributes
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


returncodevariable=GSET('TEXINDEX', index);
Specifies the index of the bundle of text attributes
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


returncodevariable=GSET('TEXPATH', path);
Specifies the direction of the text string
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


returncodevariable=GSET('TEXPATH', path);
Specifies the direction of the text string
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


returncodevariable=GSET ('TEXREP',index, colorindex, font);
Associates a bundle of text attributes with an index
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


returncodevariable=GSET ('TEXREP',index, colorindex, font);
Associates a bundle of text attributes with an index
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


returncodevariable=GDRAW('TEXT', x, y, string);
Draws a text string
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


returncodevariable=GSET('TEXUP',upx, upy);
Specifies the orientation (angle) of the text string
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


returncodevariable=GSET('TEXUP',upx, upy);
Specifies the orientation (angle) of the text string
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


TIME()
Returns the current time of day as a numeric SAS
time value.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


TIMEPART(datetime)
Extracts a time value from a SAS datetime value.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


TIMEVALUE(basedate, referencedate, referenceamount, compoundinginterval,
date1, rate1 <,date2, rate2,...>) Returns the equivalent of a reference amount at
a base date by using variable interest rates.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


TINV(p,df
<,nc
> )
Returns a quantile from the distribution.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


TNONCT(x,df,prob)
Returns the value of the noncentrality parameter
from the Student's distribution.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


TODAY()
Returns the current date as a numeric SAS date value.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


CALL GASK ('TRANS', n, vllx,
vlly,
vurx, vury,
wllx, wlly, wurx, wury,
returncodevariable); Finds the viewport and window coordinates associated
with a transformation number
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


TRANSLATE(source,to1,from1
<,…ton,
fromn
> )
Replaces specific characters in a character expression.
Product: Base SAS
Document: SAS 9.3 Companion for Windows


TRANSLATE(source,to1,from1
<,…ton,fromn
> )
Replaces specific characters in a character expression.
Product: Base SAS
Document: SAS 9.3 Companion for UNIX Environments


TRANSLATE(source, to1, from1, <... ton, fromn
> )
Replaces specific characters in a character expression.
Product: Base SAS
Document: SAS 9.3 Companion for z/OS


TRANSLATE(source,to1,from1
<,…ton,fromn
> )
Replaces specific characters in a character string.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


returncodevariable=GSET('TRANSNO', n);
Specifies the number of the transformation to be
used
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


returncodevariable=GSET('TRANSNO', n);
Specifies the number of the transformation to be
used
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


TRANSTRN(source,target,replacement)
Replaces or removes all occurrences of a substring
in a character string.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


TRANTAB(string,trantab_name)
Transcodes data by using the specified translation
table.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide


TRANWRD(source,target,replacement)
Replaces all occurrences of a substring in a character
string.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


TRIGAMMA(argument)
Returns the value of the trigamma function.
Product: Base SAS
Document: SAS 9.3 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 9.3 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 9.3 Functions and CALL Routines: Reference


TRUNC(number,length)
Truncates a numeric value to a specified number
of bytes.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


TSO(command)
Issues a TSO command or invokes a CLIST or a REXX
exec during a SAS session.
Product: Base SAS
Document: SAS 9.3 Companion for z/OS


STR=UNICODE(<
instr
> (,<Unicode
type> ))
converts Unicode characters to the current SAS session
encoding.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide


STR=UNICODEC(<
instr
> (,<Unicode
type> ))
converts characters in the current SAS session encoding
to Unicode characters.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide


UNICODELEN()
specifies the length of the character unit for the
Unicode data.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide


UNICODEWIDTH()
specifies the length of a display unit for the Unicode
data.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide


Returns a random variate from a uniform distribution.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


UPCASE(argument)
Converts all letters in an argument to uppercase.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


returncodevariable=GRAPH('UPDATE' <, 'show'>);
Completes the currently open graph, or displays
it, or both
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


URLDECODE(argument)
Returns a string that was decoded using the URL
escape syntax.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


URLENCODE(argument)
Returns a string that was encoded using the URL
escape syntax.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


USS(argument1
<,...argumentn
> )
Returns the uncorrected sum of squares of the nonmissing
arguments.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


UUIDGEN(<
maxwarnings
<,binaryresult
>
> )
Returns the short or binary form of a Universal
Unique Identifier (UUID).
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


VAR(argument1,argument2
<,...argumentn
> )
Returns the variance of the nonmissing arguments.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


VARFMT(datasetid,varnum)
Returns the format that is assigned to a SAS data
set variable.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


VARINFMT(datasetid,varnum)
Returns the informat that is assigned to a SAS data
set variable.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


VARLABEL(datasetid,varnum)
Returns the label that is assigned to a SAS data
set variable.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


VARLEN(datasetid,varnum)
Returns the length of a SAS data set variable.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


VARNAME(datasetid,varnum)
Returns the name of a SAS data set variable.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


VARNUM(datasetid,varname)
Returns the number of a variable's position in a
SAS data set.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


VARRAY (name)
Returns a value that indicates whether the specified
name is an array.
Product: Base SAS
Document: SAS 9.3 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 9.3 Functions and CALL Routines: Reference


VARTRANSCODE(datasetid, varnum)
Returns the transcode attribute of a SAS data set
variable.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide


VARTYPE(datasetid,varnum)
Returns the data type of a SAS data set variable.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


VERIFY(source,excerpt1
<, …, excerptn
> )
Returns the position of the first character in a
string that is not in any of several other strings.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


VFORMAT (var)
Returns the format that is associated with the specified
variable.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


VFORMATD (var)
Returns the decimal value of the format that is
associated with the specified variable.
Product: Base SAS
Document: SAS 9.3 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 9.3 Functions and CALL Routines: Reference


VFORMATN (var)
Returns the format name that is associated with
the specified variable.
Product: Base SAS
Document: SAS 9.3 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 9.3 Functions and CALL Routines: Reference


VFORMATW (var)
Returns the format width that is associated with
the specified variable.
Product: Base SAS
Document: SAS 9.3 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 9.3 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 9.3 Functions and CALL Routines: Reference


returncodevariable=GSET('VIEWPORT', n, llx, lly, urx, ury);
Associates a viewport with a transformation number
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


returncodevariable=GSET('VIEWPORT', n, llx, lly, urx, ury);
Associates a viewport with a transformation number
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


VINARRAY (var)
Returns a value that indicates whether the specified
variable is a member of an array.
Product: Base SAS
Document: SAS 9.3 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 9.3 Functions and CALL Routines: Reference


VINFORMAT (var)
Returns the informat that is associated with the
specified variable.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


VINFORMATD (var)
Returns the decimal value of the informat that is
associated with the specified variable.
Product: Base SAS
Document: SAS 9.3 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 9.3 Functions and CALL Routines: Reference


VINFORMATN (var)
Returns the informat name that is associated with
the specified variable.
Product: Base SAS
Document: SAS 9.3 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 9.3 Functions and CALL Routines: Reference


VINFORMATW (var)
Returns the informat width that is associated with
the specified variable.
Product: Base SAS
Document: SAS 9.3 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 9.3 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 9.3 Functions and CALL Routines: Reference


VLABEL (var)
Returns the label that is associated with the specified
variable.
Product: Base SAS
Document: SAS 9.3 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 9.3 Functions and CALL Routines: Reference


VLENGTH (var)
Returns the compiletime (allocated) size of the
specified variable.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


VLENGTHX (expression)
Returns the compiletime (allocated) size for the
variable that has a name that is the same as the value of the argument.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


VNAME (var)
Returns the name of the specified variable.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


VNAMEX (expression)
Validates the value of the specified argument as
a variable name.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


returncodevariable=GSET('VPOS', vpos);
Specifies the number of rows
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


returncodevariable=GSET('VPOS', vpos);
Specifies the number of rows
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


returncodevariable=GSET('VSIZE', vsize);
Specifies the vertical dimension of the graphics
output area
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


returncodevariable=GSET('VSIZE', vsize);
Specifies the vertical dimension of the graphics
output area
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


VTRANSCODE (var)
Returns a value that indicates whether transcoding
is enabled for the specified character variable.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide


VTRANSCODEX (var)
Returns a value that indicates whether transcoding
is enabled for the specified argument.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide


VTYPE (var)
Returns the type (character or numeric) of the specified
variable.
Product: Base SAS
Document: SAS 9.3 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 9.3 Functions and CALL Routines: Reference


VVALUE(var)
Returns the formatted value that is associated with
the variable that you specify.
Product: Base SAS
Document: SAS 9.3 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 9.3 Functions and CALL Routines: Reference


WAKEUP(untilwhen)
Specifies the time a SAS DATA step continues execution.
Product: Base SAS
Document: SAS 9.3 Companion for Windows


WEEK(<
sasdate
> , <
'descriptor'
> )
Returns the weeknumber value.
Product: Base SAS
Document: SAS 9.3 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 9.3 Functions and CALL Routines: Reference


WHICHC(string, value1
<, value2, …> )
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 9.3 Functions and CALL Routines: Reference


WHICHN(argument, value1
<, value2, …> )
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 9.3 Functions and CALL Routines: Reference


returncodevariable=GSET ('WINDOW', n, llx, lly, urx, ury);
Associates a window with a transformation number
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


returncodevariable=GSET ('WINDOW', n, llx, lly, urx, ury);
Associates a window with a transformation number
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


CALL GASK('WSACTIVE', status);
Finds whether the interface is active
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


CALL GASK('WSOPEN', status);
Finds whether the interface is open
Product: SAS/GRAPH
Document: SAS/GRAPH 9.3: Reference


WTO
(“textstring”

var
)
Sends a message to the system console.
Product: Base SAS
Document: SAS 9.3 Companion for z/OS


YEAR(date)
Returns the year from a SAS date value.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


YIELDP(A,c,n,K,k_{0}
,p)
Returns the yieldtomaturity for a periodic cash
flow stream, such as a bond.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


YRDIF(startdate,enddate,<
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 9.3 Functions and CALL Routines: Reference


YYQ(year,quarter)
Returns a SAS date value from year and quarter year
values.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


zdsattr(
variable name
, <
option
>);
Returns the attributes for the data set name that
is specified in the input variable according to the type of request.
Product: Base SAS
Document: SAS 9.3 Companion for z/OS


zdsidnm(
variable name
,
index
);
Returns individual data set names from the variable
that the ZDSLIST function created based on an index.
Product: Base SAS
Document: SAS 9.3 Companion for z/OS


zdslist(
category
,
data set filter
,
volume filter
, <
option
>);
Returns a list of data set names.
Product: Base SAS
Document: SAS 9.3 Companion for z/OS


zdsnum(variable
name);
Returns a count of the number of data set names
that are returned from the ZDSLIST function.
Product: Base SAS
Document: SAS 9.3 Companion for z/OS


zdsxatt(
variable name
);
Returns the number of attributes retrieved by a
previous ZDSATTR request.
Product: Base SAS
Document: SAS 9.3 Companion for z/OS


zdsyatt(
variable name
,
indexj
);
Displays each attribute that is created by .
Product: Base SAS
Document: SAS 9.3 Companion for z/OS


ZIPCITY(zipcode)
Returns a city name and the twocharacter postal
code that corresponds to a ZIP code.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


ZIPCITYDISTANCE(zipcode1, zipcode2)
Returns the geodetic distance between two ZIP code
locations.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


ZIPFIPS(zipcode)
Converts ZIP codes to twodigit FIPS codes.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


ZIPNAME(zipcode)
Converts ZIP codes to uppercase state names.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


ZIPNAMEL(zipcode)
Converts zip codes to mixed case state names.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


ZIPSTATE(zipcode)
Converts ZIP codes to twocharacter state postal
codes.
Product: Base SAS
Document: SAS 9.3 Functions and CALL Routines: Reference


ZVOLLIST(
category
, <
volume filter
>, <
option
>);
Returns a list of volume serial numbers.
Product: Base SAS
Document: SAS 9.3 Companion for z/OS
