Built-in Functions
The built-in functions are:
- %ABS (Absolute Value of Expression)
- %ADDR (Get Address of Variable)
- %ALLOC (Allocate Storage)
- %BITAND (Bitwise AND Operation)
- %BITNOT (Invert Bits)
- %BITOR (Bitwise OR Operation)
- %BITXOR (Bitwise Exclusive-OR Operation)
- %CHAR (Convert to Character Data)
- %CHECK (Check Characters)
- %CHECKR (Check Reverse)
- %DATA (document {:options})
- %DATE (Convert to Date)
- %DAYS (Number of Days)
- %DEC (Convert to Packed Decimal Format)
- %DECH (Convert to Packed Decimal Format with Half Adjust)
- %DECPOS (Get Number of Decimal Positions)
- %DIFF (Difference Between Two Date, Time, or Timestamp Values)
- %DIV (Return Integer Portion of Quotient)
- %EDITC (Edit Value Using an Editcode)
- %EDITFLT (Convert to Float External Representation)
- %EDITW (Edit Value Using an Editword)
- %ELEM (Get Number of Elements)
- %EOF (Return End or Beginning of File Condition)
- %EQUAL (Return Exact Match Condition)
- %ERROR (Return Error Condition)
- %FIELDS
- %FLOAT (Convert to Floating Format)
- %FOUND (Return Found Condition)
- %GRAPH (Convert to Graphic Value)
- %HANDLER (handlingProcedure : communicationArea )
- %HOURS (Number of Hours)
- %INT (Convert to Integer Format)
- %INTH (Convert to Integer Format with Half Adjust)
- %KDS (Search Arguments in Data Structure)
- %LEN (Get or Set Length)
- %LOOKUPxx (Look Up an Array Element)
- %LOWER (Convert to Lower Case)
- %MAX (Maximum Value)
- %MAXARR (Maximum Element in an Array)
- %MIN (Minimum Value)
- %MINUTES (Number of Minutes)
- %MINARR (Minimum Element in an Array)
- %MONTHS (Number of Months)
- %MSECONDS (Number of Microseconds)
- %MSG (message-id : message-file { : replacement-text } )
- %NULLIND (Query or Set Null Indicator)
- %OCCUR (Set/Get Occurrence of a Data Structure)
- %OPEN (Return File Open Condition)
- %PADDR (Get Procedure Address)
- %PARMS (Return Number of Parameters)
- %PARMNUM (Return Parameter Number)
- %PARSER (parser {: options})
- %PROC (Return Name of Current Procedure)
- %REALLOC (Reallocate Storage)
- %REM (Return Integer Remainder)
- %REPLACE (Replace Character String)
- %SCAN (Scan for Characters)
- %SCANR (Scan Reverse for Characters)
- %SCANRPL (Scan and Replace Characters)
- %SECONDS (Number of Seconds)
- %SHTDN (Shut Down)
- %SIZE (Get Size in Bytes)
- %SPLIT (Split String into Substrings)
- %SQRT (Square Root of Expression)
- %STATUS (Return File or Program Status)
- %STR (Get or Store Null-Terminated String)
- %SUBARR (Set/Get Portion of an Array)
- %SUBDT (Extract a Portion of a Date, Time, or Timestamp)
- %SUBST (Get Substring)
- %TARGET (program-or-procedure { : offset } )
- %THIS (Return Class Instance for Native Method)
- %TIME (Convert to Time)
- %TIMESTAMP (Convert to Timestamp)
- %TLOOKUPxx (Look Up a Table Element)
- %TRIM (Trim Characters at Edges)
- %TRIML (Trim Leading Characters)
- %TRIMR (Trim Trailing Characters)
- %UCS2 (Convert to UCS-2 Value)
- %UNS (Convert to Unsigned Format)
- %UNSH (Convert to Unsigned Format with Half Adjust)
- %UPPER (Convert to Upper Case)
- %XFOOT (Sum Array Expression Elements)
- %XLATE (Translate)
- %XML (xmlDocument {:options})
- %YEARS (Number of Years)