Stan after Terry: Terry asks: > > I need to determine the maximum number of concurrent logons in a given account, Maximum? No....current number, yes...I think... If you setup a UDC file for the account(s) in question, *and* no other users/accounts use that UDC file, then number of users logged in to the account(s) at this time is: :listfile <the UDC filename>, 8 extract # users, divide by 2. I.e., when you logon, your UDC files are opened. For some reason, the account UDC files are opened twice per session (and per job?), hence the divide-by-2. YMMV, of course. ****************************** I think what Terry wants is the maximum number of concurrent users that have been encountered at any given time...all that is needed is a file in PUB that contains the highwater mark that is written to each time a user logs on and the "extract #users, divide by 2" logic is applied. If the calculated number is greater than that in the file, the file is updated, otherwise...... Eric Sand [log in to unmask]