Rational Developer for System z
COBOL for Windows, Version 7.5, Language Reference


Character-strings

A character-string is a character or a sequence of contiguous characters that forms a COBOL word, a literal, a PICTURE character-string, or a comment-entry. A character-string is delimited by separators.

A separator is a string of contiguous characters used to delimit character strings. Separators are described in detail under Separators.

Character strings and certain separators form text words. A text word is a character or a sequence of contiguous characters (possibly continued across lines) between character positions 8 and 72 inclusive in source text, library text, or pseudo-text. For more information about pseudo-text, see Pseudo-text.

Source text, library text, and pseudo-text can be written in single-byte ASCII and, for some character-strings, multibyte characters (DBCS).

You can use single-byte and multibyte character-strings to form the following:

You can use only single-byte characters to form PICTURE character-strings.


Terms of use | Feedback

Copyright IBM Corporation 1996, 2008.
This information center is powered by Eclipse technology. (http://www.eclipse.org)