The text isn't quoted, as far as CLIST is concerned. The OP had:
ISREDIT CHA "ACCESSORID = " +
"DCPRCSC1,CICS Elevated Assess for Customer Support Center," +
1 ALL
CLIST has no syntax for quoted text. It is just text. In this case, CLIST is
passing the string to ISREDIT, and /that's/ where the quoting it, i.e. it is
part of the Edit macro syntax.
The equivalent of a quoted text in CLIST would be &STR(some text), but even
that won't save it from being upper cased.
This all is why I hate coding in CLIST. It is a language that fights against
the programmer at every opportunity. For example, CLIST is trying to evaluate
everything that's in the quoted string, so if you have & or something that
looks like an operator, it will fail.
I will rewrite the CLISTS as REXX before making changes to them, but that is
easier said than done. CLISTs tend to be spaghetti code. And it doesn't help
that REXX gives uninitialized variables their own name as a value.
-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of
Paul Gilmartin
Sent: Wednesday, January 8, 2025 6:13 PM
To: [email protected]
Subject: Re: ISREDIT CAPS ON OFF
On Wed, 8 Jan 2025 21:59:18 +0000, Schmitt, Michael wrote:
>This is CLIST code. By default, CLIST changes all statements to upper case
>before execution. Add CONTROL NOCAPS after ISREDIT MACRO.
> .
Terrible design. To avoid confounding the novice, or even the OP of this
thread, the default should be minimum munging: I.e. ASIS.
Especially when the text is quoted.
-
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