Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 8 Procedures and Procedure Libraries : Export a Procedure Library

Export a Procedure Library
Follow this procedure to export a procedure library listed in your Procedure Manager as an .xfr file. The hierarchical structure of the library is maintained when you export it.
This option is not available from the swutil menu. You can only export procedure libraries using the command line option either interactively or by using the options to suppress the prompts.
To export a procedure library:
the IPEADMIN user or IPEBACKGROUND user can export all procedure objects.
Export a Procedure Library Interactively
To export a procedure library following the on screen prompts:
1.
swutil EXPORTLIB /pathname [directory]
where:
pathname is the full path name of the library you want to export (as displayed in the Procedure Manager.)
For example, to export the Dept/Purchasing library, you would use the command:
swutil EXPORTLIB /dept/purchasing
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.
2.
If you do this, the new values are applied to each object in the library.
3.
The one difference is that if you chose to globally reset the extended properties (in step 2), you cannot reset the extended properties for individual procedures and sub-procedures. Those prompts are not displayed.
If any use files are referenced, a copy of the file (in the iProcess SWDIR\nodename.n\use directory) is included in the exported file. Also, any VBA projects used in the procedure are exported.
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.
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 below to suppress or change a specific option:
+a author
Changes the value of Author to the supplied author value.
+c “YY:MM:DD HH:MM
+e version/precedence
+m “YY:MM:DD HH:MM
+r relid
+v major.minor
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 precedence
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

 

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved