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


WSMOD

GDDM V3R2 Base Application Programming Reference
SC33-0868-02



Function


To modify the current operator window.


   WSMOD       (element-no, no-of-elements, array, length, string)

APL code 1043 GDDM RCP code X'0C2C0200' (204210688)


Parameters


element-no (specified by user) (fullword integer)
The number of the first element in the array. It must be in the range 1 through 6.

no-of-elements (specified by user) (fullword integer)
The number of attributes to be modified for the current operator window. It is the number of elements in the array and must be in the range 0 through 6.

array (specified by user) (an array of fullword integers)
The new attributes for the current operator window. If any attribute is not specified, or is specified as -1, the existing value is unchanged. If any attribute is specified as 0, the default value is used. The attributes are:

1
The row position of the top left-hand corner of the current operator window on the real screen.
2
The column position of the top left-hand corner of the current operator window on the real screen.
3
The number of rows in the current operator window. This does not include any rows occupied by the window border.
4
The number of columns in the current operator window. This does not include any columns occupied by the window border.
5
The row position of the top left-hand corner of the current operator window on the virtual screen.
6
The column position of the top left-hand corner of the current operator window on the virtual screen.

length (specified by user) (fullword integer)
The length of string in bytes. A value of zero leaves the existing string unchanged.

string (specified by user) (character)
The title to be incorporated into the border of the current operator window.


Description


Modifies the attributes of the current operator window.

The coordination exit address, exit token, and virtual screen size cannot be modified. Modifications to the other attributes and the window title changes the appearance of the operator window on the device at the next device I/O.

Principal errors


ADM3118 E
NUMBER OF ELEMENTS (n) IS INVALID
ADM3119 E
ELEMENT NUMBER (n) IS INVALID
ADM3180 E
PRIMARY DEVICE NOT OPENED WITH THE WINDOW PROCOPT
ADM3183 E
OPERATOR WINDOW SCREEN ROW NUMBER n IS INVALID
ADM3184 E
OPERATOR WINDOW SCREEN COLUMN NUMBER n IS INVALID
ADM3185 E
OPERATOR WINDOW DEPTH n IS INVALID
ADM3186 E
OPERATOR WINDOW WIDTH n IS INVALID
ADM3187 E
OPERATOR WINDOW VIRTUAL SCREEN ROW NUMBER n IS INVALID
ADM3188 E
OPERATOR WINDOW VIRTUAL SCREEN COLUMN NUMBER n IS INVALID
ADM3191 E
TITLE LENGTH n IS INVALID

Go to the previous page Go to the next page



Copyright IBM Corporation 1990, 2012