O yes re NOVALUE. Basic hygiene. Sure, you'll "never" make that change. Sure you won't. Maybe/probably. Hygiene is always good; that's why you wear clean underwear--nobody expects to wind up in the hospital.
-----Original Message----- From: IBM Mainframe Discussion List <[email protected]> On Behalf Of Paul Gilmartin Sent: Wednesday, September 17, 2025 2:10 PM To: [email protected] Subject: Re: Edit macro CHANGE not preseriving case On Wed, 17 Sep 2025 13:42:49 -0400, Phil Smith III wrote: > ... >In Rexx, it's a very good idea to ALWAYS know what's a literal and what's a >variable and to quote all literals. It not only avoids problems but is also >more efficient. > >(The "problems" part comes when you have that line as you wrote it >working, and then someone assigns variable LOWER to some value and all >hell breaks loose!) > What "someone"? No one but me changes that EXEC and I'd never do that. I strongly counsel and generally use SIGNAL ON NOVALUE to alert myself to this. Shmuel will probably disagree, perhaps because it costs 18 keystrokes when coding. but I contend it saves parser cycles and enormous debugging time. I have even started using 'set -o no''unset' in complicated shell scripts to catch spelling errors. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
