Is there a foolproof way to enter single quotes (') in a Control Language (CL) program variable without having to double them?
By Sam Lennon
Nearly everyone knows that to embed a quotation mark in a CL variable you have to double it. To putNAME='SMITH'in a variable, you have to enter'NAME=''SMITH'''. Enter an uneven number of quote marks and the CL prompter will attempt, and nearly always fail, to fix if for you, which can make entering code challenging and sometimes frustrating. What if we could use a double quote ("), and then easily replace each with a single quote programmatically?