NonStop JMS C++ API Programmer's Guide
Installation and Configuration for TNS/E
NonStop Server for Java Message Service C++ API Programmer’s Guide—526459-002
3-7
Install and Configure the NSJMS C++ API
c. Change the file format by typing:
TACL: V $SYSTEM.ZDLL
TACL: fup alter zjmscdll, code 800
TACL: fup alter yjmscdll, code 800
The installation is completed.
To run the sample application perform steps 5 through 9:
5. Set the NSJMS HOME variable:
a. Go to OSS.
b. Use the export command to set the NSJMS HOME variable:
OSH: export NSJMS HOME=<jms-install-dir>/nsjms/
T1251H10 _30MAY2005_H10
<jms-install-dir> is the standard or non-standard NSJMS installation
location.
6. Verify that you have access to an existing SQL Catalog.
The NSJMS C++ API uses the NSJMS SQL tables to store messages and
destination information. Verify that you have access to the existing NSJMS SQL
catalog and tables.
7. Create a sample queue and topic using your existing NSJMS (T1251) installation
by entering these commands:
where T1251-version is the vproc of the NSJMS (T1251) release (for example,
T1251H10_30MAY2005_H10).
8. Compile the sample programs by entering the following commands. The sample
programs use the destinations created in Step 7 above:
9. Test the sample programs
Note. The sample queue and topic names specified below are only examples and may
already exist in your NSJMS environment. If they already exist, substitute an appropriate
name for Q1 and T1.
OSH: cd /<jms-install-dir>/nsjms/T1251-version
OSH: java com.tandem.nsjms.admin.JmsAdmin
NSJMS Admin started.
nsjms-> add queue Q1
Destination added.
nsjms-> add topic T1
Destination added.
nsjms-> exit
OSH: cd /usr/tandem/nsjms/T2811-version/examples
OSH: make