How to read syntax diagrams
Syntax diagrams help to show syntax in a graphical way.
Throughout this publication, syntax is described in diagrams like the one shown here, which describes the SRSTAT TSO command:
The symbols have these meanings:
- ►►─────
- The statement begins here.
- ──────►
- The statement is continued on the next line.
- ►──────
- The statement is continued from a previous line.
- ─────►◄
- The statement ends here.
Read the syntax diagrams from left to right and from top to bottom, following the path of the line.
These are the conventions used in the diagrams:
- Required items appear on the horizontal line (main path):
- Optional items appear below the main path:
- An arrow returning to the left above the item indicates an item that you can repeat. If a separator is required between items, it is shown on the repeat arrow.
- If you can choose from two or more items, they appear vertically
in a stack.
- If you must choose one of the items, one item of the stack appears on the main path:
- If choosing one of the items is optional, the entire stack appears below the main path:
- A repeat arrow above a stack indicates that you can make more than one choice from the stacked items:
- Parameters that are above the main line are default parameters:
- Keywords appear in uppercase (for example, STATEMENT).
- Parentheses and commas must be entered as part of the command syntax, as shown.
- For complex commands, the item attributes might not fit on one horizontal line. If that line cannot be split, the attributes appear at the bottom of the syntax diagram: