![]() |
![]() |
|
|
Building Clients
To build an executable ATMI client, compile your application with the BEA Tuxedo system libraries and all other referenced files using the buildclient(1) command. Include the -C option to indicate that you are compiling a COBOL program. Use the following syntax for the buildclient command:
buildclient -C filename.cbl -o filename -f filenames -l filenames
The following table describes the options to the buildclient command.
buildclient Options
Note: The BEA Tuxedo libraries are linked in automatically; you do not need to specify any BEA Tuxedo libraries on the command line. The order in which you specify the library files to be link edited is significant: it depends on the order in which functions are called in the code, and which libraries contain references to those functions. By default, the buildclient command invokes the UNIX cc command. You can set the ALTCC and ALTCFLAGS environment variables to specify an alternative compile command, and to set flags for the compile and link-edit phases, respectively. By default, ALTCC is set to cobcc. For more information, refer to Setting Environment Variables. Note: On a Windows 2000 system, the ALTCC and ALTCFLAGS environment variables are not applicable; setting them will produce unexpected results. You must compile your application by first using a COBOL compiler, and then passing the resulting object file to the buildclient command. For example: The following example command line compiles a COBOL program called audit.cbl and generates an executable file named audit. See Alsobuildclient -C -o audit -f audit.o
buildclient -C -o audit -f audit.cbl
![]() |
![]() |
![]() |
|
Copyright © 2001 BEA Systems, Inc. All rights reserved.
|