Previous Topic: Recursion Considerations

Next Topic: Other Uses for Menus

Signing off from Toolkit menus

Users do not necessarily have to return up the menu invocation stack to sign off from a job that uses Toolkit menus; a value other than *NONE for the SIGNOFF parameter on the Toolkit command Go to Menu (YGO) will cause the i OS command Sign Off (SIGNOFF) to be executed directly when the user specifies SO as a menu option. For example, for the SO option to sign the user off with LOG(*LIST):

YGO MENU(FRED) SIGNOFF(*LIST)

You may specify a value for the Go to Menu SIGNOFF option as part of the Toolkit user profile extension attributes:

YCHGUSRPRF USRPRF(FRED) LOGOFF(*LIST)