Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 17 Feb 2010 @ 01:42:04 GMT


     
  <Prev Next>   <<First <Prev Next> Last>>  


Subj:   Re: Finding out the session information
 
From:   Clark, Dave

With TD12, this should do the trick:

     SEL UserName (TITLE 'Idle Users'),
         SessionNo (TITLE 'Session'),
         HostId (TITLE 'Host',FORMAT 'ZZZ9'),
         PartName (FORMAT 'X(8)')
     FROM TABLE (SYSLIB.MonitorSession(-1,'*',0)) AS t1 WHERE (AmpState='IDLE' AND
           (PEState='IDLE' OR PEState='IDLE:IN-DOUBT')) ORDER BY 1,2,3;

-dave.clark



     
  <Prev Next>   <<First <Prev Next> Last>>  
 
 
 
 
 
 
 
 
  
  Top Home Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 23 Jun 2019