Previous Topic: ConsiderationsNext Topic: Messages


Documenting Commands

If commands are used to document a system, they should be documented in two separate ways:

  1. With command diagrams for all commands, arranged in alphabetical order of command name. Each diagram should contain the following sections:
  2. With a Concepts Guide that discusses each area of the application system and names the individual commands that are relevant to that area. The concepts section provides an alternative access path for understanding the purpose of individual commands in terms of the whole application system.

For more information on an example of documenting commands, refer to the appendix, "Programming and Coding Examples," in this guide.

For good models, refer to the OS/400 CL Reference Guide (command diagrams) and the OS/400 Programmer’s Guide (concepts).