I checked with development and the use of inherited data items as host variables in OpenESQL is not currently supported in the product.
I would suggest that you open up a support incident with Customer Care and add attn: Chris Glazier in the description then it will be assigned to me. I can then go ahead and create a bug report to see if we can get this problem addressed.
Thanks.