Creating Menus - the Shortcut

You create menu bars and pop-up menus by using the W$MENU library routine. The process of creating a large menu can be time-consuming, so ACUCOBOL-GT includes a utility program to simplify this task. This utility is called genmenu. It's a COBOL program provided in source form.

The utility genmenu takes a simple text file that describes one or more menus and generates COBOL source code that can create these menus. You can then include this generated source file in your program by using the COPY statement.