Flushes the buffer of the specified result file.
Kernel.bdh
FlushResultFile( in nResultFile : number, in bClose : boolean optional ): boolean;
true if the file could be flushed.
false otherwise.
| Parameter | Description | 
|---|---|
| nResultFile | 
                           
                            Following result files can be flushed. 
  | 
                        
                     
| bClose | 
                           (optional)
                            Specifies whether the results file should be closed after flushing. The default value is FALSE.  | 
                        
                     
dcltrans transaction TRaiseError begin ... FlushResultFile(RESULT_FILE_RPT); FlushResultFile(RESULT_FILE_XLG); end TRaiseError;