HP 3000 Manuals

Overview [ COBOL/HP-UX Operating Guide for the Series 700 and 800 ] MPE/iX 5.0 Documentation


COBOL/HP-UX Operating Guide for the Series 700 and 800

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 (ADIS.gnt)

ADISINIT             the initialization module (used only when ADIS is
                     first loaded) (ADISINIT.gnt)

ADISKEY              the keyboard-handling module, consisting of the two
                     files ADISKEY.gnt and ADISKEY2.gnt

ADISDYNA             the ADIS dynamic attributes module (ADISDYNA.gnt)

	       Click here to view figure.
          Figure 20-1.  The ADIS Modules 

Enhanced ACCEPT/DISPLAY 

The enhanced ACCEPT/DISPLAY syntax 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 allows 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 Section is a section in the Data Division 
containing 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 such features as
NO-ECHO, 
JUSTIFIED RIGHT, 
BLANK 
WHEN ZERO, 
etc.  How the screen definitions are ACCEPTed and DISPLAYed in the
Procedure Division is handled by ADIS.

Configuration 

ADIS can be configured to affect the behavior of ACCEPT and DISPLAY
statements at run time.  You can configure ADIS in two ways:

   1.  by using its screen and keyboard configuration utilities (ADISCF 
       and KEYBCF 
       respectively) to tailor its behavior in an application, or

   2.  by making calls to ADIS from the COBOL application at run time.



MPE/iX 5.0 Documentation