HPlogo Using HP 3000 MPE/iX: Fundamental Skills Tutorial: HP 3000 MPE/iX Computer Systems > Chapter 5 The Account Structure

Lesson 4 Changing Groups

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Glossary

 » Index

Lesson 4 presents the CHGROUP command:

  • changing groups by logging on

  • changing groups with the CHGROUP command

There are two ways to change the group that you are accessing.

  • At the colon prompt, use HELLO to log on again and specify the group that you want to be in.

  • At the colon prompt, use the CHGROUP command and specify the group that you want to be in.

Logging on

Logging on to another group certainly works, but it is time-consuming and uses a lot of system resources.

For example, this is how you would log on to your OTHERGRP group:

   HELLO username.acctname,OTHERGRP

Now, using your logon identity, log on to your home group:

   HELLO username.acctnameReturn

Recall that your home group is your logon default.

Using the CHGROUP command

The CHGROUP command allows you to switch from one group to another without logging on again.

To see which group you are in, enter:

   SHOWMEReturn

Switch into your PUB group by entering:

   CHGROUP PUBReturn

Use SHOWME to discover which group you are now in. You should be logged on to the PUB group now.

NOTE: If a group in your account is protected with a password, you will be prompted for that password. You must correctly provide the password in order to access that group. You will not be prompted for a password when changing back to your home group.

Use the CHGROUP command now to switch into OTHERGRP.

Enter:

   CHGROUP OTHERGRPReturn

Now enter:

   SHOWMEReturn

Which group are you in now? You should be logged on to OTHERGRP now.

CHGROUP and your home group

If you execute CHGROUP without specifying another group, you are switched automatically to your home group.

This time enter:

   CHGROUPReturn

Enter:

   SHOWMEReturn

You should be logged on to your home group (MYGROUP).

NOTE: Have you noticed the parallel? Both CHGROUP and HELLO default to your home group if you do not specify a group.

Lesson 4 Exercises

  1. Name the two methods of changing groups from within your account?

  2. Choose either method to change into another group within your account. Check to see if you were successful. Get back into your home group.

  3. Repeat step 2 using the other method.

Feedback to webmaster