Open topic with navigation

TIBCO iProcess® Engine 11.9.1

# Export Procedures Using Command Line Options

To export one or more procedures using the `swutil EXPORT` command line options, use the following command:

`swutil EXPORT [``procedure``] [``directory``] [``options``]`

where:

| • | `procedure` is the name of the `.xfr` file to export.

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

To export a procedure (for example, `carpool.xfr`) to a directory outside of `SWDIR``/util` (for example, `/Dept/Purchasing`), run the following command:

`swutil EMPORT carpool /Dept/Purchasing`

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

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

swutil EXPORT 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 but use the specified version or precedence value, for example, `+e 3.0` or `+e rumiwxn`. For more information about precedence, see TIBCO iProcess Modeler Procedure Management.
`-l` | Do not prompt for OEM Lock (and do not set it).
`+l` | Do not prompt for OEM Lock (and set 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.
`-r` | Do not prompt for the Release ID (does not change).
`+r` `relid` | Do not prompt for Release ID but change it to the value provided.
`-s` | Do not export referenced sub-procedures (default).
`+s` | Export 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 (does not change).
`+v` `major``.``minor` | Do not prompt to reset the version number but set it to the supplied `major`.`minor` value.
`-x` | Do not prompt for the version of the sub-procedures to export.
`+x` `precedence` | Do not prompt for the version of the sub-procedure to export and use the supplied precedence value.

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

## Example

To export a procedure called `APPLY1` where you want to define a new Author called `Fred` and a Release ID of `Release1` and want to suppress all other prompts by`swutil`, you can enter the following command:

    swutil EXPORT apply1 +ar Fred Release1 -celmstvx

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-2024. Cloud Software Group, Inc. All Rights Reserved.