fileToParse: <fileName> [allowPartialRead=true|false]
| fileName | The name of the file that is to be parsed. The name, or parts of it, may be specified at run-time using userVariables. If the full path for the file is not specified, the file is assumed to be located in the same directory as the FileWrapper. |
| allowPartialRead | If true, causes the FileWrapper to try an parse the contents of the file (if the file's timestamp has changed) each time a variable is accessed from it. The default is false. Use this option if you want to periodically access values from an output file that is being generated while a program is running in the background. |
RowFieldOutputFile outFile
{
fileToParse: xyz.out
# name type row field
variable: totalHeight double 5 7
variable: totalWeight double 2 4
}
The fileToParse statement identifies xyz.out as the output file of the analysis program. Once a parse statement is issued in the RunCommands section, the component parses xyz.out to retrieve the output values for the component's two properties, totalHeight and totalWeight.
See also Analysis Server | FileWrapper | FileWrapper Statements