OutputFields - 23.1

spectrum-inline

Product type
Software
Portfolio
Enrich
Integrate
Locate
Verify
Product family
Spectrum
Product
Spectrum > Geo Addressing > Enterprise Tax
Spectrum > GeoEnrichment
Spectrum > Spectrum Platform
Spectrum > Spatial > Spectrum Spatial
Spectrum > Web Services
Spectrum > Data Integration
Spectrum > Quality > Context Graph
Spectrum > Discovery
Spectrum > Quality > Addressing
Spectrum > Quality > Spectrum Quality
Spectrum > Dataflow Designer
Version
23.1
Language
English
Product name
Precisely Spectrum
Title
spectrum-inline
First publish date
2007
Last updated
2023-06-02
Published on
2023-06-02T09:54:39.526000
%OutputFields("name"->"alias", "name..."->"alias..."); 

This is a required command. If not specified, an error occurs.

The name (or alias, if specified) must correspond to the name of a <variable> used in the Rule section.

Example

%OutputFields("FirstName","LastName");

FirstName and LastName are fields that will be output from the stage. The respective values come from FirstName and LastName grammar rules.

An alias allows you to have a rule with one name, but have the results output to a field of a different name.

Example

%OutputFields("FN1"->"FirstName","FN2"->"FirstName", "LastName");

FirstName and LastName are fields that will be output from the stage. The value for FirstName comes from FN1 or FN2 grammar rules (which is evaluated last) and LastName comes from the LastName grammar rule.

To use this command:

  1. Position the cursor where you want the command inserted.
  2. Double-click %OutputFields in the Commands list.
  3. Type the name of the rule or select it from the Rule list.

The name of each rule must correspond to a <variable> used in the Rule section. The rules that you list here will be output as new fields as described previously.

  1. Optionally, type the name of the alias or select it from the Alias list.
  2. Repeat for each rule.
  3. To delete a rule, select the row and then press Delete.
  4. Click OK.