4.3. Libraries and packages
Now that we know the different programming languages that can be used to write AMI applications, we must know the different libraries that are used to write AMI applications. If C is used to write the application, AMI provides a header file called amtc.h. This file contains all the functions, structures and constants used by AMI. This header file must be included in the application, which can be achieved by using the following statement:
#include <amtc.h>
Figure 4-1 shows the location of the amtc.h file on the different platforms where AMI is supported.
Operating System Platform | Location |
---|---|
AS/400 | QMQAMI/H |
UNIX (including AIX, HP-UX, and Solaris) | {MQSeries Directory}/amt/inc |
Get MQSeries Programming Patterns now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.