Programming and Coding Examples › General Rules for Preparing Command Diagrams
General Rules for Preparing Command Diagrams
The following rules apply to the layout of the diagram:
- Begin the syntax base line with the command name in upper case:-

- Start each continuation syntax base line with ‘>—’ and end it with ‘—>’.
- Show all parameter keywords in upper case on the syntax base line.
- Do not split parameter descriptions over two lines, if this can be avoided.
- List the parameters in the order in which they appear in the code for the command. Note that on IBM i, the order in which the parameters appear on the panel may be altered by use of the PMTCTL keyword.