.. |_| unicode:: 0xA0 :trim: .. role:: small-caps :class: small-caps .. include:: .. index:: single:Intrinsic Functions Intrinsic Functions =================== The following list of intrinsic functions was extracted from \ :code:`cobc --list-intrinsics`\ and shows the names of the available functions, an implementation note and the number of parameters. * Intrinsic Function Implemented * \ :code:`ABS`\ Yes 1 * \ :code:`ACOS`\ Yes 1 * \ :code:`ANNUITY`\ Yes 2 * \ :code:`ASIN`\ Yes 1 * \ :code:`ATAN`\ Yes 1 * \ :code:`BASECONVERT`\ No 3 * \ :code:`BIT-OF`\ Yes 1 * \ :code:`BIT-TO-CHAR`\ Yes 1 * \ :code:`BOOLEAN-OF-INTEGER`\ No 2 * \ :code:`BYTE-LENGTH`\ Yes 1 * \ :code:`CHAR`\ Yes 1 * \ :code:`CHAR-NATIONAL`\ No 1 * \ :code:`COMBINED-DATETIME`\ Yes 2 * \ :code:`CONCAT`\ Yes Unlimited * \ :code:`CONCATENATE`\ Yes Unlimited * \ :code:`CONTENT-LENGTH`\ Yes 1 * \ :code:`CONTENT-OF`\ Yes 1 * \ :code:`CONVERT`\ No 3 * \ :code:`COS`\ Yes 1 * \ :code:`CURRENCY-SYMBOL`\ Yes 0 * \ :code:`CURRENT-DATE`\ Yes 0 * \ :code:`DATE-OF-INTEGER`\ Yes 1 * \ :code:`DATE-TO-YYYYMMDD`\ Yes 1 * \ :code:`DAY-OF-INTEGER`\ Yes 1 * \ :code:`DAY-TO-YYYYDDD`\ Yes 1 * \ :code:`DISPLAY-OF`\ No 1 * \ :code:`E`\ Yes 0 * \ :code:`EXCEPTION-FILE`\ Yes 0 * \ :code:`EXCEPTION-FILE-N`\ No 0 * \ :code:`EXCEPTION-LOCATION`\ Yes 0 * \ :code:`EXCEPTION-LOCATION-N`\ No 0 * \ :code:`EXCEPTION-STATEMENT`\ Yes 0 * \ :code:`EXCEPTION-STATUS`\ Yes 0 * \ :code:`EXP`\ Yes 1 * \ :code:`EXP10`\ Yes 1 * \ :code:`FACTORIAL`\ Yes 1 * \ :code:`FIND-STRING`\ No 7 * \ :code:`FORMATTED-CURRENT-DATE`\ Yes 1 * \ :code:`FORMATTED-DATE`\ Yes 2 * \ :code:`FORMATTED-DATETIME`\ Yes 4 * \ :code:`FORMATTED-TIME`\ Yes 3 * \ :code:`FRACTION-PART`\ Yes 1 * \ :code:`HEX-OF`\ Yes 1 * \ :code:`HEX-TO-CHAR`\ Yes 1 * \ :code:`HIGHEST-ALGEBRAIC`\ Yes 1 * \ :code:`INTEGER`\ Yes 1 * \ :code:`INTEGER-OF-BOOLEAN`\ No 1 * \ :code:`INTEGER-OF-DATE`\ Yes 1 * \ :code:`INTEGER-OF-DAY`\ Yes 1 * \ :code:`INTEGER-OF-FORMATTED-DATE`\ Yes 2 * \ :code:`INTEGER-PART`\ Yes 1 * \ :code:`LENGTH`\ Yes 1 * \ :code:`LENGTH-AN`\ Yes 1 * \ :code:`LOCALE-COMPARE`\ Yes 2 * \ :code:`LOCALE-DATE`\ Yes 1 * \ :code:`LOCALE-TIME`\ Yes 1 * \ :code:`LOCALE-TIME-FROM-SECONDS`\ Yes 1 * \ :code:`LOG`\ Yes 1 * \ :code:`LOG10`\ Yes 1 * \ :code:`LOWER-CASE`\ Yes 1 * \ :code:`LOWEST-ALGEBRAIC`\ Yes 1 * \ :code:`MAX`\ Yes Unlimited * \ :code:`MEAN`\ Yes Unlimited * \ :code:`MEDIAN`\ Yes Unlimited * \ :code:`MIDRANGE`\ Yes Unlimited * \ :code:`MIN`\ Yes Unlimited * \ :code:`MOD`\ Yes 2 * \ :code:`MODULE-CALLER-ID`\ Yes 0 * \ :code:`MODULE-DATE`\ Yes 0 * \ :code:`MODULE-FORMATTED-DATE`\ Yes 0 * \ :code:`MODULE-ID`\ Yes 0 * \ :code:`MODULE-NAME`\ No 1 * \ :code:`MODULE-PATH`\ Yes 0 * \ :code:`MODULE-SOURCE`\ Yes 0 * \ :code:`MODULE-TIME`\ Yes 0 * \ :code:`MONETARY-DECIMAL-POINT`\ Yes 0 * \ :code:`MONETARY-THOUSANDS-SEPARATOR`\ Yes 0 * \ :code:`NATIONAL-OF`\ No 1 * \ :code:`NUMERIC-DECIMAL-POINT`\ Yes 0 * \ :code:`NUMERIC-THOUSANDS-SEPARATOR`\ Yes 0 * \ :code:`NUMVAL`\ Yes 1 * \ :code:`NUMVAL-C`\ Yes 2 * \ :code:`NUMVAL-F`\ Yes 1 * \ :code:`ORD`\ Yes 1 * \ :code:`ORD-MAX`\ Yes Unlimited * \ :code:`ORD-MIN`\ Yes Unlimited * \ :code:`PI`\ Yes 0 * \ :code:`PRESENT-VALUE`\ Yes Unlimited * \ :code:`RANDOM`\ Yes 0 * \ :code:`RANGE`\ Yes Unlimited * \ :code:`REM`\ Yes 2 * \ :code:`REVERSE`\ Yes 1 * \ :code:`SECONDS-FROM-FORMATTED-TIME`\ Yes 2 * \ :code:`SECONDS-PAST-MIDNIGHT`\ Yes 0 * \ :code:`SIGN`\ Yes 1 * \ :code:`SIN`\ Yes 1 * \ :code:`SQRT`\ Yes 1 * \ :code:`STANDARD-COMPARE`\ No 2 * \ :code:`STANDARD-DEVIATION`\ Yes Unlimited * \ :code:`STORED-CHAR-LENGTH`\ Yes 1 * \ :code:`SUBSTITUTE`\ Yes Unlimited * \ :code:`SUBSTITUTE-CASE`\ Yes Unlimited * \ :code:`SUM`\ Yes Unlimited * \ :code:`TAN`\ Yes 1 * \ :code:`TEST-DATE-YYYYMMDD`\ Yes 1 * \ :code:`TEST-DAY-YYYYDDD`\ Yes 1 * \ :code:`TEST-FORMATTED-DATETIME`\ Yes 2 * \ :code:`TEST-NUMVAL`\ Yes 1 * \ :code:`TEST-NUMVAL-C`\ Yes 2 * \ :code:`TEST-NUMVAL-F`\ Yes 1 * \ :code:`TRIM`\ Yes 1 * \ :code:`UPPER-CASE`\ Yes 1 * \ :code:`VARIANCE`\ Yes Unlimited * \ :code:`WHEN-COMPILED`\ Yes 0 * \ :code:`YEAR-TO-YYYY`\ Yes 1 .. _AppendixAD: