How to read syntax diagrams

Throughout this publication, syntax is described in diagrams like the one shown here, which describes the SRSTAT TSO command:

Read syntax diagramSkip visual syntax diagram>>---SRSTAT----'--resource name--'------------------------------>
 
>--+------------------------------+--+--------------------+----->
   |         .-OPCA-----------.   |  |        .-KEEP--.   |
   '-SUBSYS(-+-subsystem name-+-)-'  '-AVAIL(-+-RESET-+-)-'
             '-MSTR-----------'               +-NO----+
                                              '-YES---'
 
>--+-------------------------+--+------------------------+------>
   |            .-KEEP---.   |  |           .-KEEP---.   |
   '-DEVIATION(-+-amount-+-)-'  '-QUANTITY(-+-amount-+-)-'
                '-RESET--'                  '-RESET--'
 
>--+-------------------+--+--------------------------+---------><
   |         .-YES-.   |  |        .-0-----------.   |
   '-CREATE(-+-NO--+-)-'  '-TRACE(-+-trace level-+-)-'
 

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: