RawInputFile Statement
Added: build 127
Purpose
Specifies an input file, the contents of which are treated as a single input variable.
Syntax
RawInputFile <name> [binary=true|false] [description=string]
{
<statements>
...
}
Arguments
| Name
| Description
|
| name
| This is an identifier for the RawInputFile. The identifier is used
by generate statements in the
RunCommands section. Unlike
RowFieldOutputFiles, a variable with
this name is automatically created in the FileWrapper. When the corresponding
generate action is performed, the value of
this variable is written out to a file specified by the
fileToGenerate statement.
|
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:
- If using a setGroup statement, it must appear before a fileToGenerate statement.
- Each RawInputFile must define a fileToGenerate. All other
statements are optional.
- A templateFile and initializationFile are interchangeable
for a RawInputFile. Both statements define a file that is loaded when
the FileWrapper is first instantiated. Unlike a
RowFieldInputFile, the templateFile
is only read in once (when the FileWrapper is first created).
Example
If you need to create an input file named "in.dat" then use the following
statements...
RawInputFile inFile
{
templateFile: in.dat.template
fileToGenerate: in.dat
}
See also Analysis Server |
FileWrapper |
FileWrapper Statements