com.ibm.gre.IRMBatchQuery Class
The IRMBatchQuery class encapsulates the XML used to execute a Batch Life Cycle Query. There are methods for begininning the Asynchronous task and subsequent methods for determining the status and getting return values.

Access: Public
Base Classes: IRMQuery
  Members Description  
    IRMBatchQuery Constructor

 
    Initialize Call the Initialize method immediately after the class has been constructed to generate the internal representation of the query.

 
    AddOptionalField Used internally in the Initialize method to add optional fields

 
    runQuery Overrides the IRMQuery runQuery method. If the Asynchronous task has not begun this method will call the BatchController beginTask method to start the Life Cycle Query.

 
    TaskId The ID of the current task.

 
    TaskName The name of the current task

 
    reLoad Calls the BatchController getStatusListByTaskId method and extracts relevant values from the returned xml string.

 
    m_optionalFields    
    m_strTaskKey    
    m_strStartTime    
    m_nStatus    
    m_strStatusTime    
    m_strTaskID    
    m_strTaskName    
    m_nType    
    m_nUserID    
Remarks:
See the documentation for the BatchControllerEJB interface in the com.ibm.gre.engine.ejb.facade package conatined in the IBM DB2 Records Manager API Reference.