Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Locking a logon id. 1

Status
Not open for further replies.

vertinias

Programmer
Apr 1, 2003
2
US
I wish to be able to tell if a Tera logon id is in use. I have multiple ids for my jobs.....I wish to write a check routine to randomly assign the next available userid so more than one process at a time does not occur and blow my spool space..

Does anyone know of a way.....I would check current spool....but that may be iffy.....since the id could be in use before spool is utilized.....or least I believe this to be the case.

Help.

Vert
 
Hi Vert,

select distinct username from dbc.sessioninfo;

Dieter
 
Thank you Dieter.......I should have know this already.....

thank you again.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top