Previous Topic: Summary of INLPGM ControlNext Topic: Using i OS menus


Using Different Control Programs

You can incorporate other control programs into the Toolkit user profile system as follows:

  1. Set up a Toolkit dynamic menu with a menu option specifying the requisite initial program as the action for the menu option. Parameters may be specified.
  2. On the user profile extension attributes, specify not only the initial Toolkit dynamic menu, but also the number of the initial menu option.

YCHGUSRPRF USRPRF(FRED) MENU(FRED) OPTION(‘1’)

YCHGUSRPRF USRPRF(FRED) MENU(FRED) OPTION(‘2’)

This method gives you an easy and instant way of specifying and changing the parameters for the i OS Programmer’s Menu (QPGMMENU): you could specify a menu option consisting of the i OS Start Programmer Menu (STRPGMMNU) command with the appropriate override values.

Note: You should not use relative numbering to number menu options used by the initial program. For a definition of relative numbering, see the section in this manual on menus.