Author |
Message
|
Manikrish |
Posted: Fri Jul 12, 2002 4:55 am Post subject: Error in MQSI.. |
|
|
Apprentice
Joined: 19 Jun 2002 Posts: 35
|
Hi..
I have defined my 'SHOP_DATE' element as PIC 9(006) in my MsgSets and physical format as CWF...
I have got this error msg in EventViewer..saying error code as 0..???..
"( BKR.MyExeGrp ) Error with Custom Wire Format: message set 'DQ9CS8G072001'; message 'XXX'; parent element 'XXX'; current
element 'SHOP_DATE'; function name 'CWFWorker::parseNext'; error code '0'.
Custom Wire Format General Error.
Record the full details provided with this message and contact your IBM support center"
And also i am using Rfhutil.exe utility for putting the XML Msg. But XML messages are not getting inside the input queue fully...I have tried for mqsipututility also..Is there other utilities available?..Or whether i have to set any property to get my full msg?...Or Deadly i have to go for MQSeries Client for put and get my msgs?..
Any Help is Appreciated
ManiKrish |
|
Back to top |
|
 |
kirani |
Posted: Fri Jul 12, 2002 8:17 am Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
Could you post teh ExceptionList for above error message?
There are two versions(server and client) of mqsiput utility. Could you post the contents of the input xml file that you are passing to mqsiput command? _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
Manikrish |
Posted: Sat Jul 13, 2002 3:52 am Post subject: |
|
|
Apprentice
Joined: 19 Jun 2002 Posts: 35
|
The Problem is,
My XML Messages are directly substituted in the place of XML Msg Values....So i have got that CWF Error( Since some String value gets assigned in Integer defined Message data)..
On Debugging ,i find my MsgName and Values are assigned in this manner,
Message Name --------- Message Value
V101_xxx_MSG --------- <V1
V102_xxx_MSG --------- 01_xxx_M
V103_xxx_MSG --------- SG>
How can i get my Msg values?...I am using CWF and COBOL Binding...
I am using mqsiput server for putting the msgs..mqsiputc is available for putting msgs in client connections..
Any Help is Appreciated...
ManiKrish |
|
Back to top |
|
 |
Manikrish |
Posted: Mon Jul 15, 2002 3:24 am Post subject: Pbm in MQSI.. |
|
|
Apprentice
Joined: 19 Jun 2002 Posts: 35
|
Hi..
I am using Websphere MQ and MQSeries 5.2.1.. and i am using MRM as my Input Message Domain and XML MsgDomain as my output..I have got the pbm during parsing on input side...My input XML have not been parsed properly and instead of parsed XML Values, i am getting the whole XML msg as my output afer parse..I am using mqsiput for putting my msgs...
I am not getting any Exceptions..
I have posted my Sample Input XML File...
<V101_DESIGN_METRIC>AAAA</V101_DESIGN_METRIC>
<V101_PART_CLASS_CODE>A</V101_PART_CLASS_CODE>
<V101_PART_DESC>AA</V101_PART_DESC>
<V101_PART_DOCUMENT>A</V101_PART_DOCUMENT>
<V101_PART_NBR>AA</V101_PART_NBR>
<V101_PART_NOTE_EXISTS>A</V101_PART_NOTE_EXISTS>
<V101_PART_SUPR_REPL_CD>Q</V101_PART_SUPR_REPL_CD>
<V101_REC_CODE>A</V101_REC_CODE>
<V101_REPLACEMENT_PART>SSSS</V101_REPLACEMENT_PART>
<V101_RETAIN_DATA>S</V101_RETAIN_DATA>
<V101_SELECTION>AAAAAAA</V101_SELECTION>
<V101_SYS_ERR_MSG>WQEQW</V101_SYS_ERR_MSG>
<V101_UNIT_WEIGHT>AA</V101_UNIT_WEIGHT>
<V101_USER_ID>AAAAAAAA</V101_USER_ID>
<V101_WEIGHT>AAAA</V101_WEIGHT>
<V101_A_C_E_WEIGHT>A</V101_A_C_E_WEIGHT>
<V101_ACTION>AAA</V101_ACTION>
<V101_ALT_PART_CODE>A</V101_ALT_PART_CODE>
<V101_CREATE_GFE>G</V101_CREATE_GFE>
<V101_DESIGN_SOURCE>AA</V101_DESIGN_SOURCE>
<V101_DESIGN_UOM>AAAA</V101_DESIGN_UOM>
<V101_DOC_STATUS>A</V101_DOC_STATUS>
<V101_DOC_TYPE>AA</V101_DOC_TYPE>
<V101_EFF_CNTL_CODE>A</V101_EFF_CNTL_CODE>
<V101_ERR_MSG_1>EWRWE</V101_ERR_MSG_1>
<V101_ERR_MSG_2>WQE</V101_ERR_MSG_2>
<V101_FSCM>AAA</V101_FSCM>
<V101_FUNCTIONAL_GROUP>AAAAAA</V101_FUNCTIONAL_GROUP>
<V101_GROUND_SUPP_EQUIP>A</V101_GROUND_SUPP_EQUIP>
<V101_INACT_NEW_DES>A</V101_INACT_NEW_DES>
<V101_ISSUE_UOM>AAA</V101_ISSUE_UOM>
<V101_ITEM_PART>AAAAA</V101_ITEM_PART>
<V101_NEXT_ACTION>RTE</V101_NEXT_ACTION>
<V101_NEXT_PART>RT</V101_NEXT_PART>
<V101_NEXT_P_D>T</V101_NEXT_P_D>
<V101_PART_CHAR_AFFECTED>A</V101_PART_CHAR_AFFECTED>
Any help is appreciated...
ManiKrish |
|
Back to top |
|
 |
