XKEY primary command

The XKEY primary command creates a data set containing the keys of all root segments from the current position. You can use this data set on the Extract (option 3.3) panel to extract segments.

Syntax


1 XKey
1! ALL
1 number
ALL
The keys of all root segments between the current position and end of file is output to the key extract file.
number
The keys of every number root segment between the current position and end of file is output to the key extract file.

The allocation attributes for the data set created by the XKEY command are defined on the Output Data Set Allocation (option 0.9) panel.

The format for the name of the XKEY data set is:

userid.XKEY.Dyymmdd.Thhmmss.dbd_name.

Availability

Related tasks and examples