Character User Interfaces
Table of Contents
Index
Chapter 2: Enhanced ACCEPT/DISPLAY Syntax
2.1 Accepting Elementary Data Items from Single Fields
2.1.1 Accepting Single Fields
2.1.2 Alphanumeric Fields
2.1.3 Numeric and Numeric-edited Fields
2.1.3.1 Fixed-format Data Entry
2.1.3.2 Free-format Data Entry
2.1.3.3 RM-style Data Entry
2.2 Displaying Elementary Data Items in Single Fields
2.2.1 Displayed Data Format - Examples
2.2.2 Displaying Single Fields
2.2.3 Control Sequences in Displayed Data
2.2.4 Displaying Highlighted Text
2.3 Accepting and Displaying Group Items
2.3.1 Accepting into group items
2.3.2 Displaying group items
2.3.2.1 MODE IS BLOCK Clause
2.4 Accepting and Displaying Screen Section Items
2.4.1 Positioning the Cursor for ACCEPT Statements
2.5 Accepting and Displaying Data on Large Screens
2.5.1 CONTROL Clause
2.6 Keyboard Handling Via Adis
2.6.1 Types of Adis Keys
2.6.1.1 Function Keys
2.6.1.2 Data Keys
2.6.1.3 Shift Keys
2.6.1.4 Lock Keys
2.6.2 Function Key Handling
2.6.3 Determining which Function Key is Pressed
2.6.3.1 The CRT STATUS Clause
2.6.4 Normal termination of an ACCEPT operation
2.6.5 Default User Function Keys
2.6.5.1 Enabling and Disabling User Function Keys
2.6.5.2 Detecting User Function Keys
2.6.5.3 Converting Keys Between Different Dialects of COBOL
2.6.5.3.1 Using the Compatibility Key List for Adis Keys
2.6.5.4 The User Function Keys and Validation Clauses
2.6.6 Using the Adis Keys
2.6.6.1 Key Mappings for Standard Adis Functions
2.6.6.1.1 Standard Adis Key Functions
2.6.6.1.2 Special Mapping Functions in Adis
2.6.6.1.3 Mapping the Adis Keys to the Functions
2.6.6.2 Key Mappings for Special Adis Functions
2.6.6.3 Changing Adis Key Mappings from a Program
2.6.6.4 Conflict With the x"B0" COBOL System Library Routine
2.6.6.5 Enabling and Disabling Adis Keys
2.6.6.6 Detecting Adis Function Keys
2.6.7 Defining a key in Both the User and Adis Key Lists
2.6.8 Data Key Handling
2.6.8.1 Controlling the Data Keys
2.6.8.2 Detecting Data Keys Set Up to Act as Function Keys
2.6.9 Shift Key Handling
2.6.9.1 Determining Available Shift Keys
2.6.9.2 Detecting the Current State of the Shift Keys
2.6.9.3 Enabling or Disabling Shift Keys to Terminate an ACCEPT
2.6.10 Lock Key Handling
2.6.10.1 Determining Available Lock Keys
2.6.10.2 Detecting the Current State of the Lock Keys
2.6.10.3 Enabling or Disabling Lock Keys to Terminate an ACCEPT
2.6.10.4 To convert characters accepted to uppercase