Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Determining the data type of an expression - &DATATYPE z/OS TSO/E CLISTs SA32-0978-00 |
|
Use the &DATATYPE built-in function to determine what type
of data an evaluated expression contains. After evaluating the expression,
a CLIST replaces this built-in function with one of the following
strings: CHAR, NUM, DBCS, or MIXED. The strings indicate the following:
The following examples show the evaluations of various expressions:
For example, the following clause evaluates as true:
The following examples use the convention d1d2 to represent
two DBCS characters and < and > to represent the shift-out and
shift-in delimiters (X'0E' and X'0F') that mark
the beginning and end of the DBCS string.
For example, the following clauses evaluate as true:
|
Copyright IBM Corporation 1990, 2014
|