RTN Statements

The RTN statement defines the routine responsible for parsing the command.

The format of the RTN statement is:
Read syntax diagramSkip visual syntax diagram :RTN   routine-name   : ;
routine-name
is a CMS defined name.
Note:
  1. When the :RTN and :KWD statements are used, they replace (and are mutually exclusive with) the :OPR and :OPT statements. There is one :RTN statement followed by any number of :KWD statements.
  2. When you are translating a CMS command that uses routine parsing, you should only change the nl-name and nl-abbrev fields on the :KWD statement. You must not add or delete :KWD statements or change the routine and system language names.