z/OS DFSMS Managing Catalogs
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Sort Control Parameters

z/OS DFSMS Managing Catalogs
SC23-6853-00

The parameters given in this section assume that you are using z/OS® DFSORT. However, the explanation should enable you to specify the necessary parameters for any other functionally equivalent sort program.

The output data set from Record Selection and Validation must be sorted as follows:

  1. By data set name (ascending). The data set name begins at location 2181. It is 44 (alphameric or special) characters in length.
  2. By data set name extension number (ascending). The data set name extension is one binary byte at location 2621.
  3. By the date of the SMF record (descending) . The SMF date field is packed decimal, 4 bytes at location 111.
  4. By the time of the SMF record (descending) . The SMF time field is 4 binary bytes at location 71.

    Note that because this field identifies the time to a granularity of 0.01 seconds, duplicate keys are possible. In order to maintain the original order of SMF records when the system encounters duplicate keys, you must specify the EQUALS sort parameter. However, if SMF records with matching time stamps were generated from different systems, ICFRU cannot know the proper order to apply these updates. This condition is indicated by the new message CRU117I, stating that ICFRU has encountered two or more SMF records from different systems referencing the same catalog entry. This message warns the user that the SMF records for the indicated Catalog entry may not have been applied in the correct order and that the user should verify the results.

The specification for DFSORT is as follows:
SORT FIELDS=(218,44,CH,A,262,1,BI,A,11,4,PD,D,7,4,BI,D)

Other parameters may be used to optimize the performance of DFSORT. In particular, CRURRSV will count the number of SMF records selected and this count can then be supplied to DFSORT.

1 Locations are relative to 1 (not zero) and include the 4 bytes of length information for the variable length records from SMF.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014