RowFieldInputFile Statement

Added: build 1

Purpose

Provides instructions on how to generate an input file to the analysis. Treats each input file as a collection of rows and fields.

Syntax

RowFieldInputFile <name>
{
   <statements>
   ...
}

Arguments

Name Description
name This is an identifier for the RowFieldInputFile. The identifier is used by generate statements in the RunCommands section. A variable with this name is also automatically created if autoVars is set to true. Note that this name does not need to be the same as the file name specified in the fileToGenerate statement.

Applicable Statements

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

Example

If you need to create an input file named "in.dat" that has the following structure...
var1 = 5
var2 = 6
var3 = 7
...then the following RowFieldInputFile could be used to generate the file.
RowFieldInputFile inFile
{
   templateFile: in.dat.template
   fileToGenerate: in.dat

   setDelimiters " ="

   #         name  type     row  field
   variable: var1  integer  1    2
   variable: var2  integer  2    2
   variable: var3  integer  3    2
}

See also Analysis Server | FileWrapper | FileWrapper Statements