H5T_OPEN2 opens a committed datatype at the location specified by
loc_id and returns an identifier for the datatype.
loc_id is either a file or group identifier. The identifier should eventually be closed by calling H5T_CLOSE to release resources.
The committed datatype is opened with the datatype access property list