RETURN-VALUE-DATA-TYPE attribute When you dynamically invoke a user-defined function, get an attribute, or run a method, RETURN-VALUE-DATA-TYPE lets you do one of the following to the return value: Detect its data type Cause it to be converted to a different data type If you set RETURN-VALUE-DATA-TYPE to a data type other than the expected data type before executing the dynamic invoke, the value returned is automatically converted to that data type. Otherwise, when the dynamic invoke returns, RETURN-VALUE-DATA-TYPE indicates the data type of the value returned. Data type: CHARACTER Access: Readable/Writable Applies to: Call object handle Syntax RETURN-VALUE-DATA-TYPE [ = datatype ] datatype A character expression equal to one of the following: "CHARACTER" "DATE" "DATETIME" "DATETIME-TZ" "DECIMAL" "HANDLE" "INT64" "INTEGER" "LOGICAL" "RAW" Unknown value (?) The default is the Unknown value (?).
RETURN-VALUE-DATA-TYPE [ = datatype ]