Data Conversion and Formatting
- ASCII(
)
- Converts EBCDIC representation of character string data to the equivalent
ASCII character code values.
- CHAR(
)
- Converts a numeric value to its ASCII character string equivalent.
- CHARS(
)
- Converts numeric elements of a dynamic array to their ASCII character
string equivalents.
- DTX(
)
- Converts a decimal integer into its hexadecimal equivalent.
- EBCDIC(
)
- Converts data from its ASCII representation to the equivalent code value
in EBCDIC.
- FIX(
)
- Rounds an expression to a decimal number having the accuracy specified
by the PRECISION statement.
- FMT(
)
- Converts data from its internal representation to a specified format for
output.
- FMTS(
)
- Converts elements of a dynamic array from their internal representation
to a specified format for output.
- ICONV(
)
- Converts data to internal storage format.
- ICONVS(
)
- Converts elements of a dynamic array to internal storage format.
- OCONV(
)
- Converts data from its internal representation to an external output format.
- OCONVS(
)
- Converts elements of a dynamic array from their internal representation
to an external output format.
- PRECISION
- Sets the maximum number of decimal places allowed in the conversion from
the internal binary format of a numeric value to the string representation.
- SEQ(
)
- Converts an ASCII character code value to its corresponding numeric value.
- SEQS(
)
- Converts each element of a dynamic array from an ASCII character code
to a corresponding numeric value.
- XTD(
)
- Converts a hexadecimal string into its decimal equivalent.