Import a Procedure Library Interactively
The interactive method displays prompts for each stage of the import. If you want to import a procedure library without displaying all of the prompts, use the command line method. See Import a Procedure Library Using Command Line Options.
|
Note |
The |
| 1. | To import a procedure library, use the following command: |
swutil IMPORTLIB library target
where:
| — | library is the name of the library you want to import. |
To import a procedure library (for example, carpool.xpdl) from a directory outside of SWDIR/util (for example, /Dept/Purchasing), run the following command:
swutil IMPORTLIB /Dept/Purchasing/carpool.xpdl target
| — | 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. |
The library can be either an .xfr or .xpdl library. If there is only one type in the folder, then iProcess imports that library automatically. If however there are both types, such as carpool.xfr and carpool.xpdl, you will be prompted to choose which you want to import, as follows:
'F'carpool.xfr,'P' carpool.xpdl,'Q'uit?
Enter F to import the .xfr or enter P to import the .xpdl.
| 2. | For each procedure and sub-procedure in the library, the command displays the same prompts that you would see if you were importing the procedure individually. See Import a Procedure for more information. |
The library and all of its procedures are imported to Procedure Manager in the target you specified. If you want to move the library or procedures, use Procedure Manager to do so. See "Moving and Copying Procedures, Libraries and Shortcuts" in TIBCO iProcess Modeler Procedure Management.
|
Note |
When you import an |
Example
To import a procedure library from the admin.xfr file into the /Dept/Purchasing library following the interactive prompts, you would use the following command:
swutil IMPORTLIB admin /dept/purchasing
To import a procedure library from the admin.xfr file into the /Dept/Purchasing 2 library following the interactive prompts, you would use the following command (note the quoted pathname):
swutil IMPORTLIB admin ‘/dept/purchasing 2’