Previous Topic: DelimitersNext Topic: Input Lines


Quotation Marks

Use Quotation Marks with User-Supplied Names

You must use quotation marks to enclose user-supplied names containing one or more embedded blanks or punctuation marks (that is, apostrophes, colons, commas, parentheses, periods, quotation marks, and semicolons). If the closing quotation mark is omitted, the compiler interprets the name to include everything on the line up to the end of the input column range.

Single Quotation Mark is Installation Default

The single quotation mark (') is the default established during installation. This default can be changed to the double quotation mark (") with the IDD DDDL compiler. You can use the SET OPTIONS statement to establish either quotation mark as the standard for the current session.

Note: For more information about the SET OPTIONS statement, see SET OPTIONS Statement.

If the current standard quotation mark is embedded in a user-supplied name, the quotation mark must be coded as two consecutive quotation marks. For example, the name MARY'S PROGRAM must be coded as 'MARY''S PROGRAM' if the single quotation mark (') is the current standard. If the double quotation mark (") is the current standard, MARY'S PROGRAM must be coded as "MARY'S PROGRAM".

Non-quoted Letters Converted to Upper Case

All input submitted to the system generation compiler that is not in quotes is converted to upper case. Input submitted not in quotes in lower case is automatically converted to upper case.