Open topic with navigation

TIBCO iProcess® Engine 11.10.0

# Export a Procedure Library Using Command Line Options

Use the `swutil EXPORTLIB` command line options to quickly export a procedure library. By setting the required command line options, you can define the required export options and suppress the prompts/questions.

To export a procedure library:

| 1. | Use the following command:

`swutil EXPORTLIB` `pathname``[``directory``] [``options``]`

where:

| — | `pathname` is the full path name of the library you want to export (as displayed in Procedure Manager.) Use `/` to import the library to the root of Procedure Manager.

| — | `directory` is the directory to export the procedure.

If this is unspecified, the procedure library is exported as a `.xfr` file to the `SWDIR``\util` directory by default.

| — | `options` can be one or more of the options described to suppress or change a specific option:

swutil EXPORTLIB Options

Option | Description
`-a` | Do not prompt for the Author (Author value remains the same).
`+a` `author` | Changes the value of Author to the supplied `author` value.
`-c` | Do not prompt for the Creation Date.
`+c “``YY``:``MM``:``DD``` `HH``:``MM``”` | Changes the value of the Creation Date to the supplied date.
`-e` | Do not prompt for the version of the procedure to export (use the current default version).
`+e` `version``/``precedence` | Do not prompt for the version of the procedure to export and use the specified version or precedence, for example, `+e 3.0` or `+e rumiwxn`.
`-l` | Do not prompt for OEM Lock and do not set it.
`+l` | Do not prompt for OEM Lock and set the OEM Lock.
`-m` | Do not prompt for the Modification Date (does not change).
`+m “``YY``:``MM``:``DD``` `HH``:``MM``”` | Changes the value of the Modification Date to the supplied date.
`-p` | Do not prompt for the reset properties and assume No.
`+p` | Do not prompt for the reset properties but assume Yes.
`-r` | Do not prompt for the Release ID and the current Release ID is not changed.
`+r` `relid` | Do not prompt for the Release ID but change it to the value provided.
`-s` | Do not export the referenced sub-procedures (default).
`+s` | Exports the referenced sub-procedures.
`-t` | Do not export iProcess tables.
`+t` | Export all iProcess tables used in the procedure being exported.
`-v` | Do not prompt to reset the version number of the library and do not change the current value.
`+v` `major``.``minor` | Do not prompt to reset the version number of the library but set it to the supplied `major`.`minor` version. Note: If the referred template is included in the exported library, the template version will also be set to the supplied `major`.`minor` version. If the template is not included, this command will not change the template’s version number.
`-x` | Do not prompt for the version of the sub-procedure to export (use the current default).
`+x` `precedence` | Do not prompt for the version of the sub-procedure to export (use the supplied precedence setting).

Note | For any options that you do not set or suppress, you will be prompted in the same way as when you use `swutil EXPORTLIB` interactively.

| 2. | The procedure library is exported as a `.xfr` file in the `SWDIR``\util` directory by default or the directory specified in the command.

## Example

To export the `/Dept/Purchasing` library where you do not want any prompts to display but you need to set OEM lock for every procedure in the library, you would enter the following command:

    swutil EXPORTLIB /dept/purchasing -acemprstvx +l

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO iProcess® Engine

Copyright © 1994-2025. Cloud Software Group, Inc. All Rights Reserved.