CHGROUP

The CHGROUP command enables y ou to switch from your current group to another group within y our logon account.

Syntax

CHGROUP 2 groupname2 /grouppass 33

Parameters

groupname Speci￿es the name of the group that y ou want to switch to. If you omit this parameter, y ou switch to the home group.

grouppass Speci￿es the password of the group that y ou want to switch to, if the group has a passw ord. If you want to switch to your home group, you do not need to pro vide a password.

Operation Notes

Usage

You can enter this command from a session or a job, but not from a program or in break mode. Pressing 4Break5 does not a￿ect this command.

Command interpreter preservation

This command preserv es the entire command interpreter environment (temporary ￿les, ￿le equations, and v ariables).

Password requirements

In a batch job, you must supply a passw ord if a passw ord is assigned to groupname; otherwise, the job fails and the error message INCORRECT PASSWORD appears. Similarly , during a session, y ou must supply a passw ord if a password is assigned to groupname; otherwise, the system prompts y ou for a password.

2-46 MPE/iX Commands