Products Downloads


French version


 

 

 

Assignment

Logical entities.

 

 

Use

Generation of instructions before the 4GL instructions updating the logical entities in the database (UPDATE, STORE, CLASSIFY), when the program is generated using the implicit management rule generation option.

 

The "update" event and the "before" trigger point will be incorporated into the trigger modules (Adelia/400's RPG generator).

 

 

Substitution principles

  • The management rule text variables $$Id are replaced by the name of the view concerned by the database file access instruction or by the name of the logical entity concerned by the database SQL access instruction.

  • The management rule text variables $LogicalProperty are replaced by the guide word associated with the property named LogicalProperty , if the latter belongs to the entity to which the management rule is assigned.

 

Example

Assigning the modification date.


1. Specification of the management rule:

$UPD_DATE = *DATE

 

2. Result in the program:

CC_UPD_DATE = *DATE

 

↑ Top of page

  • Aucune étiquette