2 6 5 Display All Existing Rules and Triggers

LANSA for i

2.6.5 Display All Existing Rules and Triggers

When working with field rules and triggers the first screen always displays all the rules and triggers that currently exist for the chosen field.

Remember that only the DICTIONARY LEVEL rules and triggers are displayed when working at the dictionary level. Other rules and triggers may exist at the FILE or PROCESS level, but these are not displayed.

 

 DC@P700101                Select Rule / Trigger                       

                                                                       

 File      : XXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX (XXXX)

 Field     : XXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX (XXXX)

                                                                  Usage

Sel Seq Description                Type            Source         A/C/D

       **** DICTIONARY RULES ****                                      

 _  10 Check not blank.           LIST OF VALUES  DATA DICTIONARY Y Y Y

 _  20 Check valid number range   RANGE OF VALUES DATA DICTIONARY Y Y Y

       *** DICTIONARY TRIGGERS ***                                     

 _  10 Print field value          TRIGGER         DATA DICTIONARY      

                                                                       

                                                                       

                                                                       

 Fnn=Help  Fnn=Exit  Fnn=Cancel  Fnn=Messages                          

 

 

 

Note that file name is displayed only when working at file level.

 

Working from the Select Rule / Trigger screen you can:

  • Add a new rule or trigger by using the ADD function key. The resulting pop-up is described in the next section.
  • Select an existing rule or trigger for review by entering any non-blank character beside the desired item in the column labeled "Sel". On the subsequent displays the rule or trigger can be reviewed in full, changed or deleted. These are described in detail in following sections.