I'll have to believe you didn't find it, but I've used edit line commands in macros, like insert, repeat,copy, delete, and assign a label to a line, range(s)

if I made an assumption HX is valid then that was a bad assumption


Carmen

On 9/9/2021 12:49 PM, Seymour J Metz wrote:
I checked Edit assignment statements" and "Chapter 11. Edit macro commands and 
assignment statements" in z/OS 2.4 ISPF Edit and Edit Macros,  SC19-3621-40, and couldn't 
find any way for an edit macro to issue a line command. What did you do with the variable CMD 
to treat its value as a line command?


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3

________________________________________
From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
Carmen Vitullo [cvitu...@hughes.net]
Sent: Thursday, September 9, 2021 11:35 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: ispf edit macro "HX" line command

IIRC yes, then followed by an ISREDIT command to issue the line command,
but again without testing and having the time to test I'm not 100% sure

I made an assumption the OP had an alternate solution.

Carmen


On 9/9/2021 10:12 AM, Seymour J Metz wrote:
ISREDIT (CMD) = 'HX'  should work -I've not tested
Doesn't that just set the variable CMD to the VALUE HX?


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3

________________________________________
From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
Carmen Vitullo [cvitu...@hughes.net]
Sent: Tuesday, September 7, 2021 10:12 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: ispf edit macro "HX" line command

Like I said I never used this line command, my syntax was not correct
but a quick check;

ISREDIT (CMD) = 'HX'  should work -I've not tested

you need to have the cursor positioned to where you need first.

I have some examples that position the cursor and perform some tasks but
none that would help you here

the IBM doc would be helpful for review

Carmen

On 9/5/2021 3:27 AM, Weizman arbel wrote:
I do not understand your response, you asked;
I asked about  line commnad

ISREDIT HX .ZCSR
There was a suggestion
and my response was
that is a line command And it does not work.
Sorry for the misunderstanding

I did not know the option
"quote original message"
and It's tapping me to comment





On Thu, 2 Sep 2021 10:55:00 -0500, Carmen Vitullo<cvitu...@hughes.net>  wrote:

I do not understand your response, you asked;

there is a way to execute  "HX"  line command
>from edit macro ?
ISREDIT HX .ZCSR

- is a line command

now you are asking command line ?
so
ISREDIT (CMD) - 'HEX'

Carmen

On 9/2/2021 10:14 AM, Weizman arbel wrote:
ISREDIT HX .ZCSR  should work

this is command line
and there is Does not exist HX in command line (the command is hex on / hex off)

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email tolists...@listserv.ua.edu  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 tolists...@listserv.ua.edu  with the message: INFO IBM-MAIN
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email tolists...@listserv.ua.edu  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 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

--
/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 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

--
/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 lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to