CAS Functions Listed by Category

CAS

B C F G M S U

Name
Syntax and Description
BLACKPTPRC(E, t, F, r, sigma)
Calculates put prices for European options on futures, based on the Black model.
Product: Base SAS
Document: SAS Cloud Analytic Services: CASL Reference
BLKSHCLPRC(E, t, S, r, sigma)
Calculates call prices for European options on stocks, based on the Black-Scholes model.
Product: Base SAS
Document: SAS Cloud Analytic Services: CASL Reference
COMPOUND(a, f, r, n)
Returns compound interest parameters.
Product: Base SAS
Document: SAS Cloud Analytic Services: CASL Reference
FUZZ(expression)
Returns the nearest whole number if the argument is within 1E-12 of that number.
Product: Base SAS
Document: SAS Cloud Analytic Services: CASL Reference
GARKHCLPRC(E, t, S, Rd, Rf, sigma)
Calculates call prices for European options on stocks, based on the Garman-Kohlhagen model.
Product: Base SAS
Document: SAS Cloud Analytic Services: CASL Reference
MEDIAN(expression-1<, ...expression-n >)
Returns the median value.
Product: Base SAS
Document: SAS Cloud Analytic Services: CASL Reference
SMALLEST(k, expression <, ...expression>)
Returns the kth smallest non-null or nonmissing value.
Product: Base SAS
Document: SAS Cloud Analytic Services: CASL Reference
STDERR(expression-1, expression-2 <, ...expression-n>)
Returns the standard error of the mean.
Product: Base SAS
Document: SAS Cloud Analytic Services: CASL Reference
Returns a random variate from a uniform distribution.
Product: Base SAS
Document: SAS Cloud Analytic Services: CASL Reference

Character

Name
Syntax and Description
CAT(item-1<, ...item-n>)
Does not remove leading or trailing blanks, and returns a concatenated character string.
Product: Base SAS
Document: SAS Cloud Analytic Services: CASL Reference

Control

Name
Syntax and Description
SLEEP (<value>);
Sleep in the operating system (OS) for the number of seconds specified.
Product: Base SAS
Document: SAS Cloud Analytic Services: CASL Reference

Descriptive Statistics

Name
Syntax and Description
SMALLEST(k, expression <, ...expression>)
Returns the kth smallest non-null or nonmissing value.
Product: Base SAS
Document: SAS Cloud Analytic Services: CASL Reference
STDERR(expression-1, expression-2 <, ...expression-n>)
Returns the standard error of the mean.
Product: Base SAS
Document: SAS Cloud Analytic Services: CASL Reference

Financial

B C G

Name
Syntax and Description
BLACKPTPRC(E, t, F, r, sigma)
Calculates put prices for European options on futures, based on the Black model.
Product: Base SAS
Document: SAS Cloud Analytic Services: CASL Reference
BLKSHCLPRC(E, t, S, r, sigma)
Calculates call prices for European options on stocks, based on the Black-Scholes model.
Product: Base SAS
Document: SAS Cloud Analytic Services: CASL Reference
COMPOUND(a, f, r, n)
Returns compound interest parameters.
Product: Base SAS
Document: SAS Cloud Analytic Services: CASL Reference
GARKHCLPRC(E, t, S, Rd, Rf, sigma)
Calculates call prices for European options on stocks, based on the Garman-Kohlhagen model.
Product: Base SAS
Document: SAS Cloud Analytic Services: CASL Reference

Random Number

Name
Syntax and Description
Returns a random variate from a uniform distribution.
Product: Base SAS
Document: SAS Cloud Analytic Services: CASL Reference

Status

Name
Syntax and Description
SLEEP (<value>);
Sleep in the operating system (OS) for the number of seconds specified.
Product: Base SAS
Document: SAS Cloud Analytic Services: CASL Reference

Truncation

Name
Syntax and Description
FUZZ(expression)
Returns the nearest whole number if the argument is within 1E-12 of that number.
Product: Base SAS
Document: SAS Cloud Analytic Services: CASL Reference
Last updated: October 14, 2026