Examples Special Menu Entries

LANSA for i

Examples - Special Menu Entries

The following examples apply to special menu entries that are to appear on a process's main menu.

Example 1

Define 2 special menu entries to display jobs submitted by the current user and jobs submitted from the workstation:

 

                           Run Time  Desc to display on menu_____Prompt___Command to be executed

Work jobs subd. by user       N      WRKSBMJOB *USER____________

Work jobs subd. from wrkstn   N      WRKSBMJOB *WRKSTN__________

 

 

Example 2

Define 2 special menu entries. The first is to display a nominated message queue and the second is to display a nominated job:

 

                          Run Time  Desc to display on menu_____Prompt___Command to be executed

Display a nominated msgq      Y      DSPMSG_______________________

Display a nominated job       Y      DSPJOB_______________________

 

 

These special menu entries can also be used to show options on the main process's menu such as:

  • submit a General ledger print to batch

SBMJOB JOB(GLPRINT) JOBD(QBATCH)

CMD(CALL GLA0742) OUTQ(QPRINT2)

  • display the General Ledger system main menu

CALL GLA0001