Running the Sample Programs in Windows

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

  1. Start AcuConnect on the server by using the acurcl -start command or by clicking Start on the graphical control panel's Services tab.
  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 c:\microfocus\acucbl8xx\AcuGT\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 opening a Windows Command Prompt (DOS box) and changing to the directory where you installed the programs on the client. From the prompt, enter:
    wrun32 -c client.cfg prog1.acu

    to test synchronous CALLs, or:

    wrun32 -c client.cfg asynch.acu
    

    to test asynchronous CALLs.