Sign in

docs DDS Physical

DESCEND (Descend) keyword for physical and logical files

DESCEND (Descend) keyword for physical and logical files

DESCEND (Descend) keyword for physical and logical files

You can 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 SIGNED (Signed) keyword for physical and logical files 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