Paul Edwards [mailto:[log in to unmask]] replied...
> You want to double up your !s as !!, so the variables get dereferenced
each
> time the HPPROMPT is presented.
>
...to my...
> > Or you can do it without the 3rd party complexity. In the
> > same UDC (if you like) that you specify MPEX logon security, add
> > SETVAR HPPROMPT "!HPSYSNAME:!HPUSER.!HPACCOUNT,!HPGROUP:"
> > or whatever
> >
...to which I'd like to add, on-list...
No need in this case, as it gets set at logon. I do have CHANGEGROUP
subverted to include the exact same SETVAR HPPROMPT, though, which seems to
be the only time it needs to be updated. (If you're showing HPTIME in your
prompt, you're absolutely right, good point!)
BTW with 3 Reflection windows running usually about 8 different sessions
apiece (via DSLINE constructs), this little SETVAR HPPROMPT
"!HPSYSNAME:!HPUSER.!HPACCOUNT,!HPGROUP:" thing keeps me a bit closer to
sane, as I can always tell which hat I'm wearing. I have my QEDITPROMPT set
up similarly, with a bit of truncation thrown in to avoid a too-long prompt.
Tracy Pierce
> > -----Original Message-----
> > > From: Ronald R Horner [mailto:[log in to unmask]]
> > > Sent: Tuesday, July 18, 2000 11:09 AM
> > > To: [log in to unmask]
> > > Subject: Re: Vesoft - Securcon Statement
> > >
> > >
> > > You can do the following:
> > >
> > > $LOGON-EXECUTE
> > > "SVARSET('HPPROMPT',HPDATEF+':'+HPTIMEF)" @.@
> > >
> > > Larry Barnes wrote:
> > >
> > > > I know I can call Vesoft but before I do can any tell me
> > > the syntax for
> > > > setting the hpprompt variable within the
> securcon.data.vesoft file?
> > > > I know I can place it within sysgen, but I would like to
> > > make it easier
> > > > "on the fly" (I'm feeling adventurous today).
> > > >
> > > > --
> > > > Larry Barnes
> > > > Director of I.T.
> > > > Mitek Corp.
> > > > 602-438-4545 X 1366
> > > > Phoenix, AZ 85040
> > > > [log in to unmask]
> > >
>
> --
> ***************************************************************
> Paul Edwards HP 3000 Certified Consultant
> Paul Edwards & Associates Phone: (972) 242-6660
> 1506 Estates Way Fax : (972) 446-9022
> Carrollton TX 75006 Email: [log in to unmask]
> ***************************************************************
>
>
|