Re: Clist question - edit macro

2022-09-21 Thread Shaffer, Terri
Thanks.  But I didn’t want to re-event the process wheel.

After many internet searches, I found an example to do it.

ISREDIT (ROW,COL) = CURSOR
ISREDIT (DDATA) = LINE 
SET CUSER = (+9:+17,())
ISREDIT CHANGE <>  FIRST


Ms Terri E Shaffer
Senior Systems Engineer,
z/OS Support:
ACIWorldwide – Telecommuter
H(412-766-2697) C(412-519-2592)
terri.shaf...@aciworldwide.com

-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of 
Paul Gilmartin
Sent: Wednesday, September 21, 2022 10:54 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Clist question - edit macro

EXTERNAL EMAIL: Do not click links or open attachments unless you know the 
content is safe.


On Wed, 21 Sep 2022 13:04:37 +, Shaffer, Terri wrote:
>
>  So I need to change an edit macro to add a function, and most I have figured 
> reading the RTFM, except for this one, if its possible.
>
>If this was REXX, and not in a MACRO, I have done this 100 times, 
>however.
>
Rather than CLIST could you write your MACRO inREXX, which is well supported 
for that purpose?  I realize there are environmental constraints:
existing code base, company policy, etc.

--
gil

--
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN

 [https://go.aciworldwide.com/rs/030-ROK-804/images/aci-footer.jpg] 
<http://www.aciworldwide.com>
This email message and any attachments may contain confidential, proprietary or 
non-public information. The information is intended solely for the designated 
recipient(s). If an addressing or transmission error has misdirected this 
email, please notify the sender immediately and destroy this email. Any review, 
dissemination, use or reliance upon this information by unintended recipients 
is prohibited. Any opinions expressed in this email are those of the author 
personally.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Clist question - edit macro

2022-09-21 Thread Paul Gilmartin
On Wed, 21 Sep 2022 13:04:37 +, Shaffer, Terri wrote:
>
>  So I need to change an edit macro to add a function, and most I have figured 
> reading the RTFM, except for this one, if its possible.
>
>If this was REXX, and not in a MACRO, I have done this 100 times, 
>however.
>
Rather than CLIST could you write your MACRO inREXX, which is well
supported for that purpose?  I realize there are environmental constraints:
existing code base, company policy, etc.

-- 
gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Clist question - edit macro

2022-09-21 Thread Shaffer, Terri
Hi,

  So I need to change an edit macro to add a function, and most I have figured 
reading the RTFM, except for this one, if its possible.

If this was REXX, and not in a MACRO, I have done this 100 times, 
however.

So I am doing this to find the string, which it does, add I do adds with 
line_after to insert lines, but what I need is, if its actually coded, need 
what its set to?.

ISREDIT FIND 'DFLTUSER=' 1 FIRST

But then is it possible to pull the next 8 characters after DFLTUSER=  and put 
in a variable to use?
   SET DUSER = (9:17,.ZCSR)  Sortof like this but not really?

Then I can use this to change/add what I need
ISREDIT CHANGE <>   FIRST

Normally I would just read lines and interrogate for what I need, but I am not 
sure what I can do after a marco FIND command?

I would think this would be easy, maybe I just need a vacation.

Can someone enlighten me?

Ms Terri E Shaffer
Senior Systems Engineer,
z/OS Support:
ACIWorldwide - Telecommuter
H(412-766-2697) C(412-519-2592)
terri.shaf...@aciworldwide.com



 [https://go.aciworldwide.com/rs/030-ROK-804/images/aci-footer.jpg] 

This email message and any attachments may contain confidential, proprietary or 
non-public information. The information is intended solely for the designated 
recipient(s). If an addressing or transmission error has misdirected this 
email, please notify the sender immediately and destroy this email. Any review, 
dissemination, use or reliance upon this information by unintended recipients 
is prohibited. Any opinions expressed in this email are those of the author 
personally.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN