HPlogo Commands Reference HP 3000 Series 9X8LX Computer Systems > Chapter 2 MPE/iX Commands

CHGROUP

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

The CHGROUP command enables you to switch from your current group to another group within your logon account.

Syntax

   CHGROUP [groupname[/grouppass]]

Parameters

groupname

Specifies the name of the group that you want to switch to. If you omit this parameter, you switch to the home group.

grouppass

Specifies the password of the group that you want to switch to, if the group has a password. If you want to switch to your home group, you do not need to provide 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 Break does not affect this command.

  • Command interpreter preservation

    This command preserves the entire command interpreter environment (temporary files, file equations, and variables).

  • Password requirements

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

Examples

  • To switch from the current group to your home group, enter:

       :CHGROUP
    
  • To switch from the current group to the group called GROUP2, enter:

       :CHGROUP GROUP2
    
  • To switch from the current group to the group called GROUP2 with the assigned password SECRET, enter:

       :CHGROUP GROUP2/SECRET
    

Related Commands

   HELLO
Feedback to webmaster