CONFIGUR


A system may be designed in such a way that the access to the physical files of the relations are different than those defined within the data dictionary using the THOR program. This may be the case if executing a system on a network where the drive designations of the various users for the same network space are different. For this reason, and to offer additional flexibility, a SAGE tool called CONFIGUR provides the capability of overriding the data dictionary path designations for one or all of the relations of a database, and the path to the .DFL and log file.

CONFIGUR will override what you defined in THOR. If the paths to physical files of any of the relations are redefined within CONFIGUR, they are only temporary and do not affect the original specifications within the data dictionary. If a relation's path is not redefined within CONFIGUR, the original path specification from the data dictionary will be in effect. CONFIGUR consists of two files:

CONFIGUR.EXE

CONFIGUR.DFL

These files may reside anywhere on your personal system or network.The CONFIGUR program may be executed as follows:

        CONFIGUR PATH = pathname D=database PW=password
        or
        CONFIGUR database
        or
        CONFIGUR
        where
        PATH    =  path to the CONFIGUR program and its required files
        PW    =  password for general database access
        D or DB  =  the database name and optional path
      
The database dictionary file name may be supplied in the execution line as shown using the "DB" or "D" parameters or as one of the options within the CONFIGUR program. In either place, the path (including the drive and directory) may be provided as well as the suffix if other than ".DFL". If no suffix is provided, ".DFL" will be appended to the supplied data dictionary file name.

The PATH parameter allows CONFIGUR program files to reside within any directory on your system. This statement allows the CONFIGUR program to access necessary information from the CONFIGUR.DFL file, and provides a way to execute the CONFIGUR program from anywhere within your system by using a ".BAT" file. A sample of such a ".BAT" file follows:

C:\THOR\CONFIGUR PATH=C:\THOR\ %1 %2
Depending on how you invoke CONFIGUR, the initial screen may be different. For example, if you type CONFIGUR and do not specify a .DFL, Figure 1 will be displayed. On this screen, you enter the name of the .DFL and a password, if applicable. Figure 2 will be displayed. If you specify a .DFL at the DOS prompt, you will bypass Figure 1 and immediately drop down into Figure 2.

Figure 1: Enter .DFL to Configure

Figure 2: CONFIGUR Main Menu

At this point, you may type an "E" or a "0" and press <Enter> (or press the Esc key) to leave CONFIGUR, or select one of the following options:

"1" or "D" - Specify the location of the data dictionary

"2" or "L" - Specify the location of the log file

"3" or "R" - Specify the location of the relations

"4" or "S" - Specify special identifier locations (e.g., defining FLOPPY as B:)

"5" or "P" - Generate a report showing the locations you specified for options 1 through 4.

SUBTOPICS

Data Dictionary Location
Log File Location
Relation File Locations
Special Identifier Locations
Produce Report Go Back To Sage-ST TABLE OF CONTENTS


warren.merrill@inl.gov , ftp://sage.inel.gov
Copyright © 1989-2006. Battelle Energy Alliance