COBOL with MQSeries Sample Program

Sample program with MQSeries in COBOL. It shows how to implement MQSeries calls.

Sample MQSeries program

Here’s the way to use MQGET and MQPUT calls.

PROCEDURE DIVISION.
INPUT FILES.
CALL 'MQGET' USING HANDLE.
OPEN INPUT-FILE.
CLOSE INPUT-FILE.

OUTPUT FILES.

CALL 'MQPUT' USING HANDLE.
OPEN OUTPUT-FILE.
CLOSE OUTPUT-FILE.

Author: Srini

Experienced software developer. Skills in Development, Coding, Testing and Debugging. Good Data analytic skills (Data Warehousing and BI). Also skills in Mainframe.