Conversion Operations
The following built-in functions perform conversion operations:
- %CHAR (Convert to Character Data)
- %DEC (Convert to Packed Decimal Format)
- %DECH (Convert to Packed Decimal Format with Half Adjust)
- %EDITC (Edit Value Using an Editcode)
- %EDITFLT (Convert to Float External Representation)
- %EDITW (Edit Value Using an Editword)
- %FLOAT (Convert to Floating Format)
- %GRAPH (Convert to Graphic Value)
- %INT (Convert to Integer Format)
- %INTH (Convert to Integer Format with Half Adjust)
- %UCS2 (Convert to UCS-2 Value)
- %UNS (Convert to Unsigned Format)
- %UNSH (Convert to Unsigned Format with Half Adjust)
These built-in functions are available in both the traditional syntax and free-form syntax.
The traditional MOVE and MOVEL operation codes perform conversions
when factor 2 and the result field have different types. See: