Structure Expression Tokens

 

Structure expression tokens are expression tokens that allow you to test various attributes of the structure that is currently being processed. They are valid for use anywhere in a template file, but only when a repository structure is being processed.

Structure Expression

Description

<IF FILE_CHANGE_TRACKING>
 

The file associated with the structure has change tracking enabled.

<IF FILE_COMPRESSION>
 

The file associated with the structure has data compression enabled.

<IF FILE_PORTABLE_INT_SPECS>

 

The file associated with the structure has portable integer locations specified.

<IF FILE_STATIC_RFA>

 

The file associated with the structure uses static RFA.

<IF FILE_STORED_GRFA>

 

The file associated with the structure uses stored GRFA.

<IF FILE_TERABYTE>

 

The file associated with the structure is a "terabyte" file.

<IF STRUCTURE_ASCII>
 

The structure being processed is associated with an ASCII sequential file.

<IF STRUCTURE_DISPLAY_FIELD>

 

The structure has a display field specified.

<IF STRUCTURE_FILES>

The structure currently being processed is assigned to one or more file definitions.

<IF STRUCTURE_HAS_UNIQUE_KEY>

 

The structure currently being processed has at least one unique key. You can access the first unique key by using a <UNIQUE_KEY> block.

<IF STRUCTURE_HAS_UNIQUE_PK>
 

The structure currently being processed has a unique primary key.

<IF STRUCTURE_ISAM>
 

The structure being processed is associated with an ISAM file.

<IF STRUCTURE_KEYS>

The structure currently being processed has one or more keys defined.

<IF STRUCTURE_LDESC>

The structure currently being processed has text in its long description field.

<IF STRUCTURE_MAPPED>

 

The structure being processed is mapped to another structure.

<IF STRUCTURE_MULTIPLE_TAGS>

 

The structure currently being processed has more than one tag defined.

<IF STRUCTURE_PII_FIELDS>

 

The structure has one or more fields identified as containing PII data. See <FIELD_PII_TYPE>.

<IF STRUCTURE_RELATIONS>

The structure currently being processed has one or more relations defined.

<IF STRUCTURE_RELATIVE>

 

The structure being processed is associated with a RELATIVE file.

<IF STRUCTURE_SINGLE_TAG>

 

The structure currently being processed has exactly one tag defined.

<IF STRUCTURE_TAGS>

The structure currently being processed has one or more tags defined.

<IF STRUCTURE_USER_DEFINED>

 

The structure being processed is associated with a user defined file.

<IF STRUCTURE_UTEXT>

The structure currently being processed has text in its user defined text field.

 

 


Copyright © 2021  Synergex International, Inc.