Exporting text files  Chapter 3: Building Production Objects

Chapter 2: Using TRAN-IDE

Using the TRAN-IDE Options menu

The main TRAN-IDE window provides and Options menu to help you find errors in production rule objects, to return to the TRAN-IDE state when you exited the utility, and to set the directory to which table objects are saved.

Table 2-2 list the selections available from the Option menu.

Table 2-2: Option menu selections

Action

Description

Symbol Dump

  • Module Dump – writes a report containing information about all TRAN-IDE objects in all of the modules in the project.

  • Dump All – writes a report containing information about the project and about all TRAN-IDE objects in all of the modules in the project.

Debug

Causes the TRAN-IDE test drive to write a large volume of messages to the local xlog file (xlog.dv or 32xlog.dv on a personal computer workstation). This gives you the ability to view the detailed actions of your production rule objects against an incoming transaction from a data file you load, or against specific data you enter in the production object’s test value that tests a single specific rule. You can also see what the field objects look like after parsing.

AutoLoad

Records the loaded file name and view state of TRAN-IDE, so that when you exit and re-start the program, it opens the last loaded file and returns to the same view state.

Table Scan

Opens the Table Object Directory window where you specify the directory location in which to save all table objects in a project.

Hardcopy

Generates a hardcopy.txt file containing, for each production object, all rule objects, rule component objects, filter objects, and the relationships between them.

AutoFldSort

Selecting this option toggles the option on and off. Displays a check mark next to the option when “on.” When this option is turned “on,” it automatically sorts the field object list whenever you create or change a field object. Field object sorting is by offset position, not alphabetical by name.

WARNING! Turning this option on greatly reduces the speed at which TRAN-IDE can build new field objects or make changes to existing ones.

AutoFldIndent

Selecting this option toggles the option on and off. Displays a chicanery next to the option when “on.” When AutoFldIndent is turned “on,” the field object list indents field objects that are group members or subfields.

WARNING! We do not recommend using this option when there are more than 1000 field objects in the project.

Object Tracking

Selecting this option toggles the option on and off. Displays a check mark next to the option when “on.” When Object Tracking is turned “on,” and you click a field, datalink, rule, or rule component object, the relevant object is highlighted. For example, Fld1 is referenced by Rule1 and Fld2 by Rule2. In the Production Object Information window, when you highlight Rule1 in the Production Rules list, Fld1 is automatically highlighted in the Field Objects list. When you select Fld2, Rule2 is automatically highlighted in the Production Rules list.

Display Referential Bitmaps

Selecting this option toggles the option on and off. Displays a chicanery next to the option when “on.” If an object contains a reference to another object that does not exist, the referring object has a symbol similar to:

...

next to its name in the Production Object Information window. This indicates something is wrong with the object and that it has a relationship with a non-existent object.

TestDrive Opts

  • Non-self-describing NCF (New Era Canonical Format) – opens the .ncm Files Directory window where you specify the location to save all NCM files associated with the project.

    When you “test drive” production objects, the production object parses the data stream in NCF (New Era Canonical Format). NCF comes in two forms—self describing and non-self describing.A self describing format data stream does not need to provide a schema when parsed by production objects.

    A data stream formatted as non-self describing is parsed only if a schema (metadata) file, in the form of a .ncm (New Era Canonical Metadata), is provided. The .ncm file is imported by TRAN-IDE when the test drive is run.

  • Auto Save – selecting this option toggles the option on and off. Displays a chicanery next to the option when “on.” If you make changes to a file and use the test drive functionality, this saves the .mod files to a bak directory under the current working directory before running the test drive.

Obj Pre/Suffix Opts

  • Set Pre/Suffixes – allows you to edit standardized names and conventions.

  • Use Pre/Suffixes – allows you to automatically implement standardized names and conventions.

Subfield Opts

Dependencies On – any change to a parent field results in a prompt that asks if you want to update the child fields with the change. For example, if Field A is changed to a group, TRAN-IDE asks if you want to have the children be members of that group.

Auto Propagate Group Settings – (only available when you select Dependencies On) when you change a parent field and the field is part of a group, this option automatically updates all child fields in the group with the changes. For example, if Field A is changed in a group, that change is automatically propagated to all children in that group.





Copyright © 2005. Sybase Inc. All rights reserved. Chapter 3: Building Production Objects

View this book as PDF