The idxwork statement specifies the name of the directory to which the index information files created by the utility are to be output when the index or idxname statement is omitted.
idxwork [server-name] directory-name |
~<identifier> ((1-8))
Specifies the name of the server used to create index information files.
~<path name> ((1-255))
Specifies the absolute path name of the directory in which index information files are to be created.
The following shows the name of the index information file that is created automatically.
directory-name/INDEX-index-name-name-of-index-storage-RDAREA
-unique-character-string
If the idxwork statement specifies /hd400 as the directory name, IDX1 as the index name, and USER01 as the name of the index storage RDAREA, the created index information file will have the following name:
/hd0400/INDEX-IDX1-USER01-aaaa00001
directory-name/INDEX-index-name
-name-of-index-storage-RDAREA-GNgeneration-number-unique-character-string
If the idxwork statement specifies /hd400 as the directory name, IDX2 as the index name, USER01 as the name of the original index storage RDAREA, and 2 as the generation number of the RDAREA to be processed, the created index information file will have the following name:
/hd0400/INDEX-IDX2-USER01-GN2-aaaa00002