EBCDIC fixes from Karl Williamson (KHW++)