Microsoft KB Archive/32163

ACCEPT/DISPLAY Support: ADISINIT, ADIS, & ADISKEY.OBJ

PSS ID Number: Q32163 Article last modified on 04-21-1993

3.00 3.00a 4.00 4.50 | 3.00 3.00a 4.00 4.50 MS-DOS | OS/2

Summary: In COBOL Version 3.0, 3.0a, 4.0, and 4.5, ACCEPT and DISPLAY functionality is provided through the following three separate object (.OBJ) files:

More Information: 1. ADISINIT.OBJ This module contains screen-specific information, (read from ADISCTRL by ADISCF) used in initializing ADIS. Once ADIS has been initialized, this module is canceled. 2. ADIS.OBJ This module is the primary ACCEPT/DISPLAY interface to and from the COBOL Run-time System. One of the most powerful features of ADIS is its configurability. You are given a large amount of control over how you want DISPLAY and ACCEPT statements to be executed. To allow this control, two configuration programs are supplied on the COBOL install disks – ADISCF and KEYBCF. At run time, ADIS looks for two files, ADISCTRL and COBKEYMP, first in the current directory. If these files are not found there, ADIS looks in the system directory (the directory pointed to by the DOS environment variable COBDIR). If these files are not found, ADIS will use sets of internal defaults. 3. ADISKEY.OBJ This module receives keyboard-specific information from the COBKEYBD file generated by the KEYBCF Utility, to be used by the ACCEPT/DISPLAY module (ADIS) when interacting with the Run-time System (RTS). Please note that you will need all three modules at run time. LINKing the ADISINIT.OBJ, ADIS.OBJ and ADISKEY.OBJ with the main module is recommended for optimum run-time configuration. The following is a diagram of the ACCEPT/DISPLAY functions: ADISCF KEYBCF Utility Program | | | | (reads) (creates) | | v Runtime v System ADISCTRL (RTS) COBKEYMP File | ^ | | | | | ACCEPT/DISPLAY Stmt. | | | | v v v ADISINIT.OBJ —> ADIS.OBJ <——-> ADISKEY.OBJ (Screen) (Main) (Keyboard)

Additional reference words: 3.00 3.00a 4.00 4.50 Copyright Microsoft Corporation 1993.