Prepare COBOL programs

 

Notes to users

  1. 32 bit COBOL copy books are installed in the following directory:
    /opt/mqm/inc/cobcpy32
    and symbolic links are created in:
    /opt/mqm/inc

  2. 64 bit COBOL copy books are installed in the following directory:

    /opt/mqm/inc/cobcpy64

  3. In the following examples set COBCPY to:
    /opt/mqm/inc/cobcpy32
    for 32 bit applications, and:
    /opt/mqm/inc/cobcpy64
    for 64 bit applications.

Compile the programs using Micro Focus compiler. The copy files that declare the structures are in /opt/mqm/inc:

Compiling 32 bit programs:

Compiling 64-bit programs:

where amqs0put0.cbl is a sample program

You need to link your program with one of the following:

 

Parent topic:

Building your application on Solaris


fg16600_