HP 3000 Manuals

Overview [ Micro Focus COBOL System Reference, Volume 1 ] MPE/iX 5.0 Documentation


Micro Focus COBOL System Reference, Volume 1

Overview 

Adis provides the run-time support for Screen Section and enhanced
ACCEPT/DISPLAY syntax.  Adis consists of four modules:

Adis                 

                    The main support module.

adisinit            The initialization module, used only when Adis is
                    first loaded.

ADISKEY              

                    The keyboard-handling module.

adisdyna            The Adis dynamic attributes module.

[]
Figure 2-1: The Adis Modules Enhanced ACCEPT/DISPLAY The enhanced ACCEPT/DISPLAYsyntax provides functionality beyond the standard ANSI ACCEPT syntax, which enables you to input a data item or accept the day, date or time into a data item, and the ANSI DISPLAY syntax, which enables you to output literals and the contents of data items. With the enhanced ACCEPT/DISPLAY syntax supported by Adis, you can specify screen position and screen attributes. It also makes it possible to do either single-field or multiple-field ACCEPT operations. For multiple-field ACCEPT operations, FILLER describes the number of character positions to skip over to the next field. In a DISPLAY operation, FILLER defines the number of spaces between literals. All areas defined as FILLER are unaffected by the ACCEPT or DISPLAY operation. Screen Section The Screen Sectionis a section in the Data Divisioncontaining one or more screen definitions. A screen definition may contain fields, groups, text and attributes. Fields may have edited picture strings and may also have features such as NO-ECHO, JUSTIFIED RIGHTand BLANKWHEN ZERO. The effect of ACCEPT and DISPLAY statements on screen definitions is handled by Adis. Configuration Adis can be configuredto affect the behavior of ACCEPT and DISPLAY statements at run time. You can configure Adis in two ways: 1. by using its screen configuration utility (Adiscf) to tailor its behavior in an application (see the chapter Adis Configuration Utility (Adiscf)). 2. by making calls to Adis from the COBOL application at run time.


MPE/iX 5.0 Documentation