gtpo1m1t | Operations |
Use this command to add, display, or remove an alternate key path that has been defined for a collection.
Requirements and Restrictions
Format
|
Additional Information
Examples
In the following examples, the ZBROW QUALIFY command with the SET parameter specified was issued to set the data store qualification to FAP.BSS before the examples were created.
A key path is added to the DICT1 key sorted set collection in the following example. The key path will be built using the values in the field starting at displacement 1 for a length of 8 characters for every data element in the collection.
+--------------------------------------------------------------------------------+ |User: ZBROW KEYPATH ADD DICT1 INDEX1 1 8 | | | |System: BROW0602I 12.38.16 BROWSER QUALIFIED FOR DSNAME FAP.BSS | | BROW0901I 12.38.17 KEYPATH SUCCESSFULLY ADDED | | BROW0910I 12.38.17 KEYPATH REQUEST COMPLETED | +--------------------------------------------------------------------------------+
All the alternate key paths defined for the DICT1 key sorted set collection are displayed in the following example. The following fields are displayed:
+--------------------------------------------------------------------------------+ |User: ZBROW KEYPATH DISP DICT1 ALL | | | |System: BROW0602I 12.46.09 BROWSER QUALIFIED FOR DSNAME FAP.BSS | | BROW0903I 12.46.09 KEYPATH INFORMATION DISPLAY | | KEYPATH NAME KEYPATH1 ID 1 | | DISPLACEMENT 0001 LENGTH 8 COUNT 0 | | BUILD COMPLETE | | KEYPATH NAME KEYPATH2 ID 2 | | DISPLACEMENT 0020 LENGTH 50 COUNT 0 | | BUILD COMPLETE | | END OF DISPLAY | | BROW0910I 12.46.09 KEYPATH REQUEST COMPLETED | +--------------------------------------------------------------------------------+
The INDEX1 key path is removed from the DICT1 key sorted set collection in the following example.
+--------------------------------------------------------------------------------+ |User: ZBROW KEYPATH REMOVE DICT1 INDEX1 | | | |System: BROW0602I 12.39.25 BROWSER QUALIFIED FOR DSNAME FAP.BSS | | BROW0902I 12.39.26 KEYPATH SUCCESSFULLY REMOVED | | BROW0910I 12.39.26 KEYPATH REQUEST COMPLETED | +--------------------------------------------------------------------------------+
Related Information