Previous Topic: Using Different Control ProgramsNext Topic: Password Validation


Using i OS menus

You may also use i OS menus in conjunction with the Toolkit user access system: on normal completion, the initial program YINLPGM returns without invoking the i OS command Sign off (SIGNOFF). This causes control to be returned to the system, which will then display any menu specified by the INLMNU parameter on the user profile.

  1. If you want to display a Toolkit menu (or menu option) but not an i OS menu, specify the name of the Toolkit menu for the MENU parameter, the name of the Toolkit menu file for the MENUFILE parameter, and a value of *SIGNOFF for the INLMNU parameter. For this to be effective, you must specify LMTCPB(*YES) on the user profile (otherwise INLMNU can be overridden from the Toolkit sign-on screen or the i OS command Change User Profile (CHGPRF) .
  2. If you want to display an i OS menu but not a Toolkit menu, specify the name of the i OS menu for the INLMNU parameter and a value of *NONE for the MENU and MENUFILE parameters.

Normally you will not wish to display both a Toolkit menu and an i OS menu, but you may do so. You might for example use a Toolkit menu option to run a job initialization step prior to displaying an i OS menu.