COBOL Manual for TNS/E Programs (H06.08+, J06.03+)

Table 98 Alphanumeric Intrinsic Functions (continued)
Value ReturnedFunction Name
Its argument with all letters set to uppercaseUPPER-CASE Function
Date and time when program was compiledWHEN-COMPILED Function
Numeric Intrinsic Functions
A numeric intrinsic function returns a numeric value.
Table 99 Numeric Intrinsic Functions
Value ReturnedFunction Name
Arccosine of argumentACOS Function
Ratio of annuity paid for a specified number of periods at
a specified interest rate to initial investment of one
ANNUITY Function
Arcsine of argumentASIN Function
Arctangent of argumentATAN Function
Cosine of argumentCOS Function
Natural logarithm of argumentLOG Function
Logarithm to base 10 of argumentLOG10 Function
Arithmetic mean of argumentsMEAN Function
Median of argumentsMEDIAN Function
Midrange of argumentsMIDRANGE Function
Numeric value of simple numeric stringNUMVAL Function
Numeric value of numeric string with optional commas and
currency sign
NUMVAL-C Function
Present value of a specified series of future period-end
amounts at a specified discount rate
PRESENT-VALUE Function
Pseudorandom numberRANDOM Function
Remainder when one argument is divided by the otherREM Function
Sine of argumentSIN Function
Square root of argumentSQRT Function
Standard deviation of argumentsSTANDARD-DEVIATION Function
Tangent of argumentTAN Function
Variance of argumentsVARIANCE Function
Integer Intrinsic Functions
An integer intrinsic function returns an integer value.
Table 100 Integer Intrinsic Functions
Value ReturnedFunction Name
Standard date equivalent of integer date (YYYYMMDD )*DATE-OF-INTEGER Function
Julian date equivalent of integer date (YYYYDDD )*DAY-OF-INTEGER Function
Factorial of argumentFACTORIAL Function
656 Intrinsic Functions