Structure Expression Tokens

unlisted

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 ALTERNATE_KEY_ENDPOINTS>

 

Alternate key endpoints should be created for this structure. This expression is primarily intended for use with the Harmony Core framework. The token will evaluate to true unless the text NO_ALTERNATE_KEY_ENDPOINTS appears in the structures user text or long description fields.

 

<IF DELETE_ENDPOINT>

 

A delete endpoint should be created for this structure. This expression is primarily intended for use with the Harmony Core framework. The token will evaluate to true unless the text NO_DELETE_ENDPOINT appears in the structures user text or long description fields.

 

<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 GET_ENDPOINT>

 

A get endpoint should be created for this structure. This expression is primarily intended for use with the Harmony Core framework. The token will evaluate to true unless the text NO_GET_ENDPOINT appears in the structures user text or long description fields.

 

<IF GET_ALL_ENDPOINT>

 

A get all endpoint should be created for this structure. This expression is primarily intended for use with the Harmony Core framework. The token will evaluate to true unless the text NO_GET_ALL_ENDPOINT appears in the structures user text or long description fields.

 

<IF POST_ENDPOINT>

 

A post endpoint should be created for this structure. This expression is primarily intended for use with the Harmony Core framework. The token will evaluate to true unless the text NO_POST_ENDPOINT appears in the structures user text or long description fields.

 

<IF PUT_ENDPOINT>

 

A put endpoint should be created for this structure. This expression is primarily intended for use with the Harmony Core framework. The token will evaluate to true unless the text NO_PUT_ENDPOINT appears in the structures user text or long description fields.

 

<IF PATCH_ENDPOINT>

 

A patch endpoint should be created for this structure. This expression is primarily intended for use with the Harmony Core framework. The token will evaluate to true unless the text NO_PATCH_ENDPOINT appears in the structures user text or long description fields.

 

<IF PROPERTY_ENDPOINTS>

 

Individual property endpoints should be created for this structure. This expression is primarily intended for use with the Harmony Core framework. The token will evaluate to true unless the text NO_PROPERTY_ENDPOINTS appears in the structures user text or long description fields.

 

<IF STRUCTURE_ASCII>
 

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

<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_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_TAGS>

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

<IF STRUCTURE_MULTIPLE_TAGS>

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

 

<IF STRUCTURE_SINGLE_TAG>

The structure currently being processed has exactly one tag 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 © 2018  Synergex International, Inc.