+

Search Tips | Advanced Search

Preparing pTAL programs

Learn to build pTAL programs for the IBM MQ client on the HP Integrity NonStop Server platform.

To build a pTAL sample from source code, use the EPTAL compiler.

Note:

  • pTAL IBM MQ applications must use a main routine that is written in either the C or COBOL languages.
  • pTAL applications can be built only in Guardian.

The following table lists the library that is needed when we are preparing pTAL programs on HP Integrity NonStop Server. We must link your programs with the appropriate library provided by IBM MQ.

Library Description
mqic Guardian


Building applications using the Guardian EPTAL compiler

This section contains examples of the commands that are used to build programs that are targeted for Guardian when we are using the Guardian EPTAL compiler.

MQINSTALLATION_SUBVOL represents the Guardian volume and subvolume in which IBM MQ is installed.

pTAL IBM MQ applications must use a main routine that is written in either the C or COBOL languages.

The following example builds a pTAL client Guardian application:
         ASSIGN SSV0, $SYSTEM.SYSTEM
         ASSIGN SSV1, MQINSTALLATION_SUBVOL

         EPTAL /in MQINSTALLATION_SUBVOL.MQSPUTT/ MQSPUTO;nolist

         CCOMP /in MQINSTALLATION_SUBVOL.MQSPTMC/ MQSPUT;
                runnable,systype guardian,extensions,nolist,
                ssv0 "$system.system",
                ssv1 "MQINSTALLATION_SUBVOL",
                eld(MQSPUTO -LMQINSTALLATION_SUBVOL -lmqic)
Parent topic: Building your procedural application on HP Integrity NonStop Server

Last updated: 2020-10-04