Example 4

 OCCUR FROM(VARIN) LIST(ONCE) -
       TITLE('Record lengths that occur only once') -
       TIME(12:) DATE(DMY.) -
       ON(VLEN) NODUPS BLANK
Prints, in the ONCE data set:
  • A title line containing the specified title and the time and date
  • A heading line containing the standard heading
  • A data line for each record length for which there is only one occurrence, in the BLANK format, containing the record length

The ONCE output starts on a new page and looks as follows (the first 2 records are shown with illustrative values):

 Record lengths that occur only once        09:52:17 am        21.10.92

 RECORD LENGTH
            57
            61
             .
             .
             .

The title line and heading line appear at the top of each page.