The GET DESCRIPTOR statement is used to retrieve information about a variable within a descriptor area, or to retrieve its
value.

The value { integer | hostvar } specifies the variable in the descriptor area about which the information is retrieved. Type checking is performed when
doing GET...DATA to ensure that the host variable and the descriptor variable have the same data type. LONG VARCHAR and LONG
BINARY are not supported by GET DESCRIPTOR...DATA.