Home Page for the TeradataForum

Archives of the TeradataForum

Message Posted: Fri, 29 Aug 2008 @ 18:14:39 GMT

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

Subj:   Re: Teradata Manager PM/API error 13130
From:   Anomy Anom

<-- Anonymously Posted: Fri, 29 Aug 2008 11:29 -->

Be sure you nullify the "collection" returned by a Get request when you are done with it. This may need to be done explicitly, particularly if you are coding methods "in-line" and not doing calls to subroutines with locally scoped object variables as in the sample code.

     Set colSessions = objMonitor.GetSessionData
        For Each objSession In colSessions
         ' Do something interesting
        Next 'objSession
     Set objSession = Nothing
     Set colSessions = Nothing

  <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: 28 Jun 2020