![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |
There are three user exit rules. All are functions and all have the same arguments. The purpose of each of these is described below.@ENTRY_VALIDATE(caller, type, name, library, new)This rule is called before the tool makes its first display. If it returns “Y”, the tool continues. If it returns any other string, the tool terminates with no display, and the returned string appears as a message on the workbench. Tools where you can create a new object by changing the name or type of the object call this rule again for the new definition.@PRE_SAVE_OBJECT(caller, type, name, library, new)This rule is called after PF3 is pressed and before changes are committed into the database. If it returns any string except “Y”, the returned string appears as a message by the tool and the tool does not save the changes. At this point, a user can press PF12 to exit, or possibly change the object so it can be saved.@SAVED_OBJECT(caller, type, name, library, new)This rule is called after PF3 is pressed and the changes are committed into the database. If it returns any string except “Y”, the returned string appears as a message on the workbench.
The name of the entry rule of the tool calling the exit. The rule name for each of the tools are: The type of object being defined. This is the type used by the object model, such as TEM_TABLE. For other possible values, refer to the @OBJECTTYPES table. “Y” if the object is new, “N” otherwise. The Table Editor and Browser pass “Y” for an empty table, and the Single Occurrence Editor passes “Y” for a new occurrence.
![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |