Lesson 6: Modifying System Values [ MPE V to MPE XL: Getting Started ] MPE/iX 5.0 Documentation
MPE V to MPE XL: Getting Started
Lesson 6: Modifying System Values
The new SETVAR command is used to change the value of a user modifiable
system variable. An example is to change the size of the command line
history stack from its default of 20 to 15 using the variable HPREDOSIZE.
SETVAR HPREDOSIZE,15
To give a name to your system, or to change the one it already has, use
the variable HPSYSNAME.
SETVAR HPSYSNAME,'harmony'
To verify the changes, enter:
__________________________________________________________________
| |
| |
| :SHOWVAR HPREDOSIZE,HPSYSNAME |
| HPREDOSIZE = 15 |
| HPSYSNAME = harmony |
| |
__________________________________________________________________
To change the value of HPREDOSIZE back to the default, 20, either log off
and back on again, or use:
___________________________________________________________________
| |
| |
| :SETVAR HPREDOSIZE,20 |
| :SHOWVAR HPREDOSIZE |
| HPREDOSIZE = 20 |
| |
___________________________________________________________________
NOTE You cannot use DELETEVAR on a system variable. If you try, you
will get an error message, because system variables cannot be
removed.
Exercises
9. How do you change the prompt from a colon (:) to YES? ? How can
you verify the change?
10. What happens to that prompt (YES?) when you log off and on again?
11. How do you activate the type-ahead feature of MPE XL (that is, the
feature that allows the user to type faster than the characters
appear on the screen)? How can you verify the change?
___________________________________________________________________
NOTE If you are connected to your system through a network, you may
be unable to reset the value of HPTYPEAHEAD.
___________________________________________________________________
MPE/iX 5.0 Documentation