Running the Sample Programs in UNIX

Follow the procedure below to run the sample programs in UNIX.

  1. Start AcuConnect on the server by going to the server and entering:
    acurcl -start -c acurcl.cfg -e server.err
  2. Copy the programs prog1.acu and asynch.acu from the sample directory on the server to any directory on the client. If you kept the installation defaults, these files can be found in the /AcuConnect/sample directory on the server. You may want to create a new directory on the client to hold the samples.
  3. Start the sample client program by changing to the directory where you installed the programs on the client and entering:
    runcbl -c client.cfg prog1.acu

    to test synchronous CALLs, or:

    runcbl -c client.cfg asynch.acu

    to test asynchronous CALLs.