DTRHELP.HLB  —  Commands Statements Clauses, RECONNECT Statement, Example
       The following example uses nested FOR loops to create the
       necessary contexts. The procedure uses prompting value
       expressions to get information from the user.

       DTR> DEFINE PROCEDURE NEW_MANAGER
       DFN> FOR G IN GROUPS WITH GROUP_NAME = *."the name of the group"
       DFN> FOR E IN EMPLOYEES WITH EMP_ID =
       DFN> *."the id of the new manager"
       DFN> RECONNECT G TO E.MANAGES
       DFN> END_PROCEDURE
       DTR>
Close Help