MONTANA RIVERS INFORMATION SYSTEM 

 Rivers Report 



APPENDIX F (cont.) 



The third and fourth fields for each of the Database Definition Lines contain 

 the maximum number of databases and indices that will remain open after they have 

 been initialized. The maximum number of databases must be greater than or equal 

 to the number of corresponding databases whose fifth field is not "N". The maximum 

 numbers of indices must be greater than or equal to the number of corresponding 

 indices whose third field is not "N". 



For computers with MS-DOS versions prior to 3.3 or that have some other 

 limitation on the number of files open at one time these values can be adjusted to 

 reflect a smaller number of files open at the same time. In addition, enough of the 

 fifth field of the corresponding Database Definition Lines must be changed to 'Y' 

 and/or the third field of corresponding Index Definition Lines must be changed to 'T'. 



For computers with MS-DOS versions prior to 3.3 copy the RPRIVERS.20 file 

 over the RPRIVERS.RPT file to insure proper operation. This Report Definition file 

 has the appropriate Database Definition and Index Definition Lines. This will also 

 result in slower performance. 



DATABASE DEFINITION LINES - DB, LT, HP 



Lines starting with DB define databases that are used by the report for data 

 in the report. Lines starting with LT define lookup tables that contain data which 

 opened to read data into lookup tables in the program and are then closed. Lines 

 starting with HP define help files for on-line help. 



The first field is the name of the database. The second field is the number 

 of index files for that database. The fourth field is the name of the directory which 

 contains the database. If it begins with a "&" it is a variable that contains the name 

 of the directory which has the database. See Variables as Directories. 



The fifth field is an optional field indicating whether or not the database is to 

 be closed after it is initially opened. If it is "N" it will be closed. If it non-existent 

 or 'T' it will be left open. 



INDEX DEFINITION LINES - I 



Lines beginning with I define an index for the preceding database. The first 

 field after I is the name of the index. The second field is index expression. The 

 third field is an optional field indicating whether or not the index is to be closed 



F - 5 



