This chapter provides instructions for running the simpapp sample applications delivered with Oracle Tuxedo for OpenVMS. The other sample applications are documented in the Read Me file located in the sample applications directory.
This section provides a procedure for building, configuring, running, and shutting down a sample application based on simapp (a sample application delivered with Oracle Tuxedo).
Before you begin, make sure that:
DKA100:[Tuxedo.APPS.SIMPAPP] to DKA100:[TUXAPP]
. The copied files include SIMPCL.C
, SIMPSERV.C
, README.vms
, and UBBBSIMPLE
.buildclient -o SIMPCL.EXE -f SIMPCL.C
SIMPCL.EXE
:SIMPCL:==$ DKA100:[TUXAPP]SIMPCL.EXE
buildserver -o SIMPSERV.EXE -f SIMPSERV.C -s "TOUPPER"
UBBSIMPLE
.DKA100:[TUXAPP]
to APPDIR
.DKA100:[Tuxedo]
to TUXDIR
.DKA100:[TUXAPP]TUXCONFIG
to TUXCONFIG
.hostname
command on your machine to determine the name of the machine. Then replace the machine_name
entry with the name of your machine.id
command on your VMS machine to determine your UID and GID. Then change the UID and GID values in the *MACHINE
section.UBBSIMPLE
configuration file. A file named DKA100:[TUXAPP]TUXCONFIG
will be created.$ tmloadcf -y UBBSIMPLE
$ tmboot -y
$ simpcl abc
The simple client calls the TOUPPER service and specifies input: the string abc. TOUPPER converts the string to upper case (ABC) and sends the new string to the client.