Of course...I covered that early in the thread. I'm not the OP, who has been 
quiet since his original query.

-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of 
Rupert Reynolds
Sent: Saturday, September 20, 2025 12:53 PM
To: [email protected]
Subject: Re: Edit macro CHANGE not preseriving case

I forget whether it's currently working, but as a matter of style I'd recommend 
quoting everything going to the current environment (ISREDIT): -
/* REXX */
   address ISREDIT
   "MACRO"
   "CAPS OFF"
   "CHANGE 'AAA' 'Aaa' ALL"
exit

If it's still giving trouble, have you checked your Rexx for odd control 
characters using HEX ON?
You can also find them using F P'.' (where p'.' is anything not printable).

Also note you can use pictorial arguments for CHANGE, such as "C ALL C'AAA' 
P'=<<' "

which should do the same as yours, but may be useful in future.

Roops
---
"Mundus sine Caesaribus"

On Sat, 20 Sept 2025, 15:35 Paul Gilmartin, < 
[email protected]> wrote:

> On Sat, 20 Sep 2025 09:49:20 -0400, Phil Smith III  wrote:
>
> >Ah sorry.
> >
> >Rexx, from within ISPF Edit.
> >
> >Macro is:
> >/* REXX */
> >   address ISREDIT
> >   'macro'
> >   CAPS OFF
> >   CHANGE 'AAA' 'Aaa' ALL  /* ***** */
> >   exit
> >
> >(sometimes without the 'macro', or with TRACE ?R), invoked directly 
> >from
> the commandline via "macroname" or via "tso macroname", depending on 
> what we're trying to test/prove.
> >
> Does it make a difference if you change one line:
> CHANGE C'AAA' C'Aaa' ALL
>
> Is any interaction between the CAPS setting and the [c|T] modifiers 
> specified sufficiently in e.g.:
> <
> https://www.ibm.com/docs/en/zos/3.1.0?topic=string-character-strings#u
> seofch
> >
>
> (It  was most uncharacteristic of IBM long ago to change the 
> case-sensitivity default of search strings.)
>
> >z/OS 3.1 on a zPDT using Tom Brennan's Vista 3270 on a ThinkPad T14 
> >on my
> desk in my den in Virginia on planet Earth, sunny and 68 degrees 
> Fahrenheit, both inside and out.
> >
> >That enough environmental information? 😊
>
> --
> gil
>
> ----------------------------------------------------------------------
> 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

Reply via email to