Previous Topic: &APPC Return Code Information

Next Topic: Advanced Program-to-Program Communication Extensions

Application Design

An important aspect of APPC programming is the consideration of application design. The protocol and verb set provided by APPC does not dictate a specific mode of use and can be flexibly adapted to a number of situations. In this sense, the application's use of the APPC verb set should be considered as part of the overall application design, and this further implies that the application spans the conversation.

Thus what is ostensibly a single application can be split into two (or more) procedures which communicate using the NCL &APPC verb. This form of application lends itself well to client-server type roles. Commonly, the client procedure will act as the man-machine interface, providing the presentation aspects of the application.

The server procedure can deal with the data organizational aspects of the application, fetching and returning to the presentation procedure one or more records depending upon the request.

There are some important advantages in this approach:

More information:

APPC Client/Server Processing