Clear method: Business Interlink class

Syntax

Clear()

Description

The Clear method clears the input and output buffers. If you're using Business Interlinks in a batch program, every time after you use the Execute method, use the Clear method to flush out the input and output buffers.

Parameters

None.

Returns

None.

Example

For &n = 1 to x 
   &myinterlink.AddInputRow("input1", value1, "input2", value2);  
   &myinterlink.Execute(); 
   &myinterlink.FetchNextRow("output1", value1, "output2", value2);  
      /* do processing on data */ 
   &myinterlink.Clear(); 
   &n = &n + 1; 
End-for;