you can use the HX command, like a shift ( ) or a I (insert) the result
is that one line in HEX format. I don't know what the reasoning is for
turning on HEX for one line but it is possible.
ISREDIT HX .ZCSR should work, I don't have time to test but the OP can
Carmen
On 9/2/2021 9:24 AM, Lionel B. Dyck wrote:
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 <[email protected]> On Behalf Of
Richards, Robert B. (CTR)
Sent: Thursday, September 2, 2021 7:50 AM
To: [email protected]
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 <[email protected]> On Behalf Of
Weizman arbel
Sent: Thursday, September 2, 2021 7:36 AM
To: [email protected]
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
[email protected] with the message: INFO IBM-MAIN
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to
[email protected] with the message: INFO IBM-MAIN
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN
--
/I am not bound to win, but I am bound to be true. I am not bound to
succeed, but I am bound to live by the light that I have. I must stand
with anybody that stands right, and stand with him while he is right,
and part with him when he goes wrong. *Abraham Lincoln*/
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN