Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

MQ Wrapper Command

Former Member
0 Likes
390

Hi Guys,

Iam wrapping a file to the MQ server using the following command :

CALL system ID command FIELD COMMAND

ID tab FIELD RETURN.

I would like to know the value of SUBRC which says whether the data is successfully written to the target or not. I know that SUBRC = 0 will give whether the comand is successfully executed or not,but what i want is whether there is any issue in the transmitting the data to the target successfully or not.

Thanks,

KC.

1 REPLY 1
Read only

Former Member
0 Likes
318

What exactly are you putting in the:

CALL system ID command FIELD COMMAND
ID tab FIELD RETURN.

??

MQ is a messaging system, so you may be able to tell that you have sent the message, and of course MQ will "guarantee" delivery of the message at some time in the future, but you may want the target to send you back a message to say the data has actually been received and processed OK.

Jonathan