Running the application
- Last Updated: January 17, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
Running the application
Before you run the application, you must compile
and link the C program. This procedure assumes that the name of
the C executable is i-cpipe.
To run the application:
- In Windows, open a command window, which resembles an MS-DOS box.
- Enter
prowin32 -p i-ablpip.p -1 sports2000to start the OpenEdge process. - Enter
i-cpipeto start the non-OpenEdge process. - In the C program, type 1 to select reading a named pipe.
- In the ABL program, select Write to Pipe. The following occurs:
- The ABL program writes the customer name in each row of the customer table to the named pipe.
- The C program reads the named pipe and displays the customer names.
- The programs terminate.
You can rerun the application. In the C program, type 2 to select writing a named pipe, then type a customer number. In the ABL program, select Read from Pipe. The C program writes the customer number to the named pipe. The ABL program reads the named pipe, retrieves the row of the customer table with the specified customer number, and displays the row's columns.