HP3000-L Archives

July 1999, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Joe Geiser <[log in to unmask]>
Reply To:
Joe Geiser <[log in to unmask]>
Date:
Tue, 6 Jul 1999 14:25:14 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (49 lines)
Chip Mayan asks,

> This should be an easy one for you HP gurus out there!  I am pretty much a
> beginner on the HP3000 and I need to change some system variables on the
HP.
> I do this in my session useing the SETVAR command and it appears the
> variable changes value, but when I check it it appears the variable is
only
> being changes for the session, not system wide.  How do I get it to
changes
> system wide?  I even tried logging in as MANAGER.SYS and that still didn't
> work.

Some variables cannot be changed -- the ones set by the OS itself.  Which
variable are you attempting to change?  If it's one of your own, you should
be able to change it - and if it's one of HP's, chances are, you cannot
change it.

Example:  If you try to change the variable HPUSER, as such:

:showvar HPUSER
HPUSER = MGR
:setvar hpuser "CCC"
                ^
Assignment to variable not allowed:  readonly. (CIERR 8115)

Note that trying to do the above will result in this error on 5.5.  Now,
looking at a user variable:

:setvar JOESVAR "XXX"
:showvar joesvar
JOESVAR = XXX
:setvar joesvar "ccc"
:showvar joesvar
JOESVAR = ccc

As you can see, it does work.  Lastly, note that user variables are not
permanent - they do expire when the session ends.

HTH,
Joe

====================================================
Joe Geiser, Managing Partner
BizNetTech.net LLC
Phone: +1(215) 945.8100   Fax: +1(215) 943.8408
Toll Free (US/Canada): (877) 945.8100
====================================================

ATOM RSS1 RSS2