DESCEND (Descend) keyword for physical and logical files

Use this key field-level keyword to specify that the values of this character, hexadecimal, or numeric key field are retrieved in descending sequence.

The default is ascending sequence. See the SIGNED (Signed) keyword for physical and logical files topic for an example of data sorted using the DESCEND keyword.

This keyword has no parameters.

Example

The following example shows how to specify the DESCEND keyword for a logical file.

|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
00010A          K ITEM
00020A          K BALDUE                    DESCEND
     A