VMS Help  —  RUNOFF  /INDEX  Examples
    1.$  RUNOFF/INTERMEDIATE CHPT1,CHPT2,CHPT3

      Before using the RUNOFF/INDEX command, you must create a .BRN
      file as input for the DSR Indexing utility. The command in this
      example creates three separate files: CHPT1.BRN, CHPT2.BRN, and
      CHPT3.BRN.

    2.$  RUNOFF/INDEX CHPT1.BRN

      In this example, the RUNOFF/INDEX command takes the file
      CHPT1.BRN as input and creates CHPT1.RNX, which can be
      processed by DSR to produce an index for Chapter 1.

    3.$  RUNOFF/INDEX/LINE_PER_PAGE=52 CHPT2

      In this example, the RUNOFF/INDEX command takes the file
      CHPT2.BRN as input and creates CHPT2.RNX. The .RNX file
      produces an index with 52 lines of index entries per page.
      The lines per page had to be adjusted because the writer used a
      page layout with the page numbers centered at the bottom of the
      page (.LAYOUT 1, .LAYOUT 2, .LAYOUT 3). This page layout takes
      up three more spaces than .LAYOUT 0, which is the default for
      DSR. To produce the final index, you must use the .RNX file as
      input to DSR. See the following example.

    4.$  RUNOFF CHPT2.RNX

      In this example, the RUNOFF command produces CHPT2.MEX, which
      is a formatted index. You can type or print this file to view
      the index.
Close Help