Rational Developer for System z
Enterprise PL/I for z/OS, Version 3.8, Language Reference Manual

Using quotation marks

String constants, hexadecimal constants, and the picture-specification are enclosed in either single or double quotation marks.

The following rules apply to quotation marks within a string:

Examples:

  'Shakespeare''s "Hamlet"' is identical to
  "Shakespeare's ""Hamlet"""

  PICTURE "99V9" is identical to
  PICTURE '99V9'
Note:
The syntax diagrams in this book show single quotation marks. Double quotation marks can be substituted unless otherwise noted.

Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)