An alternative approach which may sometimes be of use (e.g. if you aren't using the ISPF editor) is the following:
&SO SETC (BYTE 14) &SI SETC (BYTE 15) DBCST DC G'&SO.D1D2D3D4&SI.' which avoids the need to flip hex modes. As an aside, it was only relatively recently I stumbled upon the ISPF editor HX line command (as opposed to the HEX primary command). It's amazing how much there is still to learn even after 25+ years! Jed
