Editing an index definition member

An edit session on an index member occurs when:
  • Enter is pressed from the Insert New member panel.
  • The prefix command, E, is entered on the Index List panel.
  • The primary command, S existing_member_name, is entered on the Index List
   File  Edit  Edit_Settings  Menu  Utilities  Compilers  Test  Help            
 ───────────────────────────────────────────────────────────────────────────────
 EDIT       FMN.XFIND.INDEX.DIR(DEMO) - 01.00               Columns 00001 00072 
 Command ===>                                                  Scroll ===> PAGE 
 ****** ***************************** Top of Data ******************************
 =NOTE= INDEX Members consist of lines in the following form:                   
 =NOTE= INDEX=index.data.set.name                                               
 =NOTE= LANG=language_dsn(member)                                             
 =NOTE= data set name 1                                                         
 =NOTE= data set name 2                                                         
 =NOTE=     :                                                                   
 =NOTE= data set name N                                                         
 =NOTE= Repeat LANG= and data sets lines for different types
 ''''''                                                                         
 ''''''                                                                         
 ''''''                                                                         
 ''''''                                                                         
 ''''''                                                                         
 ''''''                                                                         
 ''''''                                                                         
 ''''''                                                                         
 ''''''                                                                         
 ****** **************************** Bottom of Data ****************************
where,
INDEX=
Identifies the index file which is a VSAM KSDS data set name that is created by the build job. This should be the first statement, and only one index data set name can be specified.
Note: A build deletes the data set if it exists and creates it with a size appropriate for the number of words and occurrences found.
LANG=
The data set name containing the language definition for the following data sets.
DSN1-DSNn
Each line following must contain a data set that must be partitioned and have a Variable or Fixed blocked record format.

All data sets must have like attributes.

Note: The LANG=, DSN1-DSNn grouping must be repeated for a different language or data sets with different attributes as illustrated in the following example.
Figure 1. Example
   File  Edit  Edit_Settings  Menu  Utilities  Compilers  Test  Help            
 ───────────────────────────────────────────────────────────────────────────────
 EDIT       FMN.XFIND.INDEX.DIR(DEMO) - 01.00               Columns 00001 00072 
 Command ===>                                                  Scroll ===> PAGE 
 ****** ***************************** Top of Data ******************************
 =NOTE= INDEX Members consist of lines in the following form:                   
 =NOTE= INDEX=index.data.set.name                                               
 =NOTE= LANG=language_dsn(member)                                             
 =NOTE= data set name 1                                                         
 =NOTE= data set name 2                                                         
 =NOTE=     :                                                                   
 =NOTE= data set name N                                                         
 =NOTE= Repeat LANG= and data sets lines for different types
 000001 INDEX=FMN.INDEX.DEMO           ①                                   
 000002 LANG=FMN.SFMNSAM1(FMNXREXX)                                           
 000003 FMN.DEMO01.EXEC                                                         
 000004 FMN.EXEC                                                                
 000005 LANG=FMN.SFMNSAM1(FMNXPNLS)                                           
 000006 FMN.DEMO01.PANELS                                                       
 000007 FMN.PANELS                                                              
 000008 LANG=FMN.SFMNSAM1(FMNXSKEL)                                          
 000009 FMN.DEMO 01.SKELS                                                        
 000010 FMN.SKELS                                                               

Index definition build process

The following diagram illustrates the build process for creating an index file from the artifacts described in the index member.

The diagram illustrates the build process for creating an index file from the artifacts described in the index member.