How to Add an Apostrophe in CL AS/400
- 1). Enter the message normally, enclosing it in single quotes.
- 2). Replace any apostrophes in the message itself with double apostrophes. For example:
LONGMSG('Enter your computer''s name.')
The double apostrophe is an escape code instructing the interpreter not to read the apostrophe as indicating the end of the message string. - 3). Run the program, and the double apostrophe will appear as a single apostrophe.