6.8.62 DMcob_ValueGetType

This function queries the data type of a value managed by the IDM.

77 AnyValue pointer  value  null.
77 Type     pic 9(4) binary value 0.

call "DMcob_ValueType" using
            DM-StdArgs
            AnyValue
            Type.

Parameters

<-> DM-options of DM-StdArgs

Unused, has to be 0.

-> AnyValue

Handle of the Managed Value.

<- Type

Data type of the Managed Value.

Return value

DM-status of DM-StdArgs

DM-error

The data type could not be determined. This may be due to a faulty call or an unmanaged or invalid value reference.

DM-success

Querying the data type has been successful.

Availability

COBOL Interface for Micro Focus Visual COBOL only.

See also

Chapter “Using the anyvalue Data Type”