How do you code a single apostrophe in a CL program using the CHGVAR command? I'm trying to change a variable using *CAT and *BCAT and I need the first and last character to be an apostrophe. I know this may sound simple, but for some reason, I'm drawing a blank.
I usually use a variable to concatenate by declaring a variable "E of 1 character with a VALUE(''''). You can then concatenate the quote anywhere in a string.
MORE INFORMATION ON THIS TOPIC
The Best Web Links: tips, tutorials and more.
Ask your OS/400 questions -- or help out your peers by answering them -- in our live OS/400 discussion forums.
Ask the Experts yourself: Our OS/400 gurus are waiting to answer your questions.
Check out this Search400.com Featured Topic: Top 10 expert tips for OS/400