RouteX Document Router Toolkit
Main Functions Types & Errors Query Language Demo Home

rxStartRoutingBatch

Tells RouteX to begin a new routing batch. You must call this before you can tell RouteX about documents you wish to route. No documents will be routed until the batch is closed with a call to rxEndRoutingBatch.

Synopsis

void rxOpenRouterDatabase( RouteX Router, StatusCodeT *Status )

Arguments

Router The RouteX object you are deleting
Status A pointer to a value of type StatusCodeT. If an error occurs during the execution of the function a value representing the error will be stored in *Status. You should check *Status after every function call.

Returns

Nothing.

Related Functions

rxEndRoutingBatch, rxStartDocument, rxEndDocument

Example


rxStartRoutingBatch( Router, Status );



if ( *Status < 0 ) {

   printerror( Status );

   return; // error

}



// some function you write to parse all of the documents you wish to write.

// for this demo we've made Status a global and so we check for errors in

// our parsing by checking Status.



parsedocuments();



if ( *Status < 0 ) {

   printerror( Status );

   return; // error

}



rxEndRoutingBatch( Router, Status );



if ( *Status < 0 ) {

   printerror( Status );

   return; // error

}



  

 

Previous Main Next Home

Copyright 2000 Lextek International