ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Flow that is working on Windows, throws error in Z/OS

Post new topic  Reply to topic Goto page Previous  1, 2
 Flow that is working on Windows, throws error in Z/OS « View previous topic :: View next topic » 
Author Message
sri_csee1983
PostPosted: Thu May 15, 2008 3:27 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Gaya3
PostPosted: Thu May 15, 2008 3:35 am    Post subject: Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Thu May 15, 2008 4:56 am    Post subject: Reply with quote

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
View user's profile Send private message
sri_csee1983
PostPosted: Thu May 15, 2008 9:48 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Bill.Matthews
PostPosted: Fri May 16, 2008 5:23 am    Post subject: Reply with quote

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
View user's profile Send private message
sri_csee1983
PostPosted: Fri May 16, 2008 11:50 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
fjb_saper
PostPosted: Sat May 17, 2008 7:18 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
sri_csee1983
PostPosted: Wed May 21, 2008 2:18 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Flow that is working on Windows, throws error in Z/OS
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.