Notes to users
C:\ProgramFiles\<Product directory>\Tools\cobol\copyBook32and in directory:
C:\ProgramFiles\<Product directory>\Tools\cobol\copyBook
64 bit COBOL copy books are installed in the following directory:
C:\ProgramFiles\<Product directory>\Tools\cobol\copyBook32
copyBook32for 32 bit applications, and:
copyBook64for 64 bit applications.
To prepare COBOL programs on Windows systems, link your program to one of the following libraries provided by WebSphere MQ:
Library file | Program/exit type |
---|---|
MQMCBB | server for IBM(R) COBOL |
MQMCB32 | server for Micro Focus COBOL |
MQICCBB | client for IBM COBOL |
MQICCB32 | client for Micro Focus COBOL |
When you are running a program in the MQI client environment, ensure that the DOSCALLS library appears before any COBOL or WebSphere MQ library.
Relink any existing WebSphere MQ Micro Focus COBOL programs using either mqmcb32.lib or mqiccb32.lib rather than the mqmcbb and mqiccbb libraries.
To compile, for example, the sample program amq0put0, using IBM VisualAge(R) COBOL:
set SYSLIB=<drive>:\Program Files\IBM\WebSphere MQ\ Tools\Cobol\Copybook\VAcobol;%SYSLIB%
cob2 amq0put0.cbl -qlib "<drive>:\Program Files\IBM\WebSphere MQ\ Tools\Lib\mqmcbb.lib"(for use on the WebSphere MQ server)
cob2 amq0put0.cbl -qlib "<drive>:\Program Files\IBM\WebSphere MQ\ Tools\Lib\mqiccbb.lib"
(for use on the WebSphere MQ client)
To compile, for example, the sample program amq0put0, using Micro Focus COBOL:
set COBCPY=<drive>:\Program Files\IBM\WebSphere MQ\ Tools\Cobol\Copybook
cobol amq0put0 LITLINK
cbllink amq0put0.obj mqmcb32.lib, or
cbllink amq0put0.obj mqiccb32.lib
Notices |
Downloads |
Library |
Support |
Feedback
![]() ![]() |
csqzal10142 |