WRITE-DATA( ) method
- Last Updated: November 7, 2025
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
Instructs the profiler to analyze the data that was recorded and to write the current information to the profile output file. If the write is successful, then the profiler returns TRUE. It returns FALSE if it fails to write the data. A failure to write data could mean either there is no new data or that the profiler could not open the specified output file. Time spent analyzing and writing the profiling data is deducted from any future data profiling.
Return-type: LOGICAL
Applies to: PROFILER system handle
Syntax
|
WRITE-DATA() will overwrite any previous
output. Be sure to change the filename via the PROFILER:FILE-NAME
attribute or move the previous output before another call to
WRITE-DATA() or before profiling
(PROFILER:ENABLED=FALSE) or the session ends.For example code using WRITE-DATA(), see PROFILER system handle.
See also
COVERAGE attribute, DESCRIPTION attribute, FILE-NAME attribute, ENABLED attribute, LISTINGS attribute, PROFILING attribute, STATISTICS attribute, TRACING attribute and USER-DATA ( ) method