Hi. I have an MQ I-O routine that I want to be callable from a batch or CICS program. So I have coded my first CICS calling module as such:
The LINKAGE SECTION and PROCEDURE DIVISION header of the called MQ module are coded as such:
The 'program interrupt' error I'm getting (CEE3200S error) occurs when the called module moves zeroes to one of the linkage section's data fields. This is the exact line of code where the program interrupt occurs:
My question is: why is this happening? I've done some research on the web and the closest thing I can find appears to be with the compiler options. I have both modules compiled with the RENT option, AMODE(31), RMODE(ANY). So I'm not sure what else to check to resolve this. Any assistance would be greatly appreciated!
Thanks!
Scott
Code:
CALL MQ-API-PROGRAM USING MQ-DATA-AREA.
The LINKAGE SECTION and PROCEDURE DIVISION header of the called MQ module are coded as such:
Code:
LINKAGE SECTION.
*.---------------------------------------------------------------.
*| L I N K A G E S E C T I O N
*'---------------------------------------------------------------'
01 MQ-DATA-AREA.
COPY MQMS.
EJECT
PROCEDURE DIVISION USING MQ-DATA-AREA.
The 'program interrupt' error I'm getting (CEE3200S error) occurs when the called module moves zeroes to one of the linkage section's data fields. This is the exact line of code where the program interrupt occurs:
Code:
MOVE ZEROS TO MQ-RETURN-CODE.
My question is: why is this happening? I've done some research on the web and the closest thing I can find appears to be with the compiler options. I have both modules compiled with the RENT option, AMODE(31), RMODE(ANY). So I'm not sure what else to check to resolve this. Any assistance would be greatly appreciated!
Thanks!
Scott