Compaq COBOL
User Manual


Previous Contents Index

Figures
1-1 Commands for Developing Compaq COBOL Programs on Tru64 UNIX
1-2 DCL Commands for Developing Programs
4-1 Organization of the One-Dimensional Table
4-2 Organization of Multiple Data Items in a One-Dimensional Table
4-3 Organization of a Table with an Index and an Ascending Search Key
4-4 Organization of a Two-Dimensional Table
4-5 Organization of a Three-Dimensional Table
4-6 Memory Map for Sample Record Description Example
4-7 Memory Map for Record Description Containing a COMP SYNC Item
4-8 Memory Map for Example on Adding an Item Without Changing the Table Size
4-9 Memory Map for Example on How Adding 3 Bytes Adds 4 Bytes to the Element Length
4-10 Memory Map for Example on Initializing Tables with the VALUE Clause
4-11 Memory Map for Example on Initializing Mixed Usage Items
4-12 Memory Map for Example on Initializing Alphanumeric Items
5-1 Results of the STRING Operation
5-2 Matching Delimiter Characters to Characters in a Field
5-3 Sample INSPECT Statement
5-4 Typical REPLACING Phrase
5-5 The Replacement Argument
6-1 Sequential File Organization
6-2 A Multiple-Volume, Sequential File
6-3 Line Sequential File Organization
6-4 Relative File Organization
6-5 Indexed File Organization
8-1 Multiple Access to a File
8-2 Relationship of Record Locking to File Sharing
8-3 Why a Record-Already-Exists Error Occurs
10-1 Sample Layout Worksheet
10-2 Subtotals, Crossfoot Totals, and Rolled Forward Totals
10-3 Logical Page Area for a Conventional Report
10-4 A 20-Line Logical Page
10-5 A Double-Spaced Master Listing
10-6 Logical Page Areas for a Linage-File Report
10-7 A 28-Line Logical Page
10-8 A 20-Line Logical Page
10-9 Presentation Order for a Logical Page
10-10 Sample Report Using All Seven Report Groups
10-11 First GENERATE Statement
10-12 Subsequent GENERATE Statements
10-13 TERMINATE Statement
10-14 Sample MASTER.DAT File
10-15 EX1006.LIS Listing
10-16 EX1007.LIS Listing
10-17 EX1008.LIS Listing
10-18 EX1009.LIS Listing
10-19 EX1010.LIS Listing
10-20 Printing Labels Four-Up
10-21 Printing Labels Four-Up in Sort Order
11-1 Adding Information to a Master File with a Video Form
11-2 Screen After the ERASE Statement Executes
11-3 Positioning the Data on Line 19, Column 5
11-4 Cursor Positioning Using the PLUS Option
11-5 Screen Display with Character Attributes
11-6 Sample Run of Program CONVERT
11-7 Accepting Data with the ON EXCEPTION Option
11-8 Screen Display of NUM-DATA Using the PROTECTED Option
11-9 Accepting Data with the DEFAULT Phrase
11-10 Compaq COBOL Control Keys on the Standard VT100 Keypad and Keyboard
11-11 Compaq COBOL Control Keys on a Typical VT200 or Later Keypad and Keyboard
11-12 Screen Display of Program SPECIAL
11-13 Form with ACCEPT WITH EDITING Phrase
11-14 MENU-SCREEN Output
11-15 SCHEDULE-SCREEN Output
12-1 Nesting CALL Statements
12-2 Transfer of Control Flow from a Main Program to Multiple Subprograms
12-3 Accessing Another Program's Data Division
12-4 Defining Data Names in the Linkage Section
12-5 Sharing USE Procedures
12-6 Executing Declaratives with Contained Programs (Rule 1)
12-7 Executing Declaratives Within Contained Programs (Rule 2)
15-1 Sharing Record Areas
15-2 Two-Level Primary Index
Tables
1-1 Other File Name Suffixes
1-2 Compaq COBOL Command Flags on Tru64 UNIX
1-3 Main Tools for Program Development and Testing
1-4 COBOL Command Qualifiers
1-5 Commonly Used LINK Qualifiers
2-1 Numeric Relational Operator Descriptions
2-2 Sign Tests
2-3 Numeric Editing
2-4 ROUNDING
3-1 Relational Operator Descriptions
3-2 Nonnumeric Elementary Moves
3-3 Data Movement with Editing Symbols
3-4 Data Movement with the JUSTIFIED Clause
4-1 Subscripting Rules for a Multidimensional Table
4-2 Subscripting with Data Names
5-1 Results of Sample Overflow Statements
5-2 Values Moved into the Receiving Items Based on the Sending Item Value
5-3 Handling a Short Sending Item
5-4 Results of Delimiting with an Asterisk
5-5 Results of Delimiting Multiple Receiving Items
5-6 Results of Delimiting with Two Asterisks
5-7 Results of Delimiting with ALL Asterisks
5-8 Results of Delimiting with ALL Double Asterisks
5-9 Results of Multiple Delimiters
5-10 Values Resulting from Implicit Redefinition
5-11 Relationship Among INSPECT Argument, Delimiter, Item Value, and Argument Active Position
5-12 LEADING Delimiter of the Inspection Operation
5-13 Results of the Scan with Separate Tallies
6-1 Compaq COBOL File Organizations---Advantages and Disadvantages
6-2 Record Format Availability
6-3 Valid I/O Statements for Sequential Files
6-4 Valid I/O Statements for Line Sequential Files
6-5 Valid I/O Statements for Relative Files
6-6 Valid I/O Statements for Indexed Files
6-7 Indexed File---ISAM Mapping
8-1 File-Sharing Options (OpenVMS)
8-2 File-Sharing Options (Tru64 UNIX)
8-3 File Status Values Used in a File-Sharing Environment
8-4 RMS-STS Values Used in a File-Sharing Environment (OpenVMS)
8-5 Manual Record Locking Combinations
10-1 Report Writer Report Group Types
10-2 Results of Group Indicating
11-1 Available Character Attributes by Terminal Type
11-2 Compaq COBOL Characters Returned for Cursor Positioning, Program Function, Function, Keypad, and Keyboard Keys
11-3 Key Functions for the EDITING Phrase
11-4 Character Attribute Clauses for Screen Description Formats
11-5 Color Table
12-1 Calls to COBOL Programs
12-2 C Routine Called by Statement: CALL" Job1"
12-3 C Invocation to Call COBOL PROGRAM-ID" Job2"
13-1 OpenVMS Alpha Register Usage (OpenVMS)
13-2 Run-Time Library Facilities (OpenVMS)
13-3 System Services (OpenVMS)
13-4 COBOL Implementation of the OpenVMS Alpha Data Types (OpenVMS)
16-1 Boundaries for Naturally Aligned Binary Data
16-2 Alignment and Padding Order of Precedence
B-1 Cross-Platform Compatibility of COBOL Features
B-2 Qualifiers Shared by Compaq COBOL and Compaq COBOL for OpenVMS VAX and Equivalent Flags and Options
B-3 Compaq COBOL Options Not Available in Compaq COBOL for OpenVMS VAX
B-4 Compaq COBOL for OpenVMS VAX Specific Qualifiers
C-1 Oracle CDD/Repository Data Types
D-1 Recognized Foreign Reserved Words


Previous Next Contents Index