These types and attributes are described in the Enterprise COBOL for z/OS reference manual.
| Variable Type | Data Attributes |
|---|---|
| Area | AREA(size) |
| Coded arithmetic | REAL | COMPLEX |
| FLOAT | FIXED | |
| BINARY | DECIMAL | |
| PRECISION | |
| [SIGNED | UNSIGNED] | |
| Entry | ENTRY [RETURNS] |
| [LIMITED] | |
| File | FILE |
| Format | FORMAT |
| Label | LABEL |
| Locator | POINTER | HANDLE | |
| {OFFSET [(area-variable)]} | |
| Ordinal | ORDINAL |
| Picture | PICTURE |
| REAL | COMPLEX | |
| String | BIT | CHARACTER | GRAPHIC | WIDECHAR |
| [(length)] | |
| [ VARYING | VARYINGZ | NONVARYING] | |
| Task | TASK |
Arrays: DIMENSION can be added to the declaration of any variable.