Posted: Tue Dec 01, 2009 11:18 am Post subject: mq cics bridge and rfh2 header
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';
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...
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