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: |
|
Option |
Description |
|
|
Do not prompt for the Author (Author value remains the same). |
|
|
Changes the value of Author to the supplied |
|
|
Do not prompt for the Creation Date. |
|
|
Changes the value of the Creation Date to the supplied date. |
|
|
Do not prompt for the version of the procedure to export (use the current default version). |
|
|
Do not prompt for the version of the procedure to export and use the specified version or precedence, for example, |
|
|
Do not prompt for OEM Lock and do not set it. |
|
|
Do not prompt for OEM Lock and set the OEM Lock. |
|
|
Do not prompt for the Modification Date (does not change). |
|
|
Changes the value of the Modification Date to the supplied date. |
|
|
Do not prompt for the reset properties and assume No. |
|
|
Do not prompt for the reset properties but assume Yes. |
|
|
Do not prompt for the Release ID and the current Release ID is not changed. |
|
|
Do not prompt for the Release ID but change it to the value provided. |
|
|
Do not export the referenced sub-procedures (default). |
|
|
Exports the referenced sub-procedures. |
|
|
Do not export iProcess tables. |
|
|
Export all iProcess tables used in the procedure being exported. |
|
|
Do not prompt to reset the version number of the library and do not change the current value. |
|
|
Do not prompt to reset the version number of the library but set it to the supplied Note: If the referred template is included in the exported library, the template version will also be set to the supplied |
|
|
Do not prompt for the version of the sub-procedure to export (use the current default). |
|
|
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 |
| 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