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


Using the CLEAR key in full-screen mode

GDDM V3R2 Base Application Programming Guide
SC33-0867-01



By default, terminal input using the CLEAR key is prevented by full-screen-mode protocols from being returned to GDDM and the application program. If the terminal user presses the CLEAR key, the screen is cleared, but no other operations occur. Specifically, GDDM may still wait to read input from the terminal, as a result of a call to ASREAD, FSSHOR, or MSREAD. Subsequently, terminal input by the user may conflict in format with that expected by GDDM; in this case, on return to the application program, an ASREAD or MSREAD operation issues this error message:


     ADM0270 E SCREEN FORMAT ERROR

If this error message is issued, GDDM ensures that the screen buffer contents are subsequently restored.

The TSO CLEAR/PA1 protocol option of the DSOPEN function can be used to suppress this special processing of the CLEAR key. See the description of processing option 2000 in the GDDM Base Application Programming Reference book.

Go to the previous page Go to the next page



Copyright IBM Corporation 1990, 2012