The GONUMBER option specifies that the compiler produces additional information that allows line numbers from the source program to be included in run-time messages.
.-NOGONUMBER-. >>-+-GONUMBER---+----------------------------------------------><
ABBREVIATIONS: GN, NGN
Alternatively, the line numbers can be derived by using the offset address, which is always included in run-time messages, and either the table produced by the OFFSET option or the assembler listing produced by the LIST option.
GONUMBER is forced by the ALL and STMT suboptions of the TEST option.
Note that there is no GOSTMT option. The only option that will produce information at run-time identifying where an error has occurred is the GONUMBER option. Also note that when the GONUMBER option is used, the term "statement" in the run-time error messages will refer to line numbers as used by the NUMBER compiler option - even if the STMT option was in effect.