Dump Copybook
require('Debug','hbutils'); DEBUG.setDumpWidth(16); // replace COPYBOOK with actual copybook variable name writeln(DEBUG.toHexDump(COPYBOOK.buffer.toString()));