Author |
Message
|
sri_csee1983 |
Posted: Thu May 15, 2008 3:27 am Post subject: |
|
|
 Centurion
Joined: 25 Mar 2008 Posts: 125 Location: Chennai,India
|
Dear friends,
I am able to figure out the statement
SET OutputRoot.MRM.HD_RSP_FEE_INQ.HD_CICS_TRAN_ID=InputRoot.MRM.CICSTransactionId; is not working.
But the statement
SET OutputRoot.MRM.HD_RSP_FEE_INQ.HD_CICS_TRAN_ID='TTOX'; is working
I am trying to figure out what could be the problem with the Input msg. now this is the question, How does XML in MRM in Z/OS should be set up.
Please let me know..... _________________ With Cheers,
Sri |
|
Back to top |
|
 |
Gaya3 |
Posted: Thu May 15, 2008 3:35 am Post subject: |
|
|
 Jedi
Joined: 12 Sep 2006 Posts: 2493 Location: Boston, US
|
1. check whether you are feeding any data/ message to InputRoot.MRM.CICSTransactionId
2. Hope the variable CICSTransactionId is in sync with the input format (its case sensitive)
3. Try to copy this to an evironment variable
Set Environment.txid = InputRoot.MRM.CICSTransactionId
and see if its getting populated.
Regards
Gayathri _________________ Regards
Gayathri
-----------------------------------------------
Do Something Before you Die |
|
Back to top |
|
 |
Vitor |
Posted: Thu May 15, 2008 4:56 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
sri_csee1983 wrote: |
I am able to figure out the statement
SET OutputRoot.MRM.HD_RSP_FEE_INQ.HD_CICS_TRAN_ID=InputRoot.MRM.CICSTransactionId; is not working.
But the statement
SET OutputRoot.MRM.HD_RSP_FEE_INQ.HD_CICS_TRAN_ID='TTOX'; is working |
One assigns a character variable, one assigns a (possibly badly encoded) number.
sri_csee1983 wrote: |
How does XML in MRM in Z/OS should be set up.
|
Same as on any other platform. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
sri_csee1983 |
Posted: Thu May 15, 2008 9:48 pm Post subject: |
|
|
 Centurion
Joined: 25 Mar 2008 Posts: 125 Location: Chennai,India
|
Dear Friends,
One good progress is I am able to see the values to CWF fields from the incoming fields, after setting the values for encoding and ccsid for MQCIH header. After setting it the values for each fields of the CWF msg is set with the values of the incoming XML msgs, but in the error log it states String too long to convert.
I have set
SET OutputRoot.MQMD.Format = MQFMT_CICS;
Any solutions for this error? Please let me know. _________________ With Cheers,
Sri |
|
Back to top |
|
 |
Bill.Matthews |
Posted: Fri May 16, 2008 5:23 am Post subject: |
|
|
 Master
Joined: 23 Sep 2003 Posts: 232 Location: IBM (Retired)
|
When you do:
Quote: |
SET OutputRoot.MQMD.Format = MQFMT_CICS; |
you are saying that the next part of the message is the MQCIH - i.e. the CICS header.
You have not mentioned that you are also building a CICS header in front of the COBOL message. Therefore, I would assume that this statement is causing the error.
Run a test without specifying a value for the MQMD.Format. _________________ Bill Matthews |
|
Back to top |
|
 |
sri_csee1983 |
Posted: Fri May 16, 2008 11:50 pm Post subject: |
|
|
 Centurion
Joined: 25 Mar 2008 Posts: 125 Location: Chennai,India
|
I am sure that the set statements
SET OutputRoot.MQMD.Encoding = MQENC_NATIVE;
SET OutputRoot.MQMD.CodedCharSetId = 1200;
SET OutputRoot.MQCIH.Encoding = MQENC_NATIVE;
I have searched the net and found that we have to give either QM's CCSID or Platforms's CCSID or XML's encoding. Still no results. Still end up in either Mismatch error or String to long to concert or Error creating convertor. Please let me know what value should I set. I am confused a lot  _________________ With Cheers,
Sri |
|
Back to top |
|
 |
fjb_saper |
Posted: Sat May 17, 2008 7:18 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20767 Location: LI,NY
|
IIRC if you use the MQCIH header make sure your output data is in the MF's CCSID and encoding. The newer zOS versions might convert but I don't think the older ones did...
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
sri_csee1983 |
Posted: Wed May 21, 2008 2:18 am Post subject: |
|
|
 Centurion
Joined: 25 Mar 2008 Posts: 125 Location: Chennai,India
|
Dear Friends,
Atlast I found a strange solution (the worst solution for this problem).
The statement
SET OutputRoot.MRM.RSP_FEE_INQ_FIELDS.RSP_QUICK_PAY_LMT=InputRoot.MRM.QuickPayLimit
is not working. Instead
DECLARE QuickPayLimit INTEGER;
SET QuickPayLimit=InputRoot.MRM.QuickPayLimit;
SET OutputRoot.MRM.RSP_FEE_INQ_FIELDS.RSP_QUICK_PAY_LMT=QuickPayLimit;
is working. What a funny solution. I dont know why my broker on Z/OS is behaving so strange.  _________________ With Cheers,
Sri |
|
Back to top |
|
 |
|