Len, The session query is what you want, for a script to ascertain which sessions to cancel... "q se f=d" might indicate session_type; if not, use the SQL query... select session_id, session_type from sessions
You'll need to use a shell script which runs this as batch dsmadmc, trap the output, then parse for the session_type (4, I think) for scheduled session. This info is reported in accounting records, SUMMARY table and SESSIONS table. Hope this helps. Don France Technical Architect Tivoli Certified Consultant Professional Association of Contract Employees (P.A.C.E.) San Jose, CA (408) 257-3037 mailto:[EMAIL PROTECTED] -----Original Message----- From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED]]On Behalf Of Len Boyle Sent: Tuesday, May 14, 2002 4:04 PM To: [EMAIL PROTECTED] Subject: scheduled session vs non-scheduled client session Good Day Is there a method with a program to tell which session were started with the TSM scheduler vs those that are started by a person? The reason that I ask, is that we need to be able to cancel session if they run into the prime shift hours, but I would to not cancel any sessions that are being run by someone. Thanks len boyle