This group of statements defines the selections available under Subset on the menu bar. The value d1 in the DIALOG= option is used in the subsequent DIALOG statement.
      menu sub;
         item 'Where' dialog=d1;
         item 'Where Clear';