Import a Procedure Library Using Command Line Options
To import a procedure library using the command line options, use the following command:
swutil IMPORTLIBlibrarytarget[options]
where:
| • | library is the name of the library you want to import. |
| • | target is the full path to the library (as shown in Procedure Manager). |
|
Note |
If your library names use spaces, you must quote them in the command line. See Import a Procedure Library. |
| • | options can be one or more of the following to suppress or change a specific option: |
|
Option |
Description |
|||||||||
|
|
Overwrite the existing procedure description when you import a procedure as a new version. |
|||||||||
|
|
Do not overwrite the existing procedure description when you import a procedure as a new version. |
|||||||||
|
|
Do not prompt for the procedure’s |
|||||||||
|
|
Do not prompt for the |
|||||||||
|
|
Use existing |
|||||||||
|
|
Suppress confirmation when generating a new GUID for a renamed procedure. |
|||||||||
|
|
Displays the help (shows these options). |
|||||||||
|
|
Import Incomplete procedures with status x, where x is one of the following:
For example, Note: If you choose |
|||||||||
|
|
Overwrite lists that already exist. |
|||||||||
|
|
Import Model procedures with status
For example, Note: If you choose |
|||||||||
|
|
Opt for new version at the "New version or New name" prompt. |
|||||||||
|
|
Opt for new name at the "New version or New name" prompt and use the name supplied. |
|||||||||
|
Import procedures using the same procedure names (as new versions), owners and release status (except for Incomplete procedures) with which they were exported, without having to complete the associated prompts. Note: This option is equivalent to using the |
||||||||||
|
|
Import Released procedures with status
For example, Note: If you choose |
|||||||||
|
|
Do not import/overwrite iProcess table data. |
|||||||||
|
|
Import/overwrite iProcess table data. |
|||||||||
|
|
Import Unreleased procedures with status
For example, Note: If you choose |
|||||||||
|
|
Displays messages showing if a procedure has been committed to the database or rolled back. See Display Commit/Rollback Messages When Importing Procedures or Procedure Libraries. |
|
Note |
For any options that you do not set or suppress, you will be prompted in the same way as when you use |
The procedure library is imported to the target library in Procedure Manager.
Example
To import a procedure library from the admin.xfr file into the Dept\Purchasing library where you want all released procedures to be imported as model procedures and you want to suppress all prompts, you would use the following command:
swutil IMPORTLIB admin /dept/purchasing -deglrm