GDDM V3R2 Base Application Programming Guide
|
Previous topic |
Next topic |
Contents |
Index |
Contact z/OS |
Library |
PDF |
BOOK
Device support in application programs GDDM V3R2 Base Application Programming Guide SC33-0867-01 |
|
Many programs can be written without much knowledge of the way GDDM supports different devices but you need to understand it to perform the following tasks:
With the DSOPEN call, you define for GDDM a conceptual device to which your application can later send its output. With the DSUSE call, you can supply a device identifier from an earlier DSOPEN call, to use that device as the current primary or alternate device. All subsequent alphanumerics, graphics, and image calls apply to that device until a new device is made current. Your program's output is created for the current device with respect to its definition on the DSOPEN call. There is generally no need for explicit device control when the output is to appear on the invoking terminal. The current device defaults to the invoking device - called the user console. For the default device, GDDM issues an internal DSOPEN. If you want your application to use a device other than the invoking terminal, you must explicitly open that device using a DSOPEN call. If you want to use the invoking terminal, but in a nonstandard way, you can issue an explicit DSOPEN call associated with the physical address of the user console or modify the internal DSOPEN with a nickname statement (see "Coding a partial device definition for end users to change with nicknames" in topic 18.1.2). Subtopics:
|
Copyright IBM Corporation 1990, 2012 |