Preparing COBOL programs using IBM(R) COBOL Set for AIX(R)

Sample COBOL programs are supplied with WebSphere MQ. To compile such a program, enter:

  cob2 -o amq0put0 amq0put0.cbl
  -L/usr/mqm/lib
  -lmqmcb -qLIB
  -I/<COBCPY>
Note:
For threaded applications, use cob2_r with the libmqmcb_r.a library.