Commands and command help

Command prompting and online command help are powerful features of CL commands.

If you have developed one or more of your own CL commands, you know that all of the command prompting capabilities used by IBM® CL commands are available for you to use for your commands. The same is true for command help; the same capabilities for help provided for IBM-provided commands are also available for you to use to create online help.

The first step is to understand how the connections work between commands and command help.

When you try to view the help for a CL command (for instance, by pressing the F1 (Help) key while prompting the command), i5/OS™ determines whether the command has a help panel group associated with the command. If the command was created specifying a panel group name for the HLPPNLGRP parameter, or was changed by the Change Command (CHGCMD) command to have a help panel group associated with the command, the help stored in the panel group is retrieved, formatted, and displayed. i5/OS attempts to retrieve help from the following help modules in the help panel group:

When viewing extended CL command help on a 5250 terminal (or using 5250 emulator software), command-level and parameter-level help sections are required, and the examples and error messages help sections are optional. If the command-level help section or any parameter-level help section is not found in the online help panel group, diagnostic message CPF6E01 (Help information is incomplete) is displayed at the bottom of the help display. If the examples or error messages help modules are not found, no diagnostic message is displayed.

Related information
Create Command (CRTCMD) command