GDDM V3R2 Base Application Programming Reference
Previous topic | Next topic | Contents | Index | Contact z/OS | Library | PDF | BOOK


Device variations

GDDM V3R2 Base Application Programming Reference
SC33-0868-02



The input and output devices supported by GDDM vary widely in their capabilities and in the datastreams required to drive them. The GDDM programming interface shields application programs from many of these device variations. This permits application programs to be written with a degree of device independence, which in turn permits these programs to use a range of different devices without modification to the programs.



    The degree of device independence provided by GDDM varies, as follows:
  • In some cases GDDM provides complete independence by emulating a function which a device may not have. For example, GDDM emulates graphics data on a 3279 display and image data on a 3472G display.
  • In other cases, GDDM effectively ignores an application's requests for functions not available in the device, without rejecting the application calls. In general, it does this for functions that it cannot emulate and which, if ignored, would not normally affect a typical application program. For example, GDDM ignores requests for alphanumeric field highlighting on devices that do not support it.
  • In other cases, GDDM is unable to emulate a function not available in a device. However, to ignore requests for the function would probably affect a typical application program adversely. In such a situation, GDDM responds to the function call with an error message. An example of this is a request to enable input from a mouse when the display device does not have one.
    
    
For an application program to be able to exploit the full capability of all devices available through GDDM, the program must request different functions, depending upon what functions are available. To support this, GDDM provides a number of query calls, notably FSQURY, which tell the application what function is available.

This topic describes, for each broad group of GDDM functions, the devices or groups of devices that do not conform to the general description of the function.

Where a function call is subject to device variations, a reference to the appropriate section of this topic is included in the description of that function call in topic 3.

Subtopics:

Go to the previous page Go to the next page



Copyright IBM Corporation 1990, 2012