You could also use the jobcnt function.
Example:
setvar _cnt jobcnt("!hpjobname,!hpuser.!hpaccount")
if _cnt > 1 then
Echo Warning: You already have a session logged on.
bye
endif
You can also wild-card the user and account if you don't care where the
other user is logged on.
Hope this helps,
Paul Scott
-----Original Message-----
From: HP-3000 Systems Discussion [mailto:[log in to unmask]]On
Behalf Of Carro Arrubarrena Mariano
Sent: Tuesday, October 01, 2002 12:32 PM
To: [log in to unmask]
Subject: Re: [HP3000-L] Limiting log ons
We have something similar to this.
VIP2000: PRINT ACCOUNT1.UDC
VITROLOGON
OPTION LOGON,NOHELP,NOBREAK
IF FINFO("!HPUSER",0) THEN
ECHO YOU ARE ALREADY SIGNED ON
BYE
ENDIF
BUILD !HPUSER
QUICK
PURGE !HPUSER
BYE
***
And we setup this udc at account level
Mariano Carro
E-mail: [log in to unmask]
Tel: (469) 443-1120
Fax: (469) 443-1220
-----Original Message-----
From: Connie Samuel [mailto:[log in to unmask]]
Sent: Tuesday, October 01, 2002 12:41 PM
To: [log in to unmask]
Subject: [HP3000-L] Limiting log ons
Is there a way to limit the number of log ons an individual person can
have?
We have a 64-user license. Some users are logging onto 5 or 6 sessions
each and then some users can't log on at all.
We don't have MPEX or any security software. We're on 7.0 on a 979-100.
Thanks,
Connie Samuel
Clatsop Community College / Astoria, Oregon
503/338-2320
[log in to unmask] / www.clatsopcc.edu
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|