16. Managing and Deploying Applications : How You Can Import and Export Applications and Components : Import an Application : Parameters for the ImportApp Utility
 
Share this page                  
Parameters for the ImportApp Utility
You can specify the following parameters using the Import an Application dialog:
Input File
Specifies the name of the file from which the application is being imported. Click Browse to display a standard File Selection dialog.
Application Name
Specifies the name of the application that is to be created or merged into
Input File Format
Specifies the format of the application file to be imported:
EXP
Specifies OpenROAD proprietary ASCII format
XML (-xml)
Specifies XML format
Any
Allows OpenROAD to determine the format of the application file. OpenROAD first tries to import using its proprietary format; if this fails, it imports using XML format.
Name Conflict (-n)
Specifies how to treat name conflicts with one of the following values:
Prompt
Requests a prompt when there is a conflict
Abort
Directs OpenROAD to abort this utility and to back out any components that were already added
Replace
Replaces the old component with the new component
Version
Specifies that if an application or application component being imported already exists, the existing application or component is versioned before being replaced
Default: Abort
Display Errors (-e)
If any component has compilation errors, causes OpenROAD to write the component's 4GL script and any errors to the Trace window
Merge (-m)
Merges the components from the input file into the existing application
Transaction (-t)
Specifies that transactions are committed after each component is added to the database
Important!  Using this parameter decreases contention and log file use. However, if your database server crashes or the ImportApp utility is aborted before completion, only some of the application components are loaded.
Force Compilation (-f)
Forces compilation of the application components before they are loaded into the database.
If there is a compilation error, the component is still loaded into the database, but is marked as “out of date.”
If you do not include this parameter, components are copied into the database marked “out of date,” and are compiled the first time you compile or run the application.
Username (-u)
Lets you use this command as if you were another user, username. This entry field can be used only if Execute in Background is enabled.
Note:  You, not username, own all files created by OpenROAD.
Log Path (-L)
Specifies the name of a log file. This entry field can be used only if Execute in Background is enabled and Trace Window is set to Yes. If the log path specified is not a full path, the file is created in the ingres\files directory.
Trace Window (-T)
Lets you control display of the Trace window by entering one of the following values:
All
Specifies that the Trace window does appear
Yes
Specifies that the Trace window appears but suppresses informational messages output by the system
Yes (Minimized)
Specifies that the Trace window appears minimized as an icon
No
Specifies that the Trace window does not appear, and a log file is not created
Note:  This entry field can be used only if Execute in Background is enabled.
Append to Log File (-A)
Appends the trace output of the current command to the end of the existing error log file. Otherwise, that log file is replaced. This entry field can be used only if Execute in Background is enabled.
Note:  The error log file, w4gl.log, is located in %USERPROFILE%\AppData\Local\OpenROAD\Profiles\installation_ID. If the -L flag is passed, a new name and location can be provided for the OpenROAD log file.
Execute in Background
Begins a new process while you are using this utility.
If enabled, Execute in Background makes Username, Log Path, Trace Window, and Append to Log File available for use.
Note:  You can set defaults for this utility using the Set Tool Defaults dialog. See Set Defaults.