HP3000-L Archives

May 1998, Week 3

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:
"Leonard S. Berkowitz" <[log in to unmask]>
Reply To:
Date:
Tue, 19 May 1998 06:48:58 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (18 lines)
I implemented a similar counter for the same purpose where I formerly
worked. I think it worked as follows (or this is how I would do it now):

I kept a file in PUB.account. It contained a number that was the high-water
mark of the system variable HPSESCOUNT. For each logon, the logon UDC would
input the file into a variable and compare the variable with the current
HPSESCOUNT. If the new value was higher, the file would be overwritten with
the ECHO command.

You could get fancy and include the date and time and other information in
the file.


====================
Leonard S. Berkowitz
(work) mailto:[log in to unmask]
(home) mailto:[log in to unmask]

ATOM RSS1 RSS2