Author |
Message
|
Israk17 |
Posted: Thu Apr 17, 2008 4:27 pm Post subject: MQMD.Report Answer |
|
|
 Novice
Joined: 13 Mar 2008 Posts: 12
|
Hi everybody
I have tried to set a composed answer to MQMD.Report but only the first element in the answer is taken, the second element don't.
SET OutputRoot.MQMD.Report = MQRO_EXPIRATION_WITH_FULL_DATA + MQRO_PASS_CORREL_ID;
Is the syntax correct ?
Does somenone know how I can set the answer correctly ?
Thanks a lot  _________________ "Believe that you can do it ..." |
|
Back to top |
|
 |
Vitor |
Posted: Fri Apr 18, 2008 12:15 am Post subject: Re: MQMD.Report Answer |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Israk17 wrote: |
only the first element in the answer is taken, the second element don't.
|
Do you mean that if you look at the Report field in the MQMD it only has the first constant in it, or when the report message shows up it doesn't have the correl id you expect?
If the latter, does the user id producing the report message have authority to set or pass context? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Israk17 |
Posted: Fri Apr 18, 2008 7:41 am Post subject: |
|
|
 Novice
Joined: 13 Mar 2008 Posts: 12
|
I need to activate that two values: MQRO_EXPIRATION_WITH_FULL_DATA and MQRO_PASS_CORREL_ID.
Because when the message expire I wish to save a copy of it including the original message ID.
So, when I check in RFHUtil, it is only applicated the fisrt element (MQRO_EXPIRATION_WITH_FULL_DATA) in Report Opc --> Expire --> Full. Not the same for the second element (MQRO_PASS_CORREL_ID)and the Pass Correl checkbox is disabled.
Then the question is how I can activate these two options of the Report.
Thanks a lost.  _________________ "Believe that you can do it ..." |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Apr 18, 2008 7:52 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
These are bit level flags, basically. It may be that you need to do something other than ADD them together. Like BITAND them. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
mvic |
Posted: Fri Apr 18, 2008 8:09 am Post subject: |
|
|
 Jedi
Joined: 09 Mar 2004 Posts: 2080
|
Israk17 wrote: |
I need to activate that two values: MQRO_EXPIRATION_WITH_FULL_DATA and MQRO_PASS_CORREL_ID.
Because when the message expire I wish to save a copy of it including the original message ID. |
Did you need to use MQRO_PASS_MSG_ID or MQRO_COPY_MSG_ID_TO_CORREL_ID instead of MQRO_PASS_CORREL_ID? |
|
Back to top |
|
 |
|