Compile sybasexa.c using the makefile sybasexa.mk, which is located in $SYBASE/$SYBASE_OCS/sample/xa-dtm/cics/switch.
This is a listing of sybasexa.mk. Edit it to reflect your configuration.
SYB_LIBDIR = $(SYBASE)/$(SYBASE_OCS)/lib SYBLIBS = -lxadtm -lct_r.so -lcs_r.so -ltcl_r.so -lcomn_r.so -lintl_r -lxdsxom all : sybasexa.c xlc_r4 -bnoquiet -v -D_THREAD_SAFE \ -I/usr/lpp/encina/include sybasexa.c \ -o sybasexa \ -esybasexa \ -L/usr/lpp/cics/lib \ -L$(SYB_LIBDIR) \ $(SYBLIBS) \ -lcicsrt -ldce -lm \ /usr/lpp/cics/lib/regxa_swxa.o
You must use the shareable versions of CS-Library (libcs_r.so.) and Common Library (libcom_r.so.).