Compaq COBOL
User Manual


Previous Contents Index

Chapter 11
11 Using ACCEPT and DISPLAY Statements for Input/Output and Video Forms
     11.1     Using ACCEPT and DISPLAY for I/O
     11.2     Designing Video Forms with ACCEPT and DISPLAY Statement Extensions
         11.2.1         Clearing a Screen Area
         11.2.2         Horizontal and Vertical Positioning of the Cursor
         11.2.3         Assigning Character Attributes to Your Format Entries
         11.2.4         Using the CONVERSION Phrase to Display Numeric Data
         11.2.5         Handling Data with ACCEPT Options
             11.2.5.1             Using CONVERSION with ACCEPT Data
             11.2.5.2             Using ON EXCEPTION When Accepting Data with CONVERSION
             11.2.5.3             Protecting the Screen
             11.2.5.4             Using NO ECHO with ACCEPT Data
             11.2.5.5             Assigning Default Values to Data Fields
         11.2.6         Using Terminal Keys to Define Special Program Functions
         11.2.7         Using the EDITING Phrase
     11.3     Designing Video Forms with Screen Section ACCEPT and DISPLAY (Alpha)
         11.3.1         Using Screen Section Options (Alpha)
             11.3.1.1             Comparison of Screen Section Extensions (Alpha) with Other Extensions of ACCEPT and DISPLAY
Chapter 12
12 Interprogram Communication
     12.1     Multiple COBOL Program Run Units
         12.1.1         Examples of COBOL Run Units
         12.1.2         Calling Procedures
     12.2     COBOL Program Attributes
         12.2.1         The INITIAL Clause
         12.2.2         The EXTERNAL Clause
     12.3     Transferring Flow of Control
         12.3.1         The CALL Statement
         12.3.2         Nesting CALL Statements
         12.3.3         The EXIT PROGRAM Statement
         12.3.4         CALL Literal Versus CALL Data Name
     12.4     Accessing Another Program's Data Division
         12.4.1         The USING Phrase
         12.4.2         The Linkage Section
     12.5     Communicating with Contained COBOL Programs
         12.5.1         The COMMON Clause
         12.5.2         The GLOBAL Clause
             12.5.2.1             Sharing GLOBAL Data
             12.5.2.2             Sharing GLOBAL Files
             12.5.2.3             Sharing USE Procedures
             12.5.2.4             Sharing Other Resources
     12.6     Calling Compaq COBOL Programs from Other Languages (Alpha)
         12.6.1         Calling COBOL Programs from C (Alpha)
     12.7     Calling Non-COBOL Programs from Compaq COBOL
         12.7.1         Calling a Fortran Program
         12.7.2         Calling a BASIC Program
         12.7.3         Calling a C Program
     12.8     Special Considerations for Interprogram Communication
         12.8.1         CALL and CANCEL Arguments
         12.8.2         Calling OpenVMS Alpha Shareable Images (OpenVMS)
         12.8.3         Calling Tru64 UNIX Shareable Objects (Tru64 UNIX)
         12.8.4         Case Sensitivity on Tru64 UNIX
             12.8.4.1             Linker Case Sensitivity
             12.8.4.2             Calling C Programs from Compaq COBOL on Tru64 UNIX
             12.8.4.3             Calling COBOL Programs from C on Tru64 UNIX
         12.8.5         Additional Information
Chapter 13
13 Using Compaq COBOL in the Alpha or VAX Common Language Environment
     13.1     Routines, Procedures, and Functions
     13.2     The OpenVMS Calling Standard (OpenVMS)
         13.2.1         Register and Stack Usage (Alpha)
         13.2.2         Return of the Function Value
         13.2.3         The Argument List
     13.3     OpenVMS System Routines (OpenVMS)
         13.3.1         OpenVMS Run-Time Library Routines
         13.3.2         System Services
     13.4     Calling Routines
         13.4.1         Determining the Type of Call (OpenVMS)
         13.4.2         Defining the Argument (OpenVMS)
         13.4.3         Calling the External Routine (OpenVMS)
         13.4.4         Calling System Routines (OpenVMS)
             13.4.4.1             System Routine Arguments (OpenVMS)
             13.4.4.2             Calling a System Routine in a Function Call (OpenVMS)
             13.4.4.3             Calling a System Routine in a Procedure Call (OpenVMS)
         13.4.5         Checking the Condition Value (OpenVMS)
             13.4.5.1             Library Return Status and Condition Value Symbols (OpenVMS)
         13.4.6         Locating the Result (OpenVMS)
     13.5     Establishing and Removing User Condition Handlers (OpenVMS)
     13.6     Examples (OpenVMS)
Chapter 14
14 Using the REFORMAT Utility
     14.1     Running the REFORMAT Utility
     14.2     ANSI-to-Terminal Format Conversion
     14.3     Terminal-to-ANSI Format Conversion
     14.4     REFORMAT Error Messages


Previous Next Contents Index