CALL Routines Listed Alphabetically

A C D E F G I K L M P R S T V Z

Name
Syntax and Description
CALL ADDMATRIX(X, Y, Z);
Performs an elementwise addition of two matrices or a matrix and a scalar.
Product: Base SAS
Document: Base SAS Procedures Guide
CALL ALLCOMB(count, k, variable-1, ..., variable-n);
Generates all combinations of the values of n variables taken k at a time in a minimal change order.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
CALL ALLCOMBI(n, k, index-1, …, index-k, <, index-added, index-removed>);
Generates all combinations of the indices of n objects taken k at a time in a minimal change order.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
CALL ALLPERM(count, variable-1 <, variable-2 ... variable-n>);
Generates all permutations of the values of several variables in a minimal change order.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
CALL CATS(result <, item-1, …, item-n>);
Removes leading and trailing blanks, and returns a concatenated character string.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
CALL CATT(result <, item-1, …, item-n>);
Removes trailing blanks and returns a concatenated character string.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
CALL CATX(delimiter, result <, item-1, …, item-n>);
Removes leading and trailing blanks, inserts delimiters, and returns a concatenated character string.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
CALL CHOL(X, Y <, validate>);
Calculates the Cholesky decomposition for a given symmetric matrix.
Product: Base SAS
Document: Base SAS Procedures Guide
CALL COMPCOST(operation-1, value-1 <, operation-2, value-2operation-n, value-n>);
Sets the costs of operations for later use by the COMPGED function
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
CALL DET(X, a);
Calculates the determinant of a specified matrix that should be square.
Product: Base SAS
Document: Base SAS Procedures Guide
CALL DQPARSE(character-value, parse-definition, 'parse-result, parse-return-code
<,'locale'>);
Returns a delimited string of parse token values and a status flag.
Product: SAS Data Quality Server
Document: SAS Data Quality and SAS Data Quality Server: Language Reference
CALL DQSCHEMEAPPLY('character-value', 'output-variable', 'scheme', 'scheme-format '
<,mode> <, 'transform-count-variable'> <,'scheme-lookup-method'>
<,match-definition> <,sensitivity> <, 'locale'>);
Applies a scheme and returns a transformed value and a transformation flag.
Product: SAS Data Quality Server
Document: SAS Data Quality and SAS Data Quality Server: Language Reference
CALL DYNAMIC_ARRAY(array–name, new-dimension1–size <, new-dimension2–size, ...>);
Enables an array that is declared within a function to change size in an efficient manner.
Product: Base SAS
Document: Base SAS Procedures Guide
CALL ELEMMULT(X, Y, Z);
Performs an elementwise multiplication of two matrices.
Product: Base SAS
Document: Base SAS Procedures Guide
CALL EXECUTE(argument);
Resolves the argument, and issues the resolved value for execution at the next step boundary.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
CALL EXECUTE(argument);
Resolves the argument, and issues the resolved value for execution at the next step boundary.
Product: Base SAS
Document: SAS Macro Language: Reference
CALL EXPMATRIX(X, t, Y);
Returns a matrix etA given the input matrix A and a multiplier t.
Product: Base SAS
Document: Base SAS Procedures Guide
CALL FILLMATRIX(X, Y);
Replaces all of the element values of the input matrix with the specified value.
Product: Base SAS
Document: Base SAS Procedures Guide
CALL GRAYCODE(k, numeric-variable-1, ..., numeric-variable-n);
CALL GRAYCODE(k, character-variable <, n <, in-out> >);
Generates all subsets of n items in a minimal change order.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
CALL IDENTITY(X);
Converts the input matrix to an identity matrix.
Product: Base SAS
Document: Base SAS Procedures Guide
CALL INV(X, Y);
Calculates a matrix that is the inverse of the provided input matrix that should be a square, non-singular matrix.
Product: Base SAS
Document: Base SAS Procedures Guide
CALL IS8601_CONVERT(convert-from, convert-to, <from-variables>, <to-variables>,
<date-time-replacements>);
Converts an ISO 8601 interval to datetime and duration values, or converts datetime and duration values to an ISO 8601 interval.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
CALL KSCANX(<string>, count, position, length,<character-list>,<modifier(s))>;
Returns the position and length of the nth word from a character string.
Product: Base SAS
Document: SAS National Language Support (NLS): Reference Guide
CALL LABEL(variable-1, variable-2);
Assigns a variable label to a specified character variable.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
CALL LEXCOMB(count, k, variable-1, …, variable-n);
Generates all distinct combinations of the nonmissing values of n variables taken k at a time in lexicographic order.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
CALL LEXCOMBI(n, k, index-1, …, index-k);
Generates all combinations of the indices of n objects taken k at a time in lexicographic order.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
CALL LEXPERK(count, k, variable-1, …, variable-n);
Generates all distinct permutations of the nonmissing values of n variables taken k at a time in lexicographic order.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
CALL LEXPERM(count, variable-1 <, …, variable-N>);
Generates all distinct permutations of the nonmissing values of several variables in lexicographic order.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
CALL LOGISTIC(argument<, argument–1, ... argument-n>);
Applies the logistic function to each argument.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
CALL MISSING(variable-name-1 <, variable-name-2, ... variable-name-n>);
Assigns missing values to the specified character or numeric variables.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
CALL MODULE(<control>, module, argument-1, argument-2 ..., argument-n);
number=MODULEN(<control>, module, argument-1, argument-2 ..., argument-n);
character=MODULEC(<control>, module, argument-1 ..., argument-2, argument-n);
CALL MODULEI(<control>, module, argument-1, argument-2 ..., argument-n);
number=MODULEIN(<control>, module, argument-1, argument-2 ..., argument-n);
character=MODULEIC(<control>, module, argument-1, argument-2 ..., argument-n);
Calls an external routine without any return code.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
CALL MULT(X, Y, Z);
Calculates the multiplicative product of two input matrices.
Product: Base SAS
Document: Base SAS Procedures Guide
CALL POKELONG(source, pointer <, length> <, floating-point>);
Writes a value directly into memory on a 64-bit platform.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
CALL POWER(X, a, Y);
Raises a square matrix to a given scalar value.
Product: Base SAS
Document: Base SAS Procedures Guide
CALL PRXCHANGE(regular-expression-id, times, old-string <, new-string <, result-length
<, truncation-value <, number-of-changes> > >
>
);
Performs a pattern-matching replacement.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
CALL PRXDEBUG(on-off);
Enables Perl regular expressions in a DATA step to send debugging output to the SAS log.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
CALL PRXFREE(regular-expression-id);
Frees memory that was allocated for a Perl regular expression.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
CALL PRXNEXT(regular-expression-id, start, stop, source, position, length);
Returns the position and length of a substring that matches a pattern and iterates over multiple matches within one string.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
CALL PRXPOSN(regular-expression-id, capture-buffer, start <, length>);
Returns the start position and length for a capture buffer.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
CALL PRXSUBSTR(regular-expression-id, source, position <, length>);
Returns the position and length of a substring that matches a pattern.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
CALL RANBIN(seed, n, p, x);
Returns a random variate from a binomial distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
CALL RANCAU(seed, x);
Returns a random variate from a Cauchy distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
CALL RANCOMB(seed, k, variable-1 <, variable-2, ..., variable-n>);
Permutes the values of the arguments and returns a random combination of k out of n values.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
CALL RANDPERM(variable-1, <variable-2..., variable-n)>;
Randomly permutes the values of the arguments.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
CALL RANEXP(seed, x);
Returns a random variate from an exponential distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
CALL RANGAM(seed, a, x);
Returns a random variate from a gamma distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
CALL RANNOR(seed, x);
Returns a random variate from a normal distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
CALL RANPERK(seed, k, variable-1 <, variable-2, ..., variable-n>);
Permutes the values of the arguments and returns a random permutation of k out of n values.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
CALL RANPERM(seed, variable-1 <, variable-2, ..., variable-n>);
Randomly permutes the values of the arguments.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
CALL RANPOI(seed, m, x);
Returns a random variate from a Poisson distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
CALL RANTBL(seed, p1, ...pi, ...pn, x);
Returns a random variate from a tabled probability distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
CALL RANTRI(seed, h, x);
Returns a random variate from a triangular distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
CALL RANUNI(seed, x);
Returns a random variate from a uniform distribution.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
CALL SCAN(<string>, count, position, length <, <character-list> <, <modifier(s)>>>);
Returns the position and length of the nth word from a character string.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
CALL SET(data-set-id);
Links SAS data set variables to DATA step or macro variables that have the same name and data type.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
CALL SETNULL(pointer-element);
Sets a pointer element of a structure to null.
Product: Base SAS
Document: Base SAS Procedures Guide
CALL SLEEP(n <, unit>);
For a specified period of time, suspends the execution of a program that invokes this CALL routine.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
CALL SOFTMAX(argument <,argument, …, argument-n>);
Returns the softmax value.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
CALL SORT(variable)
Sorts the variable values.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
CALL SORTC(variable-1 <, …, variable-n>);
Sorts the values of character arguments.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
CALL SORTN(variable-1 <, …, variable-n>);
Sorts the values of numeric arguments.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
CALL STDIZE(<option-1, option-2, …, option-n> variable-1 <,variable-2, …, variable-n>);
Standardizes the values of one or more variables.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
CALL STREAM(key);
Specifies a random-number stream to use for subsequent calls to the RAND function.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
CALL STREAMINIT<(RNG)>;
CALL STREAMINIT <(seed)>;
CALL STREAMINIT <(RNG,seed)>;
Specifies a random-number generator and seed value for generating random numbers.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
CALL STREAMREWIND;
CALL STREAMREWIND<(key)>;
Rewinds a stream to its initial state for subsequent random-number generation.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
CALL STRUCTINDEX(structure-array, index, structure-element);
Enables you to access each structure element in an array of structures.
Product: Base SAS
Document: Base SAS Procedures Guide
CALL SUBTRACTMATRIX(X, Y, Z);
Performs an element-wide subtraction of two matrices or a matrix and a scalar.
Product: Base SAS
Document: Base SAS Procedures Guide
CALL SYMDEL(macro-variable<, option>);
Deletes the specified variable from the macro global symbol table.
Product: Base SAS
Document: SAS Macro Language: Reference
CALL SYMPUT(macro-variable, value);
Assigns a value produced in a DATA step to a macro variable.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
CALL SYMPUT(macro-variable, value);
Assigns a value produced in a DATA step to a macro variable.
Product: Base SAS
Document: SAS Macro Language: Reference
CALL SYMPUTN('macro-variable', value);
In SCL programs, assigns a numeric value to a global macro variable.
Product: Base SAS
Document: SAS Macro Language: Reference
CALL SYMPUTX(macro-variable, value <, symbol-table>);
Assigns a value to a macro variable, and removes both leading and trailing blanks.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
CALL SYMPUTX(macro-variable, value <, symbol-table>);
Assigns a value to a macro variable, and removes both leading and trailing blanks.
Product: Base SAS
Document: SAS Macro Language: Reference
CALL SYSTEM(command);
Submits an operating environment command for execution.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
CALL TANH(argument <, argument, ..., argument-n>);
Returns the hyperbolic tangent.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
CALL TRANSPOSE(X, Y);
Returns the transpose of a matrix.
Product: Base SAS
Document: Base SAS Procedures Guide
CALL VNAME(variable-1, variable-2);
Assigns a variable name as the value of a specified variable.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
CALL VNEXT(variable-name <, variable-type <, variable-length> >);
Returns the name, type, and length of a variable that is used in a DATA step.
Product: Base SAS
Document: SAS Functions and CALL Routines: Reference
CALL ZEROMATRIX(X);
Replaces all of the element values of the numeric input matrix with 0.
Product: Base SAS
Document: Base SAS Procedures Guide
Last updated: November 17, 2025