My Oracle Support Banner

What Exact Cobol Compiler Command Is Executed When Building A Tuxedo Server Or Client ? (Doc ID 1387776.1)

Last updated on NOVEMBER 04, 2016

Applies to:

Oracle Tuxedo - Version: and later   [Release: 11g and later ]
Information in this document applies to any platform.


How do you get the exact command executed by COBOL compiler when building a Tuxedo server or a Tuxedo client>

A "-v" option can be passed to buildserver and builclient commands. However the displayed command is cobcc and not the real COBOL compiler's command.


Copy in a temporary directory CSIMPSRV.cbl and CSIMPCL.cbl Tuxedo samples, respectively a Tuxedo service written in COBOL and a Tuxedo client written in COBOL too.

CSIMPSRV.cbl and CSIMPCL.cbl source codes can be found in $TUXDIR/samples/atmi/CSIMPAPP directory.

Add "-v" option to buildserver:

$ buildserver -v -C -f CSIMPSRV.cbl -o CSIMPSRV -s CSIMPSRV
cobcc -I$TUXDIR/include -g -o CSIMPSRV BS-7af4.c -L${TUXDIR}/lib CSIMPSRV.cbl -lcobatmis -ltux -lbuft -lfml -l
fml32 -lengine -ldl -lpthread

Without any "-v" option :

$ buildserver -C -f CSIMPSRV.cbl -s CSIMPSRV -o CSIMPSRV

Add "-v" option to buildclient:

$ buildclient -v -C -f CSIMPCL.cbl -o CSIMPCL
cobcc -g -I$TUXDIR/include -o CSIMPCL -L${TUXDIR}/lib CSIMPCL.cbl -lcobatmis -ltux -lbuft -lfml -lfml32 -lengi
ne -ldl -lpthread

Without any "-v" option :

$ buildclient -C -f CSIMPCL.cbl -o CSIMPCL

 In both cases, it only refers to COBCC which is a Tuxedo script stored in $TUXDIR/bin directory. This script does NOT need to be modified.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.