ACUCOBOL-GT Version 5.2 Manual Set
Book 1: User's Guide
1 Introduction
1.1 Product Overview
1.1 Product Overview
Acu4GL
AcuBench
AcuSQL
AcuODBC
AcuConnect
AcuServer
1.2 Document Overview
1.2 Document Overview
1.2.1 User's Guide
1.2.2 User Interface Programming
1.2.3 Reference Manual
1.2.4 Appendices
1.3 Related Documents
1.3 Related Documents
1.4 Supported Hardware
1.4 Supported Hardware
1.4.1 Native Code Supported Processors
1.5 Environment Variables
1.5 Environment Variables
1.6 Notation
1.6 Notation
1.7 How to Get Help
1.7 How to Get Help
1.7.1 Handling Compilation Problems
1.7.2 Handling Program Execution Problems
1.7.2 Handling Program Execution Problems
Using the debugger
Using file trace
Using Screen Trace
Working With Your Acucorp Technical Support Representative
2 Compiler and Runtime
2.1 Using the Compiler
2.1 Using the Compiler
2.1.1 Standard Options
2.1.1 Standard Options
2.1.1.1 Native Code Options
2.1.1.2 Internal Tables Options
2.1.2 Listing Options
2.1.2 Listing Options
2.1.3 Compatibility Options
2.1.3 Compatibility Options
2.1.4 File Options
2.1.4 File Options
2.1.5 Source Options
2.1.5 Source Options
2.1.6 Reserved Word Options
2.1.6 Reserved Word Options
2.1.7 Data Storage Options
2.1.7 Data Storage Options
2.1.8 Video Options
2.1.8 Video Options
2.1.9 Debugging Options
2.1.9 Debugging Options
2.1.10 Mapping Options
2.1.10 Mapping Options
2.1.11 Miscellaneous Options
2.1.11 Miscellaneous Options
2.1.12 Upper and Lower Case
2.1.12 Upper and Lower Case
2.1.13 File Name Handling
2.1.13 File Name Handling
2.1.13.1 Remote File Name Handling
2.1.14 Examples
2.1.14 Examples
2.1.15 CBLFLAGS Environment Variable
2.1.15 CBLFLAGS Environment Variable
2.1.16 Help, Version Information, and Communication With C Programs
2.1.16 Help, Version Information, and Communication With C Programs
2.2 Using the Runtime System
2.2 Using the Runtime System
2.3 Compatibility Modes
2.3 Compatibility Modes
2.4 Source Formats
2.4 Source Formats
2.5 COPY Libraries
2.5 COPY Libraries
2.5.1 Resource Files
2.5.1 Resource Files
General Rules for Resources
2.6 Source Code Control
2.6 Source Code Control
2.7 Runtime Configuration
2.7 Runtime Configuration
2.7.1 File Name Assignments
2.7.2 Code and Data File Search Paths
2.7.3 File Status Codes
2.7.4 Terminal Handling Options
2.7.5 File Handling Options
2.7.5 File Handling Options
Sort files
Carriage control
Device locking
2.8 File Name Interpretation
2.8 File Name Interpretation
2.8.1 File Names Starting With a Hyphen
2.8.2 File Name Examples
2.8.2 File Name Examples
Example 1: Default name handling
Example 2: Accessing printers
2.8.3 Assigning Files to Local Printers
2.8.3 Assigning Files to Local Printers
2.9 Calling Subprograms
2.9 Calling Subprograms
-
CALL
CANCEL
CHAIN
2.9.1 Alternate ENTRY Points
-
2.10 Reducing the Size of the Runtime
2.10 Reducing the Size of the Runtime
2.11 acushare Utility Program-
2.11 acushare Utility Program
2.11.1 Using Shared Memory -
2.11.1 Using Shared Memory
2.11.1.1 Indicating programs to share
2.11.2 Starting and Using acushare-
2.11.2 Starting and Using acushare
2.11.2.1 Runtime handling of errors
2.11.2.2 Acushare's use of the UNIX message queue
2.12 General Preprocessor Interface
2.12 General Preprocessor Interface
2.12.1 Use of Preprocessors-
2.12.1 Use of Preprocessors
2.12.1.1 Calling a preprocessor
2.12.1.2 Calling Two or More Preprocessors
2.12.1.3 Compiler Options Forwarded to Preprocessors
2.12.1.4 Calling a Preprocessor Without the Compiler
2.12.2 AcuSQL Pre-compiler-
2.12.2 AcuSQL Pre-compiler
2.12.2.1 Compatibility with General Preprocessor Interface
2.12.2.2 Calling the AcuSQL pre-compiler
2.12.3 Writing a Preprocessor-
2.12.3 Writing a Preprocessor
2.12.3.1 Command Line Options
2.12.3.2 Line and File Directives
2.12.3.3 Error Messages
-
3 Debugger and Utilities
3.1 Runtime Debugger
3.1 Runtime Debugger
3.1.1 Entering the Debugger
3.1.2 Cursor and Mouse Handling in Source-Level Debugging
3.1.3 Debugger Commands
3.1.3 Debugger Commands
Source-level commands
Other commands
Multithreading Issues
Getting help
File Menu
View Menu
Run Menu
Source Menu
Data Menu
Breakpoints Menu
Selection Menu
Help Menu
The Toolbar
3.1.4 File Tracing
3.1.4 File Tracing
3.1.5 Screen Tracing
3.1.5 Screen Tracing
3.1.6 Macro Debugger
3.1.6 Macro Debugger
3.1.7 Specifying Addresses
3.1.7 Specifying Addresses
3.1.7.1 Variables
3.1.7.2 Program addresses
3.1.8 Debugger Restrictions
3.1.8 Debugger Restrictions
3.2 Object File Utilities-cblutil
-
3.2 Object File Utilities-cblutil
3.2.1 Object Libraries
3.2.2 Creating Object Libraries
3.2.2.1 Creating remote object libraries
3.2.3 Getting Object Information
3.2.4 Generating Native Code From ACUCOBOL-GT Portable Code
3.3 File Utilities-vutil-
3.3 File Utilities-vutil
3.3.1 Examining File Information
3.3.2 Testing File Integrity
3.3.3 Rebuilding Files
3.3.4 Resetting User Counts
3.3.5 Resetting Internal Revision Number
3.3.6 Extracting Records From a File
3.3.7 Creating Empty Files -
3.3.7 Creating Empty Files
3.3.7.1 Responding to vutil generated prompts
3.3.7.2 Specifying file attributes in advance
3.3.8 Unloading to Binary and Line Sequential Format
3.3.9 Loading a File
3.3.10 File Size Summary Report
3.3.11 Converting RM/COBOL-85 Indexed Files
3.3.12 Converting C-ISAM Files
3.3.13 Converting Micro Focus Files
3.3.14 Changing Record Size
3.3.15 Miscellaneous Commands
3.3.16 Default Settings of vutil
3.4 File Transfer Utility-vio
3.4 File Transfer Utility-vio
3.4.1 vio Options
3.4.2 MS-DOS and Windows Considerations
3.4.3 vio Examples
3.4.4 Known Limitations
3.5 Acucorp's Indexed File Record Editor-alfred
3.5 Acucorp's Indexed File Record Editor-alfred
3.5.1 Modes of Operation
3.5.2 Security
3.5.2 Security
3.5.2.1 UNIX security
3.5.3 Translation of Messages
3.5.3 Translation of Messages
3.5.4 Starting alfred
3.5.4 Starting alfred
3.5.4.1 Initial startup and filename designation
3.5.4.2 Specifying the key
3.5.4.3 The keymap
3.5.5 Editing Records
3.5.5 Editing Records
3.5.5.1 Editing without an XFD
3.5.5.2 Editing with an XFD
3.5.5.3 Menu bar choices
The File menu
The Edit menu
The Start menu
The Record menu
The Display menu
The Help menu
3.5.6 Configuration Variables
3.5.6 Configuration Variables
3.6 logutil
3.6 logutil
3.6.1 Syntax
3.6.2 Options
3.6.2 Options
-v Option
-i Option
-d Option
Example #1
Example #2
3.6.3 logutil Report Headings
3.6.3 logutil Report Headings
3.7 AXDEFGEN Utility
3.7 AXDEFGEN Utility
3.7.1 AXDEFGEN Copybooks
4 Terminal Manager
4.1 How the Terminal Manager Works
4.1 How the Terminal Manager Works
4.1.1 Terminal Manager Functions
4.1.2 Alternate Terminal Manager (ATM)
4.2 Getting Your Terminals Ready
4.2 Getting Your Terminals Ready
4.2.1 Step One-Terminal Identification
4.2.2 Step Two-Terminal Definition
4.2.2 Step Two-Terminal Definition
DOS Special Considerations
4.2.3 Step Three-Configuration Variables
4.2.3 Step Three-Configuration Variables
4.3 The Keyboard Interface
4.3 The Keyboard Interface
4.3.1 Key Mapping
4.3.1 Key Mapping
4.3.1.1 Key interpretation
4.3.1.2 Key translation
4.3.1.3 Keyboard configuration
4.3.2 Redefining the Keyboard
4.3.2 Redefining the Keyboard
4.3.2.1 The KEYBOARD variable
4.3.2.2 The KEYSTROKE variable
4.3.2.3 Table of keys
4.3.2.4 Special keys
4.3.2.5 Default keyboard
4.3.2.6 Modification examples
4.4 The Display Interface
4.4 The Display Interface
4.4.1 Adding Color
4.4.2 The SCREEN Option
4.4.2 The SCREEN Option
4.4.2.1 SCREEN examples
4.4.3 Additional Configuration Variables
4.4.3 Additional Configuration Variables
4.4.4 Double-Byte Character Handling
4.4.4 Double-Byte Character Handling
4.5 Restricted Attribute Handling
4.5 Restricted Attribute Handling
4.5.1 Restricted Video Modes
4.5.1 Restricted Video Modes
4.5.1.1 Restrictions
4.6 The Terminal Database File
4.6 The Terminal Database File
4.6.1 Required Functions
4.6.2 Additional Screen Functions
4.6.3 Video Attributes
4.6.4 Color
4.6.4 Color
4.6.4.1 One-color terminals
4.6.5 Function Keys and Other Keys
4.6.5 Function Keys and Other Keys
User-defined keys
4.6.6 Line Drawing
4.6.6 Line Drawing
Multi-character sequences for graphics
4.6.7 Graphical Window and Control Emulation
4.6.7 Graphical Window and Control Emulation
Reconstructing the screen
4.6.8 Mouse Support for X Terminals
4.6.8 Mouse Support for X Terminals
4.6.9 Initialization
4.6.9 Initialization
4.6.10 Print Functions
4.6.10 Print Functions
4.6.11 Continued Entries
4.6.11 Continued Entries
5 File Processing
5.1 Transaction Management
5.1 Transaction Management
5.1.1 Overview of Transaction Management
5.1.1 Overview of Transaction Management
5.1.1.1 Transaction logging
5.1.1.2 File types
5.1.1.3 Features
5.1.2 The Transaction Logging Process
5.1.2 The Transaction Logging Process
5.1.3 Transaction Management Verbs
5.1.3 Transaction Management Verbs
5.1.4 Extended Locking Rules
5.1.4 Extended Locking Rules
Special handling of implicit transactions
5.1.5 Logging and Rollback of File Update Operations
5.1.5 Logging and Rollback of File Update Operations
5.1.6 Multiple Log Files
5.1.6 Multiple Log Files
5.1.7 Configuration Variables
5.1.7 Configuration Variables
5.1.8 Transaction Error Handling
5.1.8 Transaction Error Handling
5.1.9 Compiler File Options
5.1.9 Compiler File Options
5.1.10 Recovery
5.1.10 Recovery
5.1.10.1 Transaction logging and recovery with AcuServer
5.2 AcuServer
5.2 AcuServer
5.2.1 System Requirements
5.2.2 Remote Name Notation
5.3 XFD Files
5.3 XFD Files
5.3.1 Defaults Used in XFD Files
5.3.1 Defaults Used in XFD Files
KEY IS phrase
REDEFINES clause
Multiple record definitions
Group items
FILLER data items
OCCURS clauses
Summary of dictionary fields
Identical field names
Long field names
Naming the XFD
Examples of XFD names
5.3.2 Using Directives
5.3.2 Using Directives
Important for Acu4GL sites
5.3.3 Syntax
5.3.3 Syntax
5.3.3.1 Alpha Directive
5.3.3.2 Binary Directive
5.3.3.3 Comment Directive
5.3.3.4 Date Directive
5.3.3.5 File Directive
5.3.3.6 Name Directive
5.3.3.7 Numeric Directive
5.3.3.8 Secondary-Table Directive
5.3.3.9 Use Group Directive
5.3.3.10 Var-Length Directive
5.3.3.11 When Directive
5.4 International Character Handling
5.4 International Character Handling
5.4.1 Files Required for Translation
6 Programmer's Guide
6.1 Handling Files
6.1 Handling Files
6.1.1 Sequential Files
6.1.2 Relative Files
6.1.3 Indexed Files - Vision
6.1.3 Indexed Files - Vision
Segment Naming for Vision Version 4 Files
Method One: The Format Method
Method Two: The Default Method
Overriding individual segment names
Selecting the Vision Version
6.1.4 Record Locking
6.1.4 Record Locking
6.1.5 Device Locking Under UNIX
6.1.5 Device Locking Under UNIX
6.1.6 Indexed File Considerations
6.1.6 Indexed File Considerations
6.1.6.1 Compression
6.1.6.2 Mass update
6.1.6.3 Bulk Addition Mode for Vision
6.1.7 Converting RM/COBOL Data Files
6.1.7 Converting RM/COBOL Data Files
Converting relative files with variable-length records
Converting binary sequential files with variable-length records
Converting relative files with fixed-length records
Converting indexed files
6.1.8 Performance Considerations
6.1.8 Performance Considerations
6.1.9 Limits on Open Files
6.1.9 Limits on Open Files
6.2 Terminal I/O
6.2 Terminal I/O
6.2.1 Performance Considerations
6.2.2 Terminal Manager Restrictions
6.3 Memory Management
6.3 Memory Management
6.3.1 External Data Items
6.4 Error Handling
6.4 Error Handling
6.4.1 Memory Access Violations
6.4.2 Logging Errors to the Runtime's Error File
6.5 Screen Section
6.5 Screen Section
6.5.1 Advantages
6.5.2 Structure
6.5.3 Syntax
6.5.4 Comparison to Field-Level
6.5.4 Comparison to Field-Level
Field Level ACCEPT & DISPLAY
Form-level DISPLAY and ACCEPT (Screen Section)
6.5.5 Using Screen Section Embedded Procedures
6.5.5 Using Screen Section Embedded Procedures
6.6 Data Validation
6.6 Data Validation
6.7 Exiting From ACUCOBOL-GT Programs
6.7 Exiting From ACUCOBOL-GT Programs
6.8 Multiple Execution Threads
6.8 Multiple Execution Threads
6.8.1 Thread Fundamentals
6.8.1 Thread Fundamentals
LAST THREAD
6.8.2 Data Sharing Among Threads
6.8.2 Data Sharing Among Threads
LOCK THREAD and UNLOCK THREAD
6.8.3 Thread Communication
6.8.3 Thread Communication
SEND and RECEIVE
6.8.4 Thread Priorities
6.8.4 Thread Priorities
6.8.5 Threading Rules That Affect Windows and ACCEPT Statements
6.8.5 Threading Rules That Affect Windows and ACCEPT Statements
6.8.6 Thread Pausing
6.8.6 Thread Pausing
6.8.7 Multithreading and Multiprocessor Systems
6.8.7 Multithreading and Multiprocessor Systems
6.8.8 Thread Interaction With Run Units
6.8.8 Thread Interaction With Run Units
6.9 Deploying Applications on the Internet
6.9 Deploying Applications on the Internet
6.9.1 Options
6.9.1 Options
Option 1: Provide remote file access via AcuServer
Option 2: Set up the ACUCOBOL-GT runtime as an Internet helper application or
viewer
Option 3: Provide runtime services through the ACUCOBOL-GT Web Plug-In
Option 4: Provide remote application access via AcuConnect
Option 5: Create an HTML interface to your application and launch it with a
CGI program
6.9.2 A_CGI Environment Variable
6.9.2 A_CGI Environment Variable
6.10 ActiveX and OLE Programming (Windows Only)
6.10 ActiveX and OLE Programming (Windows Only)
6.10.1 Adding ActiveX Controls or OLE Objects to Your COBOL Program
6.10.1 Adding ActiveX Controls or OLE Objects to Your COBOL Program
To add an ActiveX control or OLE object to your ACUCOBOL-GT program
6.10.2 Properties, Styles and Methods
6.10.2 Properties, Styles and Methods
6.10.2.1 Passing COBOL Data to Methods or Properties as SAFEARRAYs
6.10.2.2 Using COBOL data types as ActiveX and OLE object parameters
6.10.3 ActiveX Events
6.10.3 ActiveX Events
6.10.4 ACTIVE-X Control Type
6.10.4 ACTIVE-X Control Type
6.10.5 Name Clashes
6.10.5 Name Clashes
6.10.6 Useful Files
6.10.6 Useful Files
6.10.7 Multiple Object Interfaces
6.10.7 Multiple Object Interfaces
6.10.8 ActiveX Library Routines
6.10.8 ActiveX Library Routines
6.10.9 Distributing Applications Containing ActiveX Controls
6.10.9 Distributing Applications Containing ActiveX Controls
6.10.10 ActiveX-related Error Handling
6.10.10 ActiveX-related Error Handling
6.10.11 ActiveX-related Debugging
6.10.11 ActiveX-related Debugging
6.10.12 Creating OLE Objects That are Not Controls
6.10.12 Creating OLE Objects That are Not Controls
6.10.13 Qualified ActiveX Control and Object Names
6.10.13 Qualified ActiveX Control and Object Names
6.10.14 Enumerators
6.10.14 Enumerators
6.10.15 ActiveX Color Representation
6.10.15 ActiveX Color Representation
6.10.16 ActiveX-related Troubleshooting
6.10.16 ActiveX-related Troubleshooting
6.10.17 ActiveX Example
6.10.17 ActiveX Example
Book 2: User Interface Programming
1 Introduction
1.1 Overview of User Interface Features
1.1 Overview of User Interface Features
Floating windows and graphical controls
Automatic GUI runtime support
1.2 Developing Programs for Graphical Systems
1.2 Developing Programs for Graphical Systems
1.2.1 Event-Driven Environments
1.2.2 Configuration and Programming Support
1.2.3 Index to Related Topics
1.2.4 GUI Development With Third Party Kits and Tools
1.3 Microsoft Windows Operating Systems
1.3 Microsoft Windows Operating Systems
1.4 Windowing Concepts
1.4 Windowing Concepts
The screen
The virtual screen
Window
The main application window
Modeless windows
Modal windows
Controls
1.5 ACUCOBOL-GT Window Types
1.5 ACUCOBOL-GT Window Types
Floating windows
Independent Windows
Subwindows
1.6 Creating Portable User Interfaces
1.6 Creating Portable User Interfaces
1.6.1 Incompatibilities Between Graphical and Character Systems
1.6.2 Strategies for Supporting Multiple Systems
1.6.2 Strategies for Supporting Multiple Systems
1.6.2.1 Dual interface, dual code
1.6.2.2 Single interface, single code
1.6.2.3 Dual interface, single code
1.6.2.4 Selecting the right approach
1.6.3 Tips for Solving Cross Platform Interface Problems
1.6.3 Tips for Solving Cross Platform Interface Problems
1.6.3.1 Establishing the initial window
1.6.3.2 Tips for building single-interface programs
1.6.3.3 Tips for building dual-interface programs
1.7 GUI Development Project Issues
1.7 GUI Development Project Issues
Extent of the interface changes
Suitability of the current UI to conversion
Recommendations
Conversion wizard
1.8 Sample Programs
1.8 Sample Programs
2 Floating Windows
2.1 Overview of Floating Windows
2.2 The Relationship Between Floating Windows and Subwindows
2.3 Active and Current Windows
2.4 Parent and Child Windows
2.5 Creating, Inquiring, Modifying, and Destroying Windows
2.6 Menus and Floating Windows
3 Graphical Controls
3.1 Overview of Graphical Controls
3.2 Control Types, Handles, and IDs
3.3 Interaction Between Controls and Windows
3.4 Creating, Modifying, Inquiring, and Destroying Controls
3.5 Entering Data Into a Control
3.6 The Character Coordinate Phrases
3.7 Controls and the Mouse
3.8 Bitmap Buttons
3.8 Bitmap Buttons
3.8.1 Drawing the Image
3.8.2 Loading Bitmaps
3.8.3 Creating the Button
3.8.4 Pop-Up Hints
3.8.5 Portability
3.9 Paged List Boxes
3.9 Paged List Boxes
3.9.1 Creating a Paged List Box
3.9.2 Adding Records to a Paged List Box
3.9.3 Other List Box Operations
3.9.4 Paged List Box Event Handling
3.9.5 Paged List Box Example
3.10 Paged Grids
3.10 Paged Grids
4 Supporting Concepts and Related Issues
4.1 Handles
4.2 Events
4.3 Graphical vs. Textual Modes
4.4 Styles and Special Properties
4.5 Methods
4.6 Coordinates
4.6 Coordinates
4.6.1 Coordinate Handling
4.6.2 Coordinate Space Problems
4.6.3 Coordinate Space Solutions
4.7 Fonts
4.7 Fonts
5 Control Types Reference
5.1 The Components of a Control
5.1 The Components of a Control
5.1.1 Control Components Diagram
5.1.2 Common Properties Table
5.1.3 Styles Table
5.1.4 Special Properties Table
5.2 Global Styles
5.2 Global Styles
5.3 Label
5.3 Label
Common Properties
Common Properties
TITLE
VALUE
SIZE
COLOR
STYLES
Special Properties
Special Properties
Events
Events
Examples
Examples
5.4 Entry Field
5.4 Entry Field
Common Properties
Common Properties
TITLE
VALUE
MULTIPLE
SIZE
Setting the entry field's width
Tips
COLOR
STYLES
Special Properties
Special Properties
Events
Events
Using Special Keys
Examples
Examples
5.5 Push Button
5.5 Push Button
Common Properties
Common Properties
TITLE
VALUE
SIZE
COLOR
STYLES
Special Properties
Special Properties
Events
Events
Examples
Examples
5.6 Check Box
5.6 Check Box
Common Properties
Common Properties
TITLE
VALUE
SIZE
COLOR
STYLES
Special Properties
Special Properties
Events
Events
Examples
Examples
5.7 Radio Button
5.7 Radio Button
Common Properties
Common Properties
TITLE
VALUE
SIZE
COLOR
STYLES
Special Properties
Special Properties
Events
Events
Examples
Examples
5.8 List Box
5.8 List Box
Common Properties
Common Properties
TITLE
VALUE
SIZE
COLOR
STYLES
Special Properties
Special Properties
Events
Events
Using Special Keys
Examples
Examples
5.9 Combo Box
5.9 Combo Box
Common Properties
Common Properties
TITLE
VALUE
SIZE
COLOR
STYLES
Special Properties
Special Properties
Events
Events
Using Special Keys
Examples
Examples
5.10 Frame
5.10 Frame
Common Properties
Common Properties
TITLE
VALUE
SIZE
COLOR
STYLES
Special Properties
Special Properties
Events
Events
Examples
Examples
5.11 Bar
5.11 Bar
Common Properties
Common Properties
TITLE
VALUE
SIZE
COLOR
STYLES
Special Properties
Special Properties
Events
Events
5.12 Scroll Bar
5.12 Scroll Bar
Common Properties
Common Properties
TITLE
VALUE
SIZE
COLOR
STYLES
Special Properties
Special Properties
Events
Events
5.13 Tab
5.13 Tab
Common Properties
Common Properties
TITLE
VALUE
SIZE
COLOR
STYLES
Special Properties
Special Properties
Events
Events
Programming Tips
Programming Tips
5.14 Bitmap
5.14 Bitmap
Common Properties
Common Properties
TITLE
VALUE
SIZE
COLOR
Special Properties
Special Properties
5.15 Grid
5.15 Grid
Common Properties
Common Properties
TITLE
VALUE
SIZE
COLOR
STYLES
Special Properties
Special Properties
Events
Events
5.16 Tree View Control
5.16 Tree View Control
Items
Parent and Child Relationships
Adding Child Items
Adding Child Items
Adding child items once
Adding child items on each expansion
Common Properties
Common Properties
TITLE
VALUE
SIZE
COLOR
STYLES
Special Properties
Special Properties
Events
Events
5.17 Web Browser
5.17 Web Browser
Common Properties
Common Properties
TITLE
VALUE
SIZE
COLOR
Methods
Methods
Other Properties
Other Properties
Events
Events
5.18 Status Bar
5.18 Status Bar
Common Properties
Common Properties
TITLE
VALUE
SIZE
COLOR
STYLES
Special Properties
Special Properties
Array and index modes
Sequence order
Events
Events
5.19 ACTIVE-X
5.19 ACTIVE-X
Common Properties
Common Properties
TITLE
VALUE
LINES/SIZE
COLOR
STYLES
Special Properties
Special Properties
General Rules
Events
6 Events Reference
6.1 Overview of Events
6.2 Window Events
6.3 Control Events
6.4 Menu Events
7 Using the Mouse
7.1 Mouse Properties
7.2 Mouse Action Ownership in Graphical Environments
7.3 How Mouse Actions Are Handled
7.3 How Mouse Actions Are Handled
7.3.1 Mouse Exception Processing
7.3.2 Assigning Results to Mouse Actions
7.3.3 Unmasking Mouse Actions
7.4 Automatic Mouse Handling
7.4 Automatic Mouse Handling
7.5 Screen Section Behavior
7.5 Screen Section Behavior
7.6 W$MOUSE Library Routine
7.6 W$MOUSE Library Routine
ENABLE-MOUSE
TEST-MOUSE-PRESENCE
GET-MOUSE-STATUS
GET-MOUSE-SCREEN-STATUS
SET-MOUSE-POSITION
SET-MOUSE-SCREEN-POSITION
SET-MOUSE-SHAPE
SET-DELAYED-MOUSE-SHAPE
GET-MOUSE-SHAPE
CAPTURE-MOUSE
RELEASE-MOUSE
SET-MOUSE-HELP
7.7 Mouse Handling-Sample Code
7.7 Mouse Handling-Sample Code
8 Menu Bars and Pop-Up Menus
8.1 Menus Overview
8.1 Menus Overview
Menu Bars
Pop-Up Menus
8.2 Generic Menu Handler
8.2 Generic Menu Handler
8.2.1 Static Menu Bars
8.2.2 Pop-Up Menu Bars
8.2.3 Submenus
8.3 Graphical Menu Facilities
8.3 Graphical Menu Facilities
8.4 Overview of Menu Handling
8.4 Overview of Menu Handling
8.4.1 Properties of Menu Entries
8.5 Creating Menus-the Shortcut
8.5 Creating Menus-the Shortcut
8.5.1 Using genmenu
8.6 Menu Activation and Use
8.6 Menu Activation and Use
8.6.1 Defining Menu Keys
8.7 Menu Input
8.7 Menu Input
8.7.1 Function Key Handling
8.7.2 Menu Selection Limits
8.8 Changing Menu Results
8.8 Changing Menu Results
8.9 Common Menu Operations
8.9 Common Menu Operations
8.9.1 Disabling Menu Items
8.9.2 Checking Menu Items
8.9.3 Disabling an Entire Menu
8.10 Pop-Up Menus
8.10 Pop-Up Menus
8.11 W$MENU Library Routine
8.11 W$MENU Library Routine
8.12 Menu Configuration With the Generic Menu Handler
8.12 Menu Configuration With the Generic Menu Handler
8.13 Menu Handling-Sample Code
8.13 Menu Handling-Sample Code
8.14 System Menu "Close" Handling Under Windows
8.14 System Menu "Close" Handling Under Windows
8.15 Portability Concerns
8.15 Portability Concerns
8.16 Menu Bar Sample Programs
8.16 Menu Bar Sample Programs
9 Color Mapping
9.1 Overview of Color Choices
9.1 Overview of Color Choices
9.1.1 Simplified Mapping Approach
9.1.2 Controlling the Color Mapping
9.2 COLOR-MODEL Settings
9.2 COLOR-MODEL Settings
9.2.1 What Is a Color Model?
9.3 COLOR-MODEL Settings 1 and 2
9.3 COLOR-MODEL Settings 1 and 2
9.4 COLOR-MODEL Settings 3 and 4
9.4 COLOR-MODEL Settings 3 and 4
9.5 COLOR-MODEL Settings 5 and 6
9.5 COLOR-MODEL Settings 5 and 6
9.6 COLOR-MODEL Settings 7 and 8
9.6 COLOR-MODEL Settings 7 and 8
9.7 COLOR-MODEL Settings 9 and 10
9.7 COLOR-MODEL Settings 9 and 10
9.8 COLOR-TABLE Settings
9.8 COLOR-TABLE Settings
9.9 ActiveX Color Settings
9.9 ActiveX Color Settings
9.10 Miscellaneous Options Under Windows and Windows NT
9.10 Miscellaneous Options Under Windows and Windows NT
9.10.1 Background Brush Color
9.10.2 Drawing 3-D Lines
10 Help Automation
10.1 HELP-ID
10.2 Help Modes
10.3 The Help Processor
10.4 Windows Help
10.4 Windows Help
Mapping context IDs
11 Tips and Hints
11.1 Frequently Asked Questions
11.1 Frequently Asked Questions
11.1.1 Regarding Windows
11.1.2 Regarding Controls
11.1.3 Regarding Fonts
11.1.4 Regarding Configuration Variables
11.1.5 Regarding Debugging
12 UI Terminology
12.1 UI Terminology
Book 3: Reference Manual
1 Introduction
1.1 Overview of Referemce Manual
1.1 Overview of Reference Manual
1.1.1 Upper-Case and Special-Character Words
1.1.2 Lower-Case Words
1.1.3 Brackets, Braces and Vertical Bars
1.1.4 Ellipses
1.1.5 Shading
1.2 Acknowledgment
1.2 Acknowledgment
2 Program Structure
2.1 Language Elements
2.1 Language Elements
2.1.1 COBOL Words
2.1.1 COBOL Words
2.1.1.1 User-defined words
2.1.2 Literals
2.1.2 Literals
2.1.2.1 Numeric literals
2.1.2.2 Nonnumeric literals
2.1.2.3 Figurative constants
2.1.3 Picture Strings
2.1.3 Picture Strings
2.1.4 Separators
2.1.4 Separators
2.1.5 Comment Entries
2.1.5 Comment Entries
2.2 Source Format
2.2 Source Format
2.2.1 ANSI Format
2.2.2 Terminal Format
2.2.3 Line Continuation
2.2.4 Blank Lines and Comment Lines
2.3 Compiler Compatibility Modes
2.3 Compiler Compatibility Modes
2.3.1 ANSI ACCEPT and DISPLAY Verbs
2.4 Source Management Statements
2.4 Source Management Statements
2.4.1 The COPY Statement
2.4.1 The COPY Statement
Code Examples
Highlights for First-Time Users
2.4.2 The REPLACE Statement
2.4.2 The REPLACE Statement
Code Examples
Highlights for First-Time Users
2.5 Program Organization
2.5 Program Organization
2.5.1 Program Elements
2.5.1 Program Elements
2.5.1.1 Division header
2.5.1.2 Section header
2.5.1.3 Paragraph header
2.5.1.4 Clauses and entries
2.5.1.5 Statements
2.5.1.6 Sentences
3 Identification Division
3.1 Identification Division
3.2 PROGRAM-ID Paragraph
4 Environment Division
4.1 Environment Division
4.2 Configuration Section
4.2 Configuration Section
4.2.1 Source-Computer Paragraph
4.2.2 Object-Computer Paragraph
4.2.3 Special-Names Paragraph
4.3 Input-Output Section
4.3 Input-Output Section
4.3.1 File-Control Paragraph
4.3.2 I-O-Control Paragraph
5 Data Division
5.1 Data Structures
5.1 Data Structures
5.1.1 Record Description
5.1.2 Level-Numbers
5.1.3 Classes of Data
5.1.4 Standard Alignment Rules
5.1.5 Table Handling
5.1.6 Large Data Handling
5.1.7 File Types
5.1.8 Floating-Point Data
5.1.8 Floating-Point Data
5.1.8.1 Using floating-point data
5.2 Data Names
5.2 Data Names
5.2.1 Qualification
5.2.2 Subscripting
5.2.3 Reference Modification
5.2.3 Reference Modification
Code Examples
Highlights for First-Time Users
5.2.4 Condition-Name (Level 88)
5.2.4 Condition-Name (Level 88)
5.2.5 RECORD-POSITION
5.2.5 RECORD-POSITION
Code Examples
5.3 Data Division Format
5.3 Data Division Format
5.4 File Section
5.4 File Section
5.4.1 File Description Entry
5.4.2 Sort File Description Entry
5.4.3 IS EXTERNAL Clause
5.4.4 BLOCK CONTAINS Clause
5.4.5 RECORD Clause
5.4.6 LABEL RECORDS Clause
5.4.7 VALUE OF LABEL Clause
5.4.8 VALUE OF FILE-ID Clause
5.4.9 CODE-SET Clause
5.4.10 DATA RECORDS Clause
5.4.11 LINAGE Clause
5.5 WORKING-STORAGE Section
5.5 WORKING-STORAGE Section
5.6 LINKAGE Section
5.6 LINKAGE Section
5.7 Record Description Entry
5.7 Record Description Entry
5.7.1 Data Description Entry
5.7.1 Data Description Entry
5.7.1.1 Level-number
5.7.1.2 The data-name or FILLER clause
5.7.1.3 REDEFINES clause
5.7.1.4 IS EXTERNAL clause
5.7.1.5 IS SPECIAL-NAMES clause
5.7.1.6 IS EXTERNAL-FORM clause
5.7.1.7 PICTURE clause
5.7.1.8 USAGE clause
5.7.1.9 SIGN clause
5.7.1.10 OCCURS clause
5.7.1.11 SYNCHRONIZED clause
5.7.1.12 JUSTIFIED clause
5.7.1.13 BLANK WHEN ZERO clause
5.7.1.14 VALUE clause
5.7.1.15 RENAMES clause
5.8 Screen Section
5.8 Screen Section
5.9 Screen Description Entry
5.9 Screen Description Entry
5.9.1 PICTURE, FROM, TO, and USING Clauses
5.9.2 VALUE Clause
5.9.3 OCCURS Clause
5.9.3 OCCURS Clause
Example: Table on One Line
Example: Two-Element Table
Example with Output
5.9.4 LINE Clause
5.9.4 LINE Clause
5.9.5 COLUMN Clause
5.9.5 COLUMN Clause
5.9.6 PROCEDURE Clause
5.9.6 PROCEDURE Clause
6 Procedure Division
6.1 Organization
6.1 Organization
6.1.1 Statements and Sentences
6.1.1 Statements and Sentences
6.1.1.1 Scope of statements
6.1.2 Flow of Control
6.1.2 Flow of Control
6.2 Arithmetic Expressions
6.2 Arithmetic Expressions
6.2.1 Evaluation of Arithmetic Expressions
6.3 Conditional Expressions
6.3 Conditional Expressions
6.3.1 Relation Conditions
6.3.1 Relation Conditions
6.3.1.1 Comparison of numeric operands
6.3.1.2 Comparison of nonnumeric operands
6.3.2 Class Condition
6.3.2 Class Condition
6.3.3 Sign Condition
6.3.3 Sign Condition
6.3.4 Condition-Name Condition
6.3.4 Condition-Name Condition
6.3.5 Switch-Status Condition
6.3.5 Switch-Status Condition
6.3.6 Complex Conditions
6.3.6 Complex Conditions
6.3.6.1 Combined conditions
6.3.7 Order of Evaluation
6.3.7 Order of Evaluation
6.3.8 Abbreviated Combined Relation Conditions
6.3.8 Abbreviated Combined Relation Conditions
6.4 Common Statement Rules
6.4 Common Statement Rules
6.4.1 Arithmetic Operations
6.4.2 Multiple Receiving Fields
6.4.3 ROUNDED Option
6.4.4 SIZE ERROR Option
6.4.5 CORRESPONDING Option
6.4.6 Unpredictable Results
6.4.7 I/O Status
6.4.8 AT END and INVALID KEY Phrases
6.4.9 Common Screen Options
6.5 Procedure Division Format
6.5 Procedure Division Format
6.6 Procedure Division Statements
6.6 Procedure Division Statements
ACCEPT Statement
ACCEPT Statement
Code Examples
ADD Statement
ADD Statement
Code Examples
ALTER Statement
ALTER Statement
CALL Statement
CALL Statement
CANCEL Statement
CANCEL Statement
CHAIN Statement
CHAIN Statement
CLOSE Statement
CLOSE Statement
COMMIT Statement
COMMIT Statement
COMPUTE Statement
COMPUTE Statement
CONTINUE Statement
CONTINUE Statement
CREATE Statement
CREATE Statement
DELETE Statement
DELETE Statement
DESTROY Statement
DESTROY Statement
DISPLAY Statement
DISPLAY Statement
DISPLAY src-item
DISPLAY src-item
DISPLAY screen-name
DISPLAY screen-name
DISPLAY WINDOW
DISPLAY WINDOW
DISPLAY SCREEN SIZE
DISPLAY SCREEN SIZE
DISPLAY LINE
DISPLAY LINE
DISPLAY BOX
DISPLAY BOX
DISPLAY UPON WINDOW TITLE
DISPLAY UPON WINDOW TITLE
DISPLAY UPON COMMAND LINE
DISPLAY UPON COMMAND LINE
DISPLAY src-item (ANSI format)
DISPLAY src-item (ANSI format)
DISPLAY UPON GLOBAL TITLE
DISPLAY UPON GLOBAL TITLE
DISPLAY FLOATING WINDOW
DISPLAY FLOATING WINDOW
DISPLAY INITIAL WINDOW
DISPLAY INITIAL WINDOW
DISPLAY TOOL-BAR
DISPLAY TOOL-BAR
DISPLAY control-type-name
DISPLAY control-type-name
DISPLAY MESSAGE BOX
DISPLAY MESSAGE BOX
DISPLAY external-form-item
DISPLAY external-form-item
DIVIDE Statement
DIVIDE Statement
ENTRY Statement
ENTRY Statement
EVALUATE Statement
EVALUATE Statement
Code Examples
Highlights for First-Time Users
EXIT Statement
EXIT Statement
GOBACK Statement
GOBACK Statement
GO TO Statement
GO TO Statement
IF Statement
IF Statement
INITIALIZE Statement
INITIALIZE Statement
INQUIRE Statement
INQUIRE Statement
INSPECT Statement
INSPECT Statement
Code Examples
Highlights for First-Time Users
LOCK Statement
LOCK Statement
MERGE Statement
MERGE Statement
Code Examples
Highlights for First-Time Users
MODIFY Statement
MODIFY Statement
MOVE Statement
MOVE Statement
MULTIPLY Statement
MULTIPLY Statement
OPEN Statement
OPEN Statement
PERFORM Statement
PERFORM Statement
READ Statement
READ Statement
RECEIVE Statement
RECEIVE Statement
RELEASE Statement
RELEASE Statement
RETURN Statement
RETURN Statement
REWRITE Statement
REWRITE Statement
ROLLBACK Statement
ROLLBACK Statement
SEARCH Statement
SEARCH Statement
Code Examples
Highlights for First-Time Users
SEND Statement
SEND Statement
SET Statement
SET Statement
SORT Statement
SORT Statement
Code Examples
Highlights for First-Time Users
START Statement
START Statement
STOP Statement
STOP Statement
STRING Statement
STRING Statement
Code Examples
Highlights for First-Time Users
SUBTRACT Statement
SUBTRACT Statement
UNLOCK Statement
UNLOCK Statement
UNSTRING Statement
UNSTRING Statement
Code Examples
Highlights for First-Time Users
USE Statement
USE Statement
Code Examples
Highlights for First-Time Users
WAIT Statement
WAIT Statement
WRITE Statement
WRITE Statement
Book 4: Appendices
A Installation
A.1 License Files, Sample Programs, ".def" and ".dll" Files
A.1 License Files, Sample Programs, ".def" and ".dll" Files
License management
License file names
Sample programs
Definition files
DLL files
A.2 Configuring Your Terminals
A.2 Configuring Your Terminals
A.2.1 TERM Variable
A.2.2 Terminal Database
B Specifications
B.1 COBOL Modules
B.2 Limits and Ranges
B.3 Extensions
B.4 Restrictions
C Interfacing to C Subroutines
C.1 Overview of Interface Methods
C.1 Overview of Interface Methods
C.1.1 Helpful Hints
C.2 Direct Method
C.2 Direct Method
C.3 Interface Method
C.3 Interface Method
C.3.1 The "SUB" Interface
C.3.1 The "SUB" Interface
C.3.1.1 Placing the "sub" routine in a DLL
C.3.2 The "SUB85" Interface
C.3.2 The "SUB85" Interface
C.4 Matching C Data Items
C.4 Matching C Data Items
C.5 Creating a New Runtime System
C.5 Creating a New Runtime System
C.6 Calling COBOL Routines From C
C.6 Calling COBOL Routines From C
D ACUCOBOL-GT Reserved Words
D.1 Reserved Word List
E RM/COBOL Conversion Guide
E.1 Compile-Time Options
E.2 Runtime Options
E.3 Memory Management
F Changes Affecting Previous Versions
Changes Affecting Version 5.1
Changes Affecting Version 5.0
Changes Affecting Version 4.3
Changes Affecting Version 4.2
Changes Affecting Version 4.1
Changes Affecting Version 4.0
Changes Affecting Version 3.2
Changes Affecting Version 3.1
Changes Affecting Version 2.4
Changes Affecting Version 2.3
Changes Affecting Version 2.1
Changes Affecting Version 2.0
Changes Affecting Version 1.5
Changes Affecting Version 1.4
Changes Affecting Version 1.3
G IBM DOS/VS COBOL Compatibility
G.1 The "-Cv" Command Line Argument
G.1 The "-Cv" Command Line Argument
G.1.1 ACUCOBOL-GT and IBM DOS/VS COBOL-Specific Features
G.1.1 ACUCOBOL-GT and IBM DOS/VS COBOL-Specific Features
ACTUAL KEY Clause and SEEK
ADVANCING in WRITE Statement
AFTER POSITIONING Clause
APPLY Clause Options
BASIS, INSERT, DELETE
COM-REG
COPY SUPPRESS Statement
CURRENT-DATE
DATE-COMPILED
Debugging Features
DISPLAY UPON SYSPUNCH
EJECT, SKIP in Listing
ENTER Statement
EXAMINE
FILE-LIMIT Clause
File Status Codes
IDENTIFICATION Division Arrangement
IF OTHERWISE
NOTE Statement
Password Protection of Files
PROCESSING MODE Clause
PROGRAM-ID Program Name
RECORDING MODE Clause
REVERSED Sequential Input Files
SORT Statement Registers
SPECIAL-NAMES
TIME-OF-DAY
TRACK-AREA Clause
TRANSFORM Statement
USE GIVING
VALUE OF Clause
WHEN-COMPILED
WRITE ADVANCING Special-Name
G.1.2 Reserved Words
G.1.2 Reserved Words
G.2 COMP-1 and COMP-2 are Floating-Point
G.2 COMP-1 and COMP-2 are Floating-Point
G.3 External Floating-Point (EFP)
G.3 External Floating-Point (EFP)
G.3.1 External Floating-Point Data Type
G.3.2 The Picture
H Configuration File Entries
H.1 Introduction
H.2 Configuration File Entries
H.2 Configuration File Entries
132_MODE
3D_LINES
7_BIT
A_LICENSE_RETRIES
A_RETRY_DELAY
A_WAIT_FOR_LICENSE
ACCEPT_TIMEOUT
ACTIVE_BORDER_COLOR
ACUCOBOL
ALFRED_BITMAP_FILE
ALFRED_ . . . _BITMAP
ALFRED_ . . . _COLOR
ALFRED_ENTRY_FIELDS
ALFRED_GET_PRINTER
ALFRED_MESSAGE_FILE
ALFRED_PRINT_HEADER_n
ALFRED_PRINTER_NAME
ALFRED_TOOLS_FILE
APPLY_CODE_PATH
APPLY_FILE_PATH
AUTO_BUFFER
AUTO_DECIMAL
AUTO_PROMPT
BACKGROUND_INTENSITY
BELL
BOXED_FLOATING_WINDOWS
BTRV_MASS_UPDATE
BUFFERED_SCREEN
CANCEL_ALL_DLLS
CARRIAGE_CONTROL_FILTER
CGI_AUTO_HEADER
CGI_NO_CACHE
CGI_STRIP_CR
CHAIN_MENUS
CHECK_USING
C_ISAM_COMPRESS_KEYS
CLOSE_ON_EXIT
CODE_CASE
CODE_MAPPING
CODE_PREFIX
CODE_SUFFIX
CODE_SYSTEM*
COLOR_MAP*
COLOR_MODEL*
COLOR_TABLE*
COLOR_TRANS
COLUMN_SEPARATION
COMPRESS_FACTOR
COMPRESS_FILES
CURRENCY
CURSOR_MODE
CURSOR_TYPE
DECIMAL_POINT
DEFAULT_FONT
DEFAULT_HOST
DEFAULT_MAP_FILE
DEFAULT_PROGRAM
DEFAULT_TIMEOUT
DISABLED_CONTROL_COLOR
DISPLAY_SWITCH_PERIOD
DLL_CONVENTION
DLL_SUB_INTERFACE
DOS_BOX_CHARS*
DOS_OUTPUT_METHOD
DOS_WATCOM_10
DOUBLE_CLICK_TIME
DUPLICATES_LOG
EDIT_MODE
EF_UPPER_WIDE
EF_WIDE_SIZE
EOF_ABORTS
EOL_CHAR
ERRORS_OK
EXIT_CURSOR
EXTEND_CREATES
EXTERNAL_SIZE
EXTRA_KEYS_OK
F10_IS_MENU
FAST_ESCAPE
FIELDS_UNBOXED
FILE_CASE
FILE_CONDITION*
FILE_IO_PROCESSES_MESSAGES
FILE_PREFIX
FILE_STATUS_CODES*
FILE_SUFFIX
FILE_TRACE
FILE_TRACE_FLUSH
filename
filename_DATA_FMT
filename_HOST
filename_INDEX_FMT
filename_LOG
FILENAME_SPACES
filename_VERSION
filesystem_DETACH
FLUSH_ALL
FLUSH_COUNT
FLUSH_ON_ACCEPT
FLUSH_ON_CLOSE
FLUSH_ON_COMMIT
FLUSH_ON_OPEN
FONT*
FONT_AUTO_ADJUST
FONT_SIZE_ADJUST
FONT_WIDE_SIZE_ADJUST
FOREGROUND_INTENSITY
FULL_BOXES
GUI_CHARS*
HINTS_OFF
HINTS_ON
HOT_KEY*
HTML_TEMPLATE_PREFIX*
ICOBOL_FILE_SEMANTICS*
ICON
IMPORT_USES_CELL_SIZE
INACTIVE_BORDER_COLOR
INPUT_STATUS_DEFAULT
INSERT_MODE
INTENSITY_FLAGS
IO_CREATES
IO_READ_LOCK_TEST
ISOLATE_FILE_CREATES
JUSTIFY_NUM_FIELDS
KEY_MAP
KEYBOARD*
KEYSTROKE*
LC_ALL
LISTS_UNBOXED
LOCK_DIR
LOCK_OUTPUT
LOCK_SORT
LOCKED_RECORD_DELAY
LOCKING_RETRIES
LOCKS_PER_FILE
LOG_BUFFER_SIZE
LOG_DEVICE
LOG_DIR
LOG_ENCRYPTION
LOG_FILE
LOGGING
MAKE_ZERO*
MASS_UPDATE*
MAX_ERROR_LINES*
MAX_FILES
MAX_LOCKS
MENU_ITEM*
MESSAGE_BOX_COLOR
MESSAGE_QUEUE_SIZE
MIN_REC_SIZE
MONOCHROME
MOUSE*
MOUSE_FLAGS
NO_CONSOLE
NO_LOG_FILE_OK
NUMERIC_VALIDATION
OLD_ARIAL_DIMENSIONS
OPEN_FILES_ONCE
OPTIMIZE_CONTROL_RESIZE
PAGE_EJECT_ON_CLOSE
PERFORM_STACK
PROMPTING
QUEUE_READERS
QUIT_MODE
RECURSION
REL_DELETED_VALUE
RENEW_TIMEOUT
RESIZE_FRAMES
RESIZE_FREELY
RESTRICTED_VIDEO_MODE
RMS_NATIVE_KEYS
SCREEN*
SCREEN_COL_PLUS_BASE
SCRIPT_STATUS
SCROLL
server_MAP_FILE
SHARED_CODE*
SHUTDOWN_MESSAGE_BOX
SORT_DIR
SORT_FILES
SORT_MEMORY
SORT_RESERVE
SPACES_ZERO
SPOOL_FILE
STOP_RUN_ROLLBACK
STRIP_TRAILING_SPACES
SWITCH_PERIOD
TEMP_DIR
TEMPORARY_CONTROLS
TEXT*
TRANSLATE_TO_ANSI
TREE_ROOT_SPACE
TREE_TAB_SIZE
TRX_HOLDS_LOCKS
UPPER_LOWER_MAP*
USE_LOCAL_SERVER
USE_MOUSE
V_BUFFERS
V_BUFFER_DATA
V_BULK_MEMORY
V_FORCE_OPEN
V_INTERNAL_LOCKS
V_LOCK_METHOD
V_MARK_READ_CORRUPT
V_NO_ASYNC_CACHE_DATA
V_READ_AHEAD
V_SEG_SIZE
V_VERSION
V23_GRAPHICS_CHARACTERS
V30_MEASUREMENTS
V31_FLOATING_POINT
V42_FLOATING_POINT
V43_PRINTER_CELLS
V52_GRID_GOTO
WAIT_FOR_ALL_PIPES
WAIT_FOR_FILE_ACCESS
WAIT_FOR_LOCKS
WARNINGS
WARNING_ON_RECURSIVE_ACCEPTS
WHITE_FILL
WIN_ERROR_HANDLING
WIN_F4_DROPS_COMBOBOX
WIN3_CLIP_CONTROLS
WIN3_EF_PADDED
WIN3_GRID
WIN32_3D
WINDOW_INTENSITY
WINDOW_TITLE
WRAP
XFD_DIRECTORY
I ACUCOBOL-GT Library Routines
I.1 Library Routines
ASCII2HEX Routine
ASCII2OCTAL Routine
CBL_AND Routine
CBL_COPY_FILE Routine
CBL_CREATE_DIR Routine
CBL_DELETE_DIR Routine
CBL_DELETE_FILE Routine
CBL_EQ Routine
CBL_ERROR_PROC
CBL_EXIT_PROC
CBL_GET_EXIT_INFO
CBL_NOT Routine
CBL_OR Routine
CBL_XOR Routine
C$ASYNCPOLL
C$ASYNCRUN
C$CALLEDBY Routine
C$CALLERR Routine
C$CHAIN Routine
C$CHDIR Routine
C$COPY Routine
C$DELETE Routine
C$EXCEPINFO Routine
C$FILEINFO Routine
C$FILESYS Routine
C$FULLNAME Routine
C$GETCGI Routine
C$GETEVENTDATA Routine
C$GETEVENTPARAM Routine
C$GETLASTFILEOP Routine
C$GETVARIANT Routine
C$JUSTIFY Routine
C$KEYMAP Routine
C$KEYPROGRESS Routine
C$LIST-DIRECTORY Routine
C$LOCALPRINT Routine
C$LOCKPID Routine
C$MAKEDIR Routine
C$MEMCPY (Dynamic Memory Routine)
C$NARG Routine
C$OPENSAVEBOX Routine
C$PARAMSIZE Routine
C$RECOVER Routine
C$REDIRECT Routine
C$RERR Routine
C$RERRNAME Routine
C$RESOURCE Routine
C$RUN Routine
C$SETEVENTDATA Routine
C$SETEVENTPARAM Routine
C$SETVARIANT Routine
C$SLEEP Routine
C$SYSTEM Routine
C$TOUPPER and C$TOLOWER Routines
Error and Exit Procedures
HEX2ASCII Routine
I$IO Routine
LIB$GET_SYMBOL Routine
LIB$SET_SYMBOL Routine
Routines to Handle Dynamic Memory
M$ALLOC (Dynamic Memory Routine)
M$FREE (Dynamic Memory Routine)
M$GET (Dynamic Memory Routine)
M$PUT (Dynamic Memory Routine)
OCTAL2ASCII Routine
Routines to Handle the Windows Registry
REG_CLOSE_KEY Routine
REG_CREATE_KEY Routine
REG_CREATE_KEY_EX Routine
REG_DELETE_KEY Routine
REG_DELETE_VALUE Routine
REG_ENUM_KEY Routine
REG_ENUM_VALUE Routine
REG_OPEN_KEY Routine
REG_OPEN_KEY_EX Routine
REG_QUERY_VALUE Routine
REG_QUERY_VALUE_EX Routine
REG_SET_VALUE Routine
REG_SET_VALUE_EX Routine
RENAME Routine
SYSTEM Routine
W$BITMAP Routine
W$BROWSERINFO Routine
W$FLUSH Routine
W$FONT Routine
W$FORGET Routine
W$GETC Routine
W$GETURL Routine
$WINHELP Routine
W$KEYBUF Routine
W$MENU Routine
W$MOUSE Routine
W$PALETTE Routine
W$STATUS Routine
W$TEXTSIZE Routine
WIN$PLAYSOUND Routine
Routine to Handle the Windows Print Spooler
WIN$PRINTER Routine
WIN$PRINTER Routine
Printer Information op-codes
Printer Information op-codes
WINPRINT-GET-SETTINGS-SIZE
WINPRINT-SETUP
WINPRINT-SUPPORTED
WINPRINT-GET-SPOOL-ERR
WINPRINT-DATA op-codes-
-
WINPRINT-DATA op-codes
WINPRINT-GET-CAPABILITIES
WINPRINT-GET-PAGE-LAYOUT
WINPRINT-GRAPH-DRAW
WINPRINT-GRAPH-BRUSH
WINPRINT-GRAPH-PEN
WINPRINT-PRINT-BITMAP
WINPRINT-SET-CURSOR
WINPRINT-SET-TEXT-COLOR
WINPRINT-SET-FONT
WINPRINT-SET-LINES-PER-PAGE
WINPRINT-SET-MARGINS
WINPRINT-SET-STD-FONT
WINPRINT-SELECTION op-codes
WINPRINT-SELECTION op-codes
WINPRINT-GET-CURRENT-INFO
WINPRINT-GET-CURRENT-INFO-EX
WINPRINT-GET-NO-PRINTERS
WINPRINT-GET-PRINTER-INFO
WINPRINT-GET-PRINTER-INFO-EX
WINPRINT-GET-PRINTER-STATUS
WINPRINT-SET-PRINTER
WINPRINT-SET-PRINTER-EX
WINPRINT-COLUMN op-codes
-
WINPRINT-COLUMN op-codes
WINPRINT-SET-DATA-COLUMNS
WINPRINT-CLEAR-DATA-COLUMNS
WINPRINT-SET-PAGE-COLUMN
WINPRINT-CLEAR-PAGE-COLUMNS
WINPRINT-GET-PAGE-COLUMN
WINPRINT-JOB-STATUS op-codes
WINPRINT-JOB-STATUS op-codes
WINPRINT-GET-JOB-STATUS
WINPRINT-SET-JOB-STATUS
WINPRINT-MEDIA op-codes
WINPRINT-MEDIA op-codes
WINPRINT-GET-PRINTER-MEDIA
USER-DATA op-codes
USER-DATA op-codes
WINPRINT-GET-SETTINGS
WINPRINT-SET-SETTINGS
WIN$VERSION Routine
WIN$VERSION Routine
J File Status Codes
J.1 Introduction
J.2 Table of Codes
J.3 Vision Secondary Error Codes for Error 98s
J.4 Transaction Error Codes
J.4 Transaction Error Codes
J.4.1 Primary Error Codes
J.4.2 Secondary Error Codes for Error 01
J.5 IBM DOS/VS Error Codes
J.5 IBM DOS/VS Error Codes
K ICOBOL Conversion Guide
K.1 Compile-Time Issues
K.2 Runtime Options
K.3 Differences
L Color Configuration
L.1 Color Configuration Variables
L.1 Color Configuration Variables
Step 1 - Assign Initial Colors
Step 2 - Assign Initial Attributes
Step 3 - Transform Colors
Step 4 - Transform Intensities
M Host Specific Information
M.1 Introduction to Host Specific Features
M.2 32-bit Windows
M.2 32-bit Windows
M.2.1 Message Boxes
M.2.2 Keyboard Differences
M.2.3 Hardware Error Handling
M.2.4 Special Characteristics of 32-bit Windows
M.2.4 Special Characteristics of 32-bit Windows
Memory
SYSTEM
C$SYSTEM
ACCEPT SYSTEM-INFORMATION FROM SYSTEM-INFO
Assembly routines
Hardware errors
C$CHAIN
M.2.5 Calling DLLs
M.2.5 Calling DLLs
M.2.6 Using the SDK
M.2.6 Using the SDK
Building a new runtime
User interface approaches
Using C only - no COBOL
Using C and COBOL
M.2.7 Calling ACUCOBOL-GT from Other Programming Languages in a 32-bit
Windows Environment
M.2.7 Calling ACUCOBOL-GT from Other Programming Languages in a 32-bit
Windows Environment
Using the Automation Server
Calling the Runtime DLL
M.2.8 ActiveX and OLE Objects
M.2.8 ActiveX and OLE Objects
M.2.9 SUPPORT FOR IBM SERVERS
M.2.9 SUPPORT FOR IBM SERVERS
Connecting to CICS Applications
Connecting to MQSeries Applications
M.3 UNIX
M.3 UNIX
M.3.1 Calling Functions in Shared Libraries
N Compiler Error Messages
N.1 Introduction
N.2 List of Errors
O Language Skeleton
O.1 ACUCOBOL-GT Language Skeleton
Program Organization
Identification Division
Environment Division
Environment Division
Source Computer Entry
Object Computer Entry
Special Names Entry
Special Names Entry
Alphabet Entry
File Control Entry
File Control Entry
I-O Control Entry
I-O Control Entry
Data Division
Data Division
File Description
Sort File Description
Record Description Entry
Data Description Entry
Screen Description Entry
Procedure Division
Procedure Division
Formats for COBOL Verbs
Formats for COBOL Verbs
ACCEPT
ADD
ALTER
CALL
CANCEL
CHAIN
CLOSE
COMMIT
COMPUTE
CONTINUE
CREATE
DELETE
DESTROY
DISPLAY
DIVIDE
ENTRY
EVALUATE
EXIT
GOBACK
GO TO
IF
INITIALIZE
INQUIRE
INSPECT
LOCK
MERGE
MODIFY
MOVE
MULTIPLY
OPEN
PERFORM
READ
RECEIVE
RELEASE
RETURN
REWRITE
ROLLBACK
SEARCH
SEND
SET
SORT
START
STOP
STRING
SUBTRACT
UNLOCK
UNSTRING
USE
WAIT
WRITE
Simple Conditions
Negated Condition
Combined Condition
Abbreviated Combined Condition
Qualification
Subscripting
Reference Modification
RECORD-POSITION
Compiler-Directing Statements
P Intrinsic Functions
P.1 Introduction
P.2 Function Definitions and Returned Values
P.2 Function Definitions and Returned Values
P.2.1 Function Definitions
ACOS Function
ANNUITY Function
ASIN Function
ATAN Function
CHAR Function
COS Function
CURRENT-DATE Function
DATE-OF-INTEGER Function
DAY-OF-INTEGER Function
FACTORIAL Function
INTEGER Function
INTEGER-OF-DATE Function
INTEGER-OF-DAY Function
INTEGER-PART Function
LENGTH Function
LOG Function
LOG10 Function
LOWER-CASE Function
MAX Function
MEAN Function
MEDIAN Function
MIDRANGE Function
MIN Function
MOD Function
NUMVAL Function
NUMVAL-C Function
ORD Function
ORD-MAX Function
ORD-MIN Function
PRESENT-VALUE Function
RANDOM Function
RANGE Function
REM Function
REVERSE Function
SIN Function
SQRT Function
STANDARD-DEVIATION Function
SUM Function
TAN Function
UPPER-CASE Function
VARIANCE Function
WHEN-COMPILED Function
Q HP e3000 COBOL Compatibility
-
Q.1 Introduction to HP e3000 COBOL Compatibility
-
Q.1 Introduction to HP e3000 COBOL Compatibility-
Q.1.1 HP e3000 Environment and ACUCOBOL-GT
Q.1.1.1 MPE Environment
Q.1.1.2 POSIX Environment
Q.2 The "-Cp" Command Line Argument
Q.2 The "-Cp" Command Line Argument
Q.2.1 Special Names Paragraph
Q.2.2 File Control Paragraph
Q.2.3 Procedure Division Register Extensions
Q.2.4 Procedure Division Statements-
Q.2.4 Procedure Division Statements
CALL statement
CONDITION-CODE phrase on CALL statement
CONVERT phrase on ACCEPT statement
COPY statement
EXAMINE statement
FREE phrase on ACCEPT statement
Q.3 HP e3000 COBOL Preprocessor
Q.3 HP e3000 COBOL Preprocessor
$COMMENT directive
$CONTROL directive
$DEFINE directive
$PREPROCESSOR directive
$IF and $SET directives
$INCLUDE directive
Q.4 System Intrinsics
Q.4 System Intrinsics
Q.5 Conversion Issues
Q.5 Conversion Issues
Q.5.1 Unsupported HP COBOL Extensions
Q.5.2 Unrecognized HP COBOL Extensions
Q.6 AcuBench and HP e3000
Q.6 AcuBench and HP e3000
(c) Copyright Acucorp, Inc., 1988-2001. ALL RIGHTS RESERVED.
Acucorp, Acucobol, AcuBench, AcuConnect, AcuServer, AcuSQL, Acu4GL, AcuLaunch, and extend are trademarks of
Acucorp, Inc. AcuODBC is a registered trademark of Acucorp, Inc. Acu4GL is protected by U.S. patent no. 5,640,550.
Other brand and product names are trademarks or registered trademarks of their holders.