convert Logical to use new XER use of Data()