On Sat, 14 Apr 2018 17:44:37 +1000, robi...@dodo.com.au wrote: >Since the object is to convert four decimal digits (range 0-9) >to EBCDIC, OC is sufficient.
It is? This thread started out about converting System Completion code to three characters representing hexadecimal, then diverged into a more general discussion of converting binary values into printable hex. I must have missed the part where it diverged to converting decimal digits to printable characters. For that, there is no need to OR anything but the last byte of the UNPKed data. -- Tom Marchant