Neil Harvey wrote:
>We use:-
>setvar hpprompt "!hpgroup.!hpaccount:"
>We put this into our system wide logon udc, and we replace the chgroup
>command with a command file that ends with this.
If you double reference the variable, it stays dynamic at all times.
eg: SETVAR HPPROMPT,"!!HPGROUP.!!HPACCOUNT:"
^--causes dynamic dereferencing
You can also set this in the CI PROMPT thru Sysgen,MIsc, CIPROMPT for system
wide use. This remains dynamic as well.
SYSTEM command parameter VALUE
----------------- ----------- -----
USER VERSION userversion C.50.00
LOGON PROMPT logonprompt FRED V:
---> CI PROMPT ciprompt !HPACCOUNT(!HPGROUP):
RELEASE C.50.00
Note: in the Sysgen form, only single Exclamations are required.
Tony Peters
_/_/_/_/_/ _/_/_/_/_/ Project Manager - New Technology
_/ _/ _/ _/ S&C Electric Canada Ltd
_/ _/ _/ 90 Belfield Rd
_/_/_/_/_/ _/_/_/ _/ Toronto ON M9W 1G4
_/ _/ _/ Ph 416 249-9171
_/ _/ _/ Fax 416 249-3193
_/_/_/_/_/ _/_/_/_/_/ Email [log in to unmask]