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


PICTURE clause

The PICTURE clause specifies the general characteristics and editing requirements of an elementary item.

Format
Read syntax diagramSkip visual syntax diagram>>-+-PICTURE-+--+----+--character-string-----------------------><
   '-PIC-----'  '-IS-'                    
 
PICTURE or PIC
The PICTURE clause must be specified for every elementary item except the following:

In these cases, use of the PICTURE clause is prohibited.

The PICTURE clause can be specified only at the elementary level.

PIC is an abbreviation for PICTURE and has the same meaning.

character-string
character-string is made up of certain COBOL characters used as picture symbols. The allowable combinations determine the category of the elementary data item.

character-string can contain a maximum of 50 characters.


Terms of use | Feedback

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