Two ampersands represent one ampersand in and only in a single-quote
framed string.

Thus

|//       SET   text= 'Dombey && Son'

sets &text equal to

>Dombey & Son<,

where '>' and '<' delimit but are not of course part of the value of &text here.

The use of SET statements can make some but not all of these problems
tractable, and I suspect that strengthening the concatenation
machinery available for SET statements would solve most such problems.
 The designers of the SET statement would indeed have done better to
just add the HLASM SETC statement to JCL.   Their independent design
is  less than felicitous.

John Gilmore, Ashland, MA 01721 - USA

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to