Creating cBases with Spectre Build Scripts

There are two methods to generate a Spectre Build script from a text data file:

  • Right-click the data file and click Generate Spectre Build Script—This method automates the required input and output elements based on the data file name, and Spectre makes "best guesses" for the column type. This is the only point where Spectre auto detects datetime columns.
  • Click File > NewSpectre Build File—This method opens the Build Flow Editor populated with the three basic objects: input, concat, and output. It presents a clean slate from which to start configuring a Spectre build.

NOTE:

  • Calculated columns use the same expression syntax as calcs in a cPlan. See About Spectre Expressions and Alphabetized Functions for Spectre.
  • You can set a Workbench preference so that ProDiver opens any cBase that is successfully created with a Spectre Build script. See Setting Workbench Preferences.
  • The context menu for a node includes Test node with dive—allows you to examine the results within Workbench, and Test node and open ProDiver—allows you to examine the results by diving in ProDiver.
  • The Spectre Build Flow Editor also supports ODBC-input, cBase-input, Dive-input, and Tunnel-input.

See also: