z/OS Using REXX and z/OS UNIX System Services
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


setgroups

z/OS Using REXX and z/OS UNIX System Services
SA23-2283-00

Read syntax diagramSkip visual syntax diagram
>>-setgroups--stem---------------------------------------------><

Function

setgroups invokes the setgroups callable service to set the supplemental group list for the process.

Parameters

stem
The name of a stem variable used to set the group list. Upon return, stem.0 contains the number of variables containing a group id. stem.1 to stem.n (where n is the number of variables) each contain one group id number.

Usage notes

A RETVAL of -1 indicates failure.

Example

In the following example, assume that the stem gr. was setup earlier in the exec:
"setgroups gr."

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014