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.

Discover more from Srinimf

Subscribe now to keep reading and get access to the full archive.

Continue reading