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


Data division

Data division overview
File section
Working-storage section
Local-storage section
Linkage section
Data units
File data
Program data
Method data
Factory data
Instance data
Data relationships
Levels of data
Levels of data in a record description entry
Special level-numbers
Indentation
Classes and categories of group items
Classes and categories of data
Category descriptions
Alphabetic
Alphanumeric
Alphanumeric-edited
DBCS
External floating-point
Internal floating-point
National
National-edited
Numeric
Numeric-edited
Alignment rules
Character-string and item size
Signed data
Operational signs
Editing signs
Data division—file description entries
File section
EXTERNAL clause
GLOBAL clause
BLOCK CONTAINS clause
RECORD clause
Format 1
Format 2
Format 3
LABEL RECORDS clause
VALUE OF clause
DATA RECORDS clause
LINAGE clause
LINAGE-COUNTER special register
RECORDING MODE clause
CODE-SET clause
Data division—data description entry
Format 1
Format 2
Format 3
Level-numbers
BLANK WHEN ZERO clause
DATE FORMAT clause
Semantics of windowed date fields
Restrictions on using date fields
Combining the DATE FORMAT clause with other clauses
Group items that are date fields
Language elements that treat date fields as nondates
Language elements that do not accept windowed date fields as arguments
Language elements that do not accept date fields as arguments
EXTERNAL clause
GLOBAL clause
JUSTIFIED clause
GROUP-USAGE clause
OCCURS clause
Fixed-length tables
ASCENDING KEY and DESCENDING KEY phrases
INDEXED BY phrase
Variable-length tables
OCCURS DEPENDING ON clause
PICTURE clause
Symbols used in the PICTURE clause
P symbol
Currency symbol
Character-string representation
Data categories and PICTURE rules
Alphabetic items
Numeric items
Examples of valid ranges
Numeric-edited items
Alphanumeric items
Alphanumeric-edited items
DBCS items
National items
National-edited items
External floating-point items
PICTURE clause editing
Simple insertion editing
Special insertion editing
Fixed insertion editing
Floating insertion editing
Representing floating insertion editing
Zero suppression and replacement editing
Representing zero suppression
REDEFINES clause
REDEFINES clause considerations
REDEFINES clause examples
Undefined results
RENAMES clause
SIGN clause
SYNCHRONIZED clause
Slack bytes
Slack bytes within records
Slack bytes between records
USAGE clause
Computational items
DISPLAY phrase
Effect of CHAR(EBCDIC) compiler option
DISPLAY-1 phrase
FUNCTION-POINTER phrase
INDEX phrase
NATIONAL phrase
OBJECT REFERENCE phrase
POINTER phrase
PROCEDURE-POINTER phrase
NATIVE phrase
VALUE clause
Format 1
Rules for literal values
Format 2
Rules for condition-name entries
Format 3

Terms of use | Feedback

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