INDEXING Subcommand (OUTPUT MODIFY Command)

The INDEXNG subcommand adds a sequential number, letter, or roman numeral to the objects that meet the selection criteria. Index values are used by the OBJECTPROPERTIES command (OUTLINELABEL keyword) and TABLE subcommand (TABLETITLE keyword).

Example

OUTPUT MODIFY
  /SELECT ALL
  /INDEXING 
   INDEXTYPE=LETTERLOW
   INDEXSTART='a'
  /OBJECTPROPERTIES 
   OUTLINELABEL = ")INDEX - )LABEL".

INDEXTYPE Keyword

The INDEXTYPE keyword indicates whether numbers, letters, or roman numerals are used for the index values.

NUMBER
Integers are used to index the objects. This option is the default.
LETTERLOW
Lowercase letters are used to index the objects.
LETTERCAP
Uppercase letters are used to index the objects.
ROMANLOW
Lowercase roman numerals are used to index the objects.
ROMANCAP
Uppercase roman numerals are used to index the objects.

INDEXSTART Keyword

The INDEXSTART keyword specifies the starting index value.

  • For INDEXTYPE=NUMBER, the value of INDEXSTART must be an integer. The default is 1.
  • For INDEXTYPE=LETTERLOW, the value of INDEXSTART must be a quoted string of one or more lowercase letters. The default is ’a’.
  • For INDEXTYPE=LETTERCAP, the value of INDEXSTART must be a quoted string of one or more uppercase letters. The default is ’A’.
  • For INDEXTYPE=ROMANLOW, the value of INDEXSTART must be a quoted string of lowercase letters that represents a valid number that is expressed in roman numerals. The default is ’i’.
  • For INDEXTYPE=ROMANCAP, the value of INDEXSTART must be a quoted string of uppercase letters that represents a valid number that is expressed in roman numerals. The default is ’I’.