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]
| • | 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: |
|
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 but use the specified version or precedence value, for example, |
|
|
Do not prompt for OEM Lock (and do not set it). |
|
|
Do not prompt for OEM Lock (and set 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 Release ID (does not change). |
|
|
Do not prompt for Release ID but change it to the value provided. |
|
|
Do not export referenced sub-procedures (default). |
|
|
Export 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 (does not change). |
|
|
Do not prompt to reset the version number but set it to the supplied |
|
|
Do not prompt for the version of the sub-procedures to export. |
|
|
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 |
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 byswutil, you can enter the following command:
swutil EXPORT apply1 +ar Fred Release1 -celmstvx