Information icon IBM Information Server, Version 8.1
Feedback

Generator: syntax and options

generator
-schema schema | 
-schemafile filename
  [-records num_recs]
  [-resetForEachEOW]

You must use either the -schema or the -schemafile argument to specify a schema to the operator. Terms in italic typeface are option strings you supply. When your option string contains a space or a tab character, you must enclose it in single quotes.

Table 1. generator Operator Options
Option Use
-schema -schema schema

Specifies the schema for the generated data set.

You must specify either -schema or -schemafile to the operator.

If you supply an input data set to the operator, new fields with the specified schema are prepended to the beginning of each record.

-schemafile -schemafile filename

Specifies the name of a file containing the schema for the generated data set.

You must specify either -schema or -schemafile to the operator.

If you supply an input data set to the operator, new fields with the supplied schema are prepended to the beginning of each record.

-records -records num_recs

Specifies the number of records to generate. By default the operator generates an output data set with 10 records (in sequential mode) or 10 records per partition (in parallel mode).

If you supply an input data set to the operator, any specification for -records is ignored. In this case, the operator generates one record for each record in the input data set.

-resetForEachEOW -resetForEachEOW

Specifies that the cycle should be repeated for each EOW.


PDF This topic is also in the IBM WebSphere DataStage and QualityStage Parallel Job Advanced Developer Guide.

Update icon Last updated: 2008-09-30