1. Find many more at website: www.go4as400.com
A programming guide to learn AS400
Build in function in ILE
%ABS - Absolute Value of Expression
%CHAR - Convert to Character Data
%CHECK - Check Characters
%CHECKR - Check Reverse
%DATE - Convert to Date
%DAYS - Number of Days
%DEC - Convert to Packed Decimal Format
%DECH - Convert to Packed Decimal Format with Half Adjust
%DIFF - Difference Between Two Date, Time, or Timestamp Values
%EDITC - Edit Value Using an Editcode
%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
%FOUND - Return Found Condition
%HOURS - Number of Hours
%INT - Convert to Integer Format
%INTH - Convert to Integer Format with Half Adjust
%LEN- Get or Set Length
%LOOKUPxx - Look Up an Array Element
%MINUTES - Number of Minutes
2. %MONTHS - Number of Months
%MSECONDS - Number of Microseconds
%OCCUR- Set/Get Occurrence of a Data Structure
%OPEN - Return File Open Condition
%PARMS- Return Number of Parameters
%REPLACE - Replace Character String
%SCAN - Scan for Characters
%SECONDS - Number of Seconds
%SIZE - Get Size in Bytes
%STATUS - Return File or Program Status
%STR- Get or Store Null-Terminated String
%SUBST - Get Substring
%TIME - Convert to Time
%TIMESTAMP - Convert to Timestamp
%TRIM - Trim Blanks at Edges
%TRIML - Trim Leading Blanks
%TRIMR - Trim Trailing Blanks
%XFOOT- Sum Array Expression Elements
%XLATE- Translate
%YEARS- Number of Years
Find many more at website: www.go4as400.com
A programming guide to learn AS400