Sample Applications
In the installation folder for the TIBCO ActiveMatrix BusinessWorks™ Plug-in for IBM i, there is a folder named samples. Within that folder is a ZIP archive named IBMiPluginExample.zip. This archive contains two applications (also ZIP archives), and a save file named ADAS400.SAVF from an IBM i system. To run the samples, you must first upload and restore the ADAS400.SAVF save file to an IBM i system of your choice. To upload and restore the save file, extract it from the archive and follow these instructions:
Procedure
- In a Unix shell or a Windows command prompt, navigate to the folder where the ADAS400.SAVF has been extracted.
- Start an FTP session in the Unix shell or Windows command prompt to connect to an IBM i machine.
- In the FTP session, change the transfer mode to binary by using the bin command: bin
- Change to an IFS naming convention using the following command: quote site namefmt 1
- Change the library to <library_name>, which is the name of the library where you want to upload the save file: cd /QSYS.LIB/<library_name>.LIB.
- Upload the save file to the library on the IBM i machine using the following command: put ADAS400.SAVF
- Sign on to the IBM i machine, and verify that the save file was uploaded correctly by entering the following command: DSPSAVF FILE<library_name>/ADAS400), where <library_name> is the name of the library where the ADAS400 was uploaded.
- On the IBM i machine, restore the ADAS400 sample library by entering the following command: RSTLIB SAVLIB(ADAS400) DEV(*SAVF) SAVF(<library_name>/ADAS400).
Example
If you have chosen to use a different library name from ADAS400, you will have to adjust the variables used in the sample applications to match your installation. To use the samples, extract them to a directory and import them into TIBCO Business Studio using the right-click > Import Existing Studio Projects action in the workspace explorer. The applications have been internally documented and annotated to help you use them.
Copyright © 2020. Cloud Software Group, Inc. All Rights Reserved.