BEA Logo BEA Tuxedo Release 8.0

  BEA Home  |  Events  |  Solutions  |  Partners  |  Products  |  Services  |  Download  |  Developer Center  |  WebSUPPORT

 

   Tuxedo Documentation   |   Tutorials for Developing BEA Tuxedo ATMI Applications   |   Local Topics   |   Previous Topic   |   Next Topic   |   Contents

 


Step 4: Editing and Loading the Configuration File

How to Edit the Configuration File

  1. In a text editor, familiarize yourself with the configuration file for CSIMPAPP.

    CSIMPAPP Configuration File

    #Skeleton UBBCONFIG file for the BEA Tuxedo COBOL Simple Application.
    #Replace the <bracketed> items with the appropriate values.
    *RESOURCES
    IPCKEY <Replace with a valid IPC Key>
    #Example:
    #IPCKEY 123456

    DOMAINID UBBCSIMPLE
    MASTER simple
    MAXACCESSERS 5
    MAXSERVERS 5
    MAXSERVICES 10
    MODEL SHM
    LDBAL N
    *MACHINES
    DEFAULT:
    APPDIR="<Replace with the current pathname>"
    TUXCONFIG="<Replace with TUXCONFIG Pathname>"
    TUXDIR="<Root directory of BEA Tuxedo (not /)>"
    ENVFILE="<pathname of file of environment vars>"
    #Example:
    # APPDIR="/home/me/simpapp"
    # TUXCONFIG="/home/me/simpapp/TUXCONFIG"
    # TUXDIR="/usr/tuxedo"
    # ENVFILE="/home/me/simpapp/envfile"
    <Machine-name> LMID=simple
    #Example:
    #usltux LMID=simple
    *GROUPS
    GROUP1
    LMID=simple GRPNO=1 OPENINFO=NONE
    *SERVERS
    DEFAULT:
    CLOPT="-A"
    CSIMPSRV           SRVGRP=GROUP1   SRVID=1
    *SERVICES
    CSIMPSRV

  2. For each string (that is, for each string shown in italic between angle brackets), substitute an appropriate value:

Note: The pathnames for TUXCONFIG and TUXDIR must be identical to those you set and exported earlier. You must specify actual pathnames; references to pathnames through environment variables (such as TUXCONFIG) are not acceptable. Do not forget to remove the angle brackets.

How to Load the Configuration File

  1. Run tmloadcf to load the configuration file:
    $ tmloadcf UBBCSIMPLE
    Initialize TUXCONFIG file: /usr/me/CSIMPDIR/TUXCONFIG [y, q] ? y
    $

  2. Check the results by displaying a list of the files in your current directory:
    $ ls
    CSIMPCL CSIMPCL.o CSIMPSRV.int TPSVRINIT.int
    CSIMPCL.cbl CSIMPSRV CSIMPSRV.o TPSVRINIT.o
    CSIMPCL.idy CSIMPSRV.cbl TPSVRINIT.cbl TUXCONFIG
    CSIMPCL.int CSIMPSRV.idy TPSVRINIT.idy UBBCSIMPLE

    We now have a file called TUXCONFIG (a new file system under the control of the BEA Tuxedo system).

See Also

 

back to top previous page next page