Building a C Application on Any Development Platform

A C sample application, based on the Consolidated Credit Services (CCSDemo) mainframe application, is included in the AppConn C API installation; however, all the principles and methodology described in the sample application are equally applicable to any other host application.

The sample application, called CCSTutor, performs the following operations:

For Windows, the complete source code of CCSTutor can be found in the <VHI install folder>\examples\C-Sample folder. For UNIX, the complete source code of CCSTutor can be found in the /usr/local/vhi/examples/C-Sample directory. Use the command line to open the project called CCSTutor.cpp.

Accessing Data using the CCSTutor Application

To access data using CCSTutor, use the following search criteria:

Note: The data is case sensitive.