You can turn HEX ON or OFF in an Edit macro but you can't do it for a specific record. You can do it yourself in your edit macro and insert the hex info as a note or message line below the real record.
I cobbled this together - it is a quick/dirty example of an edit command that will add message lines below the request line with the hex values in a vertical format: /* rexx */ Address ISREdit 'Macro (line)' '(data) = line' line hex = c2x(data) parse value '' with hextop hexbot do i = 1 to length(hex) by 2 hextop = hextop''substr(hex,i,1) hexbot = hexbot''substr(hex,i+1,1) end 'line_after' line '= infoline (hexbot)' 'line_after' line '= infoline (hextop)' The results of using it with EHEX 3 - I named my test macro ehex 😊 000003 'Macro (line)' ====== 447D88994498985744444444444444444444444 ====== 00D413960D3955DD00000000000000000000000 000004 '(data) = line' line 000005 hex = c2x(data) Hope this helps Lionel B. Dyck <>< Website: https://www.lbdsoftware.com Github: https://github.com/lbdyck “Worry more about your character than your reputation. Character is what you are, reputation merely what others think you are.” - - - John Wooden -----Original Message----- From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of Richards, Robert B. (CTR) Sent: Thursday, September 2, 2021 7:50 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: ispf edit macro "HX" line command Can you tell us what you are trying to accomplish? That may help us determine if HX is the best way or the use of HEX ON and proceeding to use ISREDIT commands from there. Bob -----Original Message----- From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of Weizman arbel Sent: Thursday, September 2, 2021 7:36 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: ispf edit macro "HX" line command hi, there is a way to execute "HX" line command from edit macro ? ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN