HP 3000 Manuals

Lesson 11: Changing Your Search Path [ MPE V to MPE XL: Getting Started ] MPE/iX 5.0 Documentation


MPE V to MPE XL: Getting Started

Lesson 11:  Changing Your Search Path 

Another application for recursive dereferencing--when two exclamation
points (!!)  are used--would be to simplify file execution by changing
your search path.

The default value of HPPATH is:

     HPPATH = !HPGROUP,PUB,PUB.SYS

Suppose you are in the RECORDS group.  There is a command file that you
created named DOIT located in the MIS group of your account.  To execute
this file frequently and most conveniently, add the MIS group to your
search path.

     SETVAR HPPATH,'!!HPGROUP,MIS,PUB,PUB.SYS'

     or

     SETVAR HPPATH, '!HPPATH,MIS'

Notice the two exclamation points in front of HPGROUP.

Exercises 

19.  What would happen if you only used one exclamation point in the
     first SETVAR example above?

20.  How do you verify your search path with ECHO?

21.  What do you think would happen if you added to your search path a
     group that contained files created by another user?



MPE/iX 5.0 Documentation