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 » mq cics bridge and rfh2 header

Post new topic  Reply to topic
 mq cics bridge and rfh2 header « View previous topic :: View next topic » 
Author Message
sclarke
PostPosted: Tue Dec 01, 2009 11:18 am    Post subject: mq cics bridge and rfh2 header Reply with quote

Apprentice

Joined: 05 Jan 2002
Posts: 39

I am trying to change an existing broker flow which creates a message for the mq cics bridge to contain an rfh2 header. I have read the manuals and tried a few things but I keep getting a 2110 conversion error on the mainframe. Here is an example of what I have done - I have tried with and without the nameValueCCSID. Do I need to add
nameValueLength etc? Can the cics bridge handle an rfh2 header. A previous message implies that it does and the documentation said it could handle optional headers. Also - no convert is set on channels

Any ideas? Thanks a million...

SET OutputRoot.MQMD.Format = MQFMT_STRING;
SET OutputRoot.MQMD.CodedCharSetId = 500;
SET OutputRoot.MQMD.Encoding = 785;
SET OutputRoot.MQMD.Expiry = 600;
SET OutputRoot.MQMD.Format = MQFMT_RF_HEADER_2;
SET OutputRoot.MQMD.CorrelId = MQCI_NEW_SESSION;

SET OutputRoot.MQMD.UserIdentifier = Environment.user;

-- SET MQRFH2 fields
SET OutputRoot.MQRFH2.Format = MQFMT_CICS;
SET OutputRoot.MQRFH2.CodedCharSetId = 500;
SET OutputRoot.MQRFH2.Encoding = 785;
SET OutputRoot.MQRFH2.NameValueCCSID = 1200;
SET OutputRoot.MQRFH2.preserveState.field1 = 'testing';

-- Set mqcih cics bridge headers
SET OutputRoot.MQCIH.TransactionId = 'TXBP';
SET OutputRoot.MQCIH.Authenticator = Environment.loginInfo.applAuthPwd[1];
SET OutputRoot.MQCIH.Format = 'CSQCBDCI';
Back to top
View user's profile Send private message
agrawalamit166
PostPosted: Wed Dec 02, 2009 6:55 am    Post subject: Reply with quote

Voyager

Joined: 17 Aug 2009
Posts: 78
Location: NY, US

This is related with the format error....
Please look into this link....

http://www.mqseries.net/phpBB2/viewtopic.php?t=44663&sid=074f75b19c2e82f8b6dbca8b18e0e91a
Back to top
View user's profile Send private message Yahoo Messenger
sclarke
PostPosted: Wed Dec 02, 2009 9:07 am    Post subject: Reply with quote

Apprentice

Joined: 05 Jan 2002
Posts: 39

Thanks - I had seen that post - I have a format defined in each header and I have no control over how the mq cics bridge is reading the message. The mq cics bridge documentation implies that it can handle optional headers and I saw a post as well that it could. The documentation mentions using namevalueccsid and namevaluelength but i couldn't get that to work either. I am sure I am doing something pretty silly and just hoped that the solution that I am missing is known...
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Dec 02, 2009 9:10 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20697
Location: LI,NY

Quote:
SET OutputRoot.MQRFH2.preserveState.field1 = 'testing';

I hope this was not meant to be your name value pair.
If it was it should have looked like something like this
Code:
 SET OutputRoot.MQRFH2.usr.preserveState_field1 = 'testing';


Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » mq cics bridge and rfh2 header
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.