After installation, environment variables are required to use iWay adapters and components. The variables can be set in your profile.
- On Windows platforms, environment variables are automatically set by the installation program. No steps are necessary, but it is a good idea to be aware of them in case you need to troubleshoot.
- On UNIX, OS/400, and z/OS platforms, you must manually set the appropriate environment variables for all user IDs that run iWay components.
Note: If you plan to run multiple installations of iWay components, the environment variables must be set up appropriately for each installation.
How to Set Environment Variables on UNIX Systems
The following environment variable settings are required to use iWay Service Manager and iWay adapters and components on a UNIX system:
- The following variable must be defined and set to the location of the iWay8 directory. The commands can be issued interactively or added to the iWay user .profile file using a text editor.
For example:
IWAY8=/home/userID/iWay8/ export IWAY8
Note: Be sure to include the trailing slash (/).
- The PATH variable must contain the iWay8/lib directory, for example:
PATH=$PATH:/home/userID/iWay8/lib export PATH
- On UNIX, the shared library variable must contain the iWay8/lib directory. This variable varies depending on your platform. The following table lists platforms and their associated variables.
Platform
Variable
AIX
LIBPATH
HP-UX
SHLIB_PATH
Other UNIX Platforms
LD_LIBRARY_PATH
For example:
LD_LIBRARY_PATH=/home/userID/iWay8/lib:$LD_LIBRARY_PATH export LD_LIBRARY_PATH