Structure Expression Tokens
Structure expressions are expressions that are valid for use anywhere in a template file, but only when a repository structure is being processed. CodeGen supports structure expressions via the <IF expression> and </IF [expression]> tags.
Expression |
Description |
The structure being processed is associated with an ASCII sequential file. |
|
The structure currently being processed is assigned to one or more file definitions. |
|
|
The structure currently being processed has at least one unique key. You can access the first unique key by using a <UNIQUE_KEY> block. |
The structure currently being processed has a unique primary key. |
|
The structure being processed is associated with an ISAM file. |
|
The structure currently being processed has one or more keys defined. |
|
The structure currently being processed has text in its long description field. |
|
|
The structure being processed is mapped to another structure. |
The structure currently being processed has one or more relations defined. |
|
|
The structure being processed is associated with a RELATIVE file. |
The structure currently being processed has one or more tags defined. |
|
The structure currently being processed has more than one tag defined.
|
|
The structure currently being processed has exactly one tag defined.
|
|
|
The structure being processed is associated with a user defined file. |
The structure currently being processed has text in its user defined text field. |
Copyright © 2012 Synergex International, Inc.