Author |
Message
|
saurabhsinha23 |
Posted: Tue Dec 18, 2007 1:31 pm Post subject: No descriptor was loaded for CWF worker |
|
|
Novice
Joined: 20 Apr 2004 Posts: 12
|
Hi,
I have written a simple XML to COBOL transformation message flow in MB6. I am getting the following error, when I run the debugger.
BIPv600
" An attempt was made to parse/ write but no descriptor was loaded for CWF worker. "
Any idea, where exactly I am going wrong?
TIA
Saurabh |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Dec 18, 2007 2:48 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Did you define a message set?
Did you set the relevant info on the OutputRoot.Properties?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
saurabhsinha23 |
Posted: Tue Dec 18, 2007 2:52 pm Post subject: |
|
|
Novice
Joined: 20 Apr 2004 Posts: 12
|
Thanks for your response.
Yes. I have defined a message set and I have also set OutputRoot.Properties.
I have set MessageSet, MessageType and MessageFormat. Do I need to set any other field? |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Dec 18, 2007 3:18 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
saurabhsinha23 wrote: |
Thanks for your response.
Yes. I have defined a message set and I have also set OutputRoot.Properties.
I have set MessageSet, MessageType and MessageFormat. Do I need to set any other field? |
Well the Output Tree needs to match the message as declared in the Message Set... oh yeah and the parser should be MRM _________________ MQ & Broker admin |
|
Back to top |
|
 |
kimbert |
Posted: Wed Dec 19, 2007 1:36 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
This message is issued when the MRM parser cannot find the specified physical format in the specified message set. So...check that you have specified the message set and message format accurately.
And if you want a better error message, take a user trace. |
|
Back to top |
|
 |
saurabhsinha23 |
Posted: Wed Dec 19, 2007 8:59 am Post subject: |
|
|
Novice
Joined: 20 Apr 2004 Posts: 12
|
fjb_saper - How do I set the parser to MRM in MB6. I have set the message format to CWF.
kimbert - As suggested by you, I tried setting up a user trace. I am unable to start trace command because the environment variables are not set properly. I need to set the following environment variables - MQSI_UTILITY_TRACE and MQSI_UTILITY_TRACESIZE with some value. Also I am not sure how environment variables are set. Please suggest. |
|
Back to top |
|
 |
kimbert |
Posted: Wed Dec 19, 2007 2:01 pm Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
Quote: |
I am unable to start trace command because the environment variables are not set properly. |
If you are using the message broker command console, you do not need to set any environment variables. You just need to issue mqsichangetrace ( to collect the trace ) followed by mqsireadlog ( to extract the trace ) and mqsiformatlog ( to format it ).
But before you do that, check that you have specified the message set and physical format name correctly. That is the most likely error, and you don't need user trace to check that. |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Dec 19, 2007 2:39 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
saurabhsinha23 wrote: |
fjb_saper - How do I set the parser to MRM in MB6. I have set the message format to CWF.
|
Either in the MQInput Node or in the OutputRoot... depending on which side of the flow the message should be in MRM/CWF1 format...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
saurabhsinha23 |
Posted: Fri Dec 21, 2007 7:50 am Post subject: |
|
|
Novice
Joined: 20 Apr 2004 Posts: 12
|
Thanks Kimbert and fjb_saper for your inputs. I created the message set again and it worked. I had probably not added the wire format to the message set, when I first created it.
I have one question though. Whats the difference between CWF / CWF1 and CWF2?
Thanks again. |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Dec 21, 2007 8:55 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
saurabhsinha23 wrote: |
Thanks Kimbert and fjb_saper for your inputs. I created the message set again and it worked. I had probably not added the wire format to the message set, when I first created it.
I have one question though. Whats the difference between CWF / CWF1 and CWF2?
Thanks again. |
Place holder for convention? In fact you can give the same message 3 different wire formats by changing field properties on the specified wire format (CWF, CWF1, CWF2)...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|