GDDM-GKS V1R1 Programming Guide and Reference
Previous topic | Next topic | Contents | Index | Contact z/OS | Library | PDF | BOOK


GRENSG

GDDM-GKS V1R1 Programming Guide and Reference
SC33-0334-00



Purpose



 GRENSG  (old, new)
   
 APL code  1359
 GKS RCP code  X'38003A00' (939538944)
   


Function: To rename segment.

Segment function. Replaces each occurrence of a segment name with a new name.

Parameters


old (specified by user) (fullword integer)
The old segment name.

new (specified by user) (fullword integer)
The new segment name.


Operating states


WSOP, WSAC, SGOP

Related functions


Create segment (GCRSG)

Description


This function replaces segment name old with segment name new in the list of segments in the workstation state list of each open workstation and in the list of segments in the GKS state list. If the old name is the name of the current open segment, the open segment is renamed.

The old segment name may be reused by the application program.

Principal errors


7
GKS not in proper state: GKS shall be in one of the states WSOP, WSAC, or SGOP
120
Specified segment name is invalid
121
Specified segment name is already in use
122
Specified segment does not exist

Go to the previous page Go to the next page



Copyright IBM Corporation 1990, 2012