RawOutputFile Statement

Added: build 127

Purpose

Specifies an output file, the contents of which are treated as a single output variable.

Syntax

RawOutputFile <name> [binary=true|false] [description=string]
{
   <statements>
   ...
}

Arguments

Name Description
name This is an identifier for the RawOutputFile. The identifier is used by parse statements in the RunCommands section. Unlike RowFieldOutputFiles, a variable with this name is automatically created in the FileWrapper. When the corresponding parse action is performed, the contents of the output file are transferred to the variable.

Options

Name Description
binary New as of build 220. Indicates whether the file is binary (true) or ASCII (false). The default is false.
description New as of build 312. This option allows the user to write a description for the variable.

Applicable Statements

The following statements are valid within a RawInputFile section. Notes:

Example

If you need to read an output file named "out.dat" then use the following statements...
RawOutputFile outFile
{
   fileToParse: out.dat
}

See also Analysis Server | FileWrapper | FileWrapper Statements