Calling Rebuild Using a Command Line


Rebuild can be called using command line parameters to select and perform actions. There is a defined set of arguments that can be used to call the utility.

All command line parameters to Rebuild now require that they be sent in pairs that are absolutely clear as to their meaning. The allowable commands are now "PATH=", "FILE=", "PW=", "REL=", "DFL=" and "OLD=". So a typical command line might be:
"Rebuild.exe REL=MyRel DFL=MyDFL.dfl OLD=MyOld.old".
The pairs are NOT required to be in any order.

"PATH=" - This parameter is a path that rebuild should use to find the application .DFL and the data if they are not in the current path or of you are not using a .CFG file.

"FILE=" - This parameter is a text file containing a list of names to process. For example a typical line might be "Rel1 My.DFL My.OLD". This file is required to be in a particular format with the name of the relation first, the name of the .DFL second and the name of the .OLD third.

"PW=" - This parameter is a list of any passwords that will be needed to access the data. This could be the .DFL password as well as relation passwords. If there is more than one simply separate with a comma (i.e. PW=Pass1,Pass2,Pass3).

"DFL=" - This parameter is the name of the .DFL file to use. If the PATH= equal command has been used DO NOT repeat the path on the file name.

"OLD=" - This parameter is the name of the .OLD file to use if version rebuild. If the PATH= equal command has been used DO NOT repeat the path on the file name.

Example Command Line Call - A typical command line call might be as follows:

"Rebuild.exe REL=MyRel DFL=MyDFL.dfl OLD=MyOld.old PW=Pass1,Pass2".
 
The pairs are NOT required to be in any order.
 

Go Back To Sage-ST TABLE OF CONTENTS


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