OLE/ActiveX defines a standard set of data types for all controls to make use of. The naming format in manuals and other forms of documentation is typically "VT_xxx".
The available OLE/ActiveX data types and their COBOL equivalents are as follows:
VT_I2 - S9(4) COMP-5
VT_I4 - S9(9) COMP-5
OLE_COLOR - S9(9) COMP-5
VT_BOOL - S9(4) COMP-5
VT_BSTR - X(8192) - maximum length
VT_CY - S9(14)V9(4)
VT_R4 - COMP-1
VT_R8 - COMP-2
VT_DISPATCH - OBJECT REFERENCE
OLE_???_CONTAINER- COMP-1
OLE_???_PIXELS - S9(9) COMP-5
OLE_???_HIMETRIC - S9(9) COMP-5
Note: VT_I2 can be set from -32768 to 32767, but VT_BOOL can only be set to 0 or -1.
??? Indicates XPOS, YPOS, XSIZE or YSIZE.