kirani |
Posted: Mon Jul 15, 2002 11:43 am Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
ManiKrish,
In your Compute node, do you have "Copy Message Headers Only" selected?
Could you tell me What is your input and output message formats (MRM-CWF/MRM-XML/selfdefining XML)?
Could you post the ESQL code where you are doing the transforamtion? _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
Manikrish |
Posted: Mon Jul 15, 2002 9:39 pm Post subject: |
|
|
Apprentice
Joined: 19 Jun 2002 Posts: 35
|
1 .Yes..In my compute Node,"Copy Message Headers Only" is in selected posn only..
2 .My input and output Msg format is MRM-CWF on my input Queue and XML for my output Queue..
3 .My ESQL Code:
DECLARE I INTEGER;
SET I = 1;
WHILE I < CARDINALITY(InputRoot.*[]) DO
SET OutputRoot.*[I] = InputRoot.*[I];
SET I=I+1;
END WHILE;
SET OutputRoot.Properties.MessageFormat = 'XML';
-- SET OutputRoot.Properties.MessageSet = 'DQ9CS8G078001';
SET OutputRoot.Properties.MessageType = 'PDM_AFFECTED_ITEM_ITEMHEADER_MSG';
/* Create an XML Declaration
*/
SET OutputRoot.XML.(XML.XmlDecl) = '';
/* Set the XML version in XML Declaration
*/
SET OutputRoot.XML.(XML.XmlDecl).(XML.Version) = '1.0';
/* XML Body
*/
-- SET OutputRoot.MRM.USER_ID = 'PMINTF';
SET OutputRoot.XML.PDM_AFFECTED_ITEM_ITEMHEADER_MSG.SecurityCategory = 'Non Engineering';
SET OutputRoot.XML.PDM_AFFECTED_ITEM_ITEMHEADER_MSG.ItemNumber = InputRoot.MRM.V101_ITEM_PART;
SET OutputRoot.XML.PDM_AFFECTED_ITEM_ITEMHEADER_MSG.PartClass= InputRoot.MRM.V101_PART_CLASS_CODE;
SET OutputRoot.XML.PDM_AFFECTED_ITEM_ITEMHEADER_MSG.CageCode= InputRoot.MRM.V101_FSCM;
4. After installation,i found 2 imbdfneo.lil files are there..I have deleted one.,but even then i am getting the same error msg..(Before deletion also i had the same error msg)..
Error Msg : File 'C:\Program Files\IBM\WebSphere MQ Integrator 2.1\bin\imbdfneo.lil' could not be loaded; operating system return code '126'
Any Help is Appreciated..
ManiKrish |
|
Back to top |
|
 |
kirani |
Posted: Tue Jul 16, 2002 9:34 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
ManiKrish,
In your earlier post you mentioned that your MQInput node is setup to read messages in MRM-CWF format. You have also posted one sample input message, which is in XML format. Are you sending XML as input message? If your MQInput node is configured to read messages as MRM-CWF then you should try sending input message in correct format.
If I understand correctly, here is an example of what you are trying to do:
If I create a Message in messageset with 3 elements,
ELE1 X(5), ELE2 X(5) and ELE3 X(10) and If I try to send following message input:
<data>sample<data>
Following values will be assigned to these elements:
ELE1 <data
ELE2 >samp
ELE3 le<data> _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
Manikrish |
Posted: Tue Jul 16, 2002 10:33 pm Post subject: |
|
|
Apprentice
Joined: 19 Jun 2002 Posts: 35
|
Kiran..,
What you have mentioned in the post is exactly the pbm we are facing...we dont know how to create our input msg in MRM-CWF.Could u plz explain how to create the input CWF msg for the example that u have mentioned..covering both integer and string fields..
Quick response is Appreciated...
Could u please refer some manual where i can get information about MRM-CWF Msgs..
ManiKrish |
|
Back to top |
|
 |
kirani |
Posted: Wed Jul 17, 2002 6:34 am Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
ManiKrish,
Working With Messages manual has good examples on how to model message in MRM-CWF. Please refer to this book. _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
|