You can use the Command Line Utilities to export and import object definitions from one Optim™ Directory to another. Command line processing is available in all Optim environments.
The following guidelines apply:
The syntax conventions used to describe the command line import are:
Use the following command line syntax to import Optim Directory object definitions.
PR0CMND /IMPORT INput=impfilename [ { PSTdirectory= | Directory=} pstdirectory ] [ Output=rptfilename ] [ OVERWrite[ + | - ] ] [ ContinueOnError[ + | - ] ] [ DBAlias=(currentdbalias, newdbalias, ...) ]
Use the following command line syntax to import objects in the X:\FORIMPORT.TXT file from the command line, without overwriting any object definitions already in the Optim Directory. The process report is written to a file named X:\RESULTS.TXT and processing will continue in the event of an error. The example will also change the DB Alias xxx to yyy, and xxx2 to yyy2 for the imported objects.