Developer for System z
COBOL for Windows, Version 7.5, Language Reference
COBOL language structure
Characters
Character sets and code pages
Compile-time code page
Runtime code page
Character encoding units
Single-byte code pages
Multibyte code pages
USAGE DISPLAY
USAGE DISPLAY-1
Unicode UTF-16
Character-strings
COBOL words with single-byte characters
User-defined words with multibyte characters
User-defined words
System-names
Function-names
Reserved words
Figurative constants
Special registers
ADDRESS OF
DEBUG-ITEM
JNIENVPTR
LENGTH OF
LINAGE-COUNTER
RETURN-CODE
SHIFT-OUT and SHIFT-IN
SORT-CONTROL
SORT-CORE-SIZE
SORT-FILE-SIZE
SORT-MESSAGE
SORT-MODE-SIZE
SORT-RETURN
TALLY
WHEN-COMPILED
XML-CODE
XML-EVENT
XML-NTEXT
XML-TEXT
Literals
Alphanumeric literals
Basic alphanumeric literals
Alphanumeric literals with multibyte characters
Hexadecimal notation for alphanumeric literals
Null-terminated alphanumeric literals
Numeric literals
Rules for floating-point literal values
DBCS literals
DBCS literals with the SOSI compiler option
Where DBCS literals can be used
National literals
Basic national literals
Hexadecimal notation for national literals
Where national literals can be used
PICTURE character-strings
Comments
Separators
Rules for separators
Sections and paragraphs
Sentences, statements, and entries
Entries
Clauses
Sentences
Statements
Phrases
Reference format
Sequence number area
Indicator area
Area A
Division headers
Section headers
Paragraph headers or paragraph names
Level indicators (FD and SD) or level-numbers (01 and 77)
DECLARATIVES and END DECLARATIVES
End program, end class, and end method markers
Area B
Entries, sentences, statements, clauses
Continuation lines
Continuation of alphanumeric and national literals
Area A or Area B
Level-numbers
Comment lines
Compiler-directing statements
Compiler directives
Debugging lines
Pseudo-text
Blank lines
Scope of names
Types of names
External and internal resources
Resolution of names
Names within programs
Names within a class definition
Referencing data names, copy libraries, and procedure division names
Uniqueness of reference
Qualification
Qualification rules
Identical names
References to COPY libraries
References to procedure division names
References to data division names
Simple data reference
Identifiers
Condition-name
Index-name
Index data item
Subscripting
Subscripting using data-names
Subscripting using index-names (indexing)
Relative subscripting
Reference modification
Evaluation of operands
Reference modification examples
Function-identifier
Data attribute specification
Transfer of control
Millennium Language Extensions and date fields
Millennium Language Extensions syntax
Terms and concepts
Date field
Windowed date field
Expanded date field
Year-last date field
Date format
Compatible date field
Nondate
Century window
Terms of use
|
Feedback
Copyright IBM Corporation 1996, 2008.
This information center is powered by Eclipse technology. (http://www.eclipse.org)