CodeGen Documentation
CodeGen Documentation

Relation Loop Expression Tokens

 

Relation loop expressions are expressions that can only be used within the context of a relation loop and allow you to conditionally include or exclude code based on the attributes of the current relation.

Relation Loop Expression

Description

<IF FROM_ACCESS>

The relations "from" key is an access key.

<IF FROM_ASCENDING>

 

The relations "from" key order is ascending.

<IF FROM_AUTO_SEQUENCE>

 

The relations "from" key is an auto-sequence key.

<IF FROM_AUTO_TIMESTAMP>

 

The relations "from" key is an auto-timestamp key.

<IF FROM_AUTO_TIMESTAMP_CREATED>

 

The relations "from" key is an auto-timestamp key (time record created).

<IF FROM_AUTO_TIMESTAMP_UPDATED>

 

The relations "from" key is an auto-timestamp key (time record last updated).

<IF FROM_CHANGES>

 

The relations "from" key allows key value changes.

<IF FROM_DESCENDING>

 

The relations "from" key order is descending.

<IF FROM_DUPLICATES>

 

The relations "from" key allows duplicate key values.

<IF FROM_DUPLICATESATEND>

 

The relations "from" key inserts duplicate key values after existing duplicates (FIFO).

<IF FROM_DUPLICATESATFRONT>

 

The relations "from" key inserts duplicate key values before existing duplicates (LIFO).

<IF FROM_FIRST_SEG_NOCASE>

 

The relations "from" key's first segment type is non-case-sensitive alpha.

<IF FROM_FOREIGN>

The relations "from" key is a foreign key.

<IF FROM_MULTIPLE_SEGMENTS>

 

The relations "from" key has multiple segments.

<IF FROM_NOCHANGES>

 

The relations "from" key does not allow key value changes.

<IF FROM_NODUPLICATES>

 

The relations "from" key does not allow duplicate key values.

<IF FROM_NULLKEY>

 

The relations "from" key is a null-replicating key.

<IF FROM_NULLVALUE>

 

The relations "from" key has a null-replicating key value.

<IF FROM_SINGLE_SEGMENT>

 

The relations "from" key has a single segment.

<IF TO_ASCENDING>

 

The relations "to" key order is ascending.

<IF TO_AUTO_SEQUENCE>

 

The relations "to" key is an auto-sequence key.

<IF TO_AUTO_TIMESTAMP>

 

The relations "to" key is an auto-timestamp key.

<IF TO_AUTO_TIMESTAMP_CREATED>

 

The relations "to" key is an auto-timestamp key (time record created).

<IF TO_AUTO_TIMESTAMP_UPDATED>

 

The relations "to" key is an auto-timestamp key (time record last updated).

<IF TO_CHANGES>

 

The relations "to" key allows key value changes.

<IF TO_DISPLAY_FIELD>

 

The relations "to" structure has a display field specified.

<IF TO_DESCENDING>

 

The relations "to" key order is descending.

<IF TO_DUPLICATES>

 

The relations "to" key allows duplicate key values.

<IF TO_DUPLICATESATEND>

 

The relations "to" key inserts duplicate key values after existing duplicates (FIFO).

<IF TO_DUPLICATESATFRONT>

 

The relations "to" key inserts duplicate key values before existing duplicates (LIFO).

<IF TO_FIRST_SEG_NOCASE>

 

The relations "to" key's first segment type is non-case-sensitive alpha.

<IF TO_LONGER>

 

The relations "to" key is longer than the "from" key.

<IF TO_MULTIPLE_SEGMENTS>

 

The relations "to" key has multiple segments.

<IF TO_NOCHANGES>

 

The relations "to" key does not allow key value changes.

<IF TO_NODUPLICATES>

 

The relations "to" key does not allow duplicate key values.

<IF TO_NULLKEY>

 

The relations "to" key is a null-replicating key.

<IF TO_NULLVALUE>

 

The relations "to" key has a null key value specified.

<IF TO_SAME_SIZE>

 

The relations "to" key is the same size as the "from" key.

<IF TO_SHORTER>

 

The relations "to" key is shorter than the "from" key.

<IF TO_SINGLE_SEGMENT>

 

The relations "to" key has a single segment.

<IF TO_STRUCTURE_INCLUDED>

 

The relations "to" structure is also being processed in the current code generation task.

<IF TO_STRUCTURE_NOT_INCLUDED>

 

The relations "to" structure is NOT being processed in the current code generation task.

 

 

 

 


Copyright © 2021  Synergex International, Inc.