Products Downloads


French version


 

 

 

Assignment

Logical entities.

 

 

Use

Generation of instructions after the instructions reading the logical entities in the database (READ, MANAGE_SFL, PLACE, CHAIN, etc.), when the program is generated using the implicit management rule generation option.

 

 

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

Record lock test.

 

1. Specification of the management rule:

IF   $$VIEW EXISTS AND *LOCKED = '1'

SEND_MSG MSG0020

END

 

2. Result in the program:

IF   CUSTOMER EXISTS AND *LOCKED = '1'

SEND_MSG MSG0020

END

 

↑ Top of page

  • Aucune étiquette