Paradyme V4.0 - Manual |
Menus |
In most runtime environments, the user is presented with a menu immeadiately after they have logged onto an account. This account may be the main account which contains all the programs, data, functionality, etc. In many large systems there are dozens of options, most of which, the user will never user. To simplify things, it would be desirable to have several menu version that cover different aspects of the system. The next problem is arranging for the desired menu to be presented to the user.
This can be configured through the routine PD.USER.MENU. Which in turn, can be run from TCL using the PD.SR routine. It could also be setup in a PARADYME menu. When you start the routine, you get the following screen :-

After specifying the user ID, the user can then set which menu items will be run in which account if the user tries to run a PARADYME menu. Using the above setup, if user A00 tries to run a menu item after logging onto the account ACCOUNTS, the system will actually run the menu TEST.MENU.
This process will happen whatever menu the user tries to access in ACCOUNTS, unless the Ignore Redirect flag has been set to ‘Y'. If the flag has been set to ‘Y' for a menu item, that menu will be run irrespective of any settings for the user. This is primarily used for menus that deal with system maintenance or where the systems administrator needs to run a particular menu irrespective of any settings.
NOTE that the default setting for this field is ‘N', i.e the redirection will be performed. Obviously, if no re-directions are setup via PD.USER.MENU, the user will run the menu as specified irrespective of what this field has been set to.
Use the BACK BUTTON to return to the previous page