Author |
Message
|
LH33 |
Posted: Thu Jul 31, 2003 2:06 pm Post subject: BIP 4240 - Route to error |
|
|
Master
Joined: 21 Nov 2002 Posts: 200
|
I have a Route to Label node that is set to Route To Last. The code in the Compute node to set the labels is :
SET OutputLocalEnvironment.Destination.RouterList.DestinationData[1].labelName = 'CompFlow';
SET OutputLocalEnvironment.Destination.RouterList.DestinationData[2].labelName = FIELDNAME(InputRoot.XML.*[1]);
The value in FIELDNAME(InputRoot.XML.*[1]); is "SyncJob". I have a Label node whose Label Name is "SyncJob".
When I attempt to process a "SyncJob" transaction through the flow I get a BIP 4240 - (Route to Label node unable to locate Label node.)
Can someone help me to determine what may be wrong?
I put a trace node in and it shows that the OutputLocalEnvironment.Destination.RouterList.DestinationData[2].labelName = SyncJob. Here is the trace results:
(0x1000010)XML = (
(0x1000000)SyncJob = (
(0x3000000)revision = '1.0.0'
(0x3000000)environment = 'Test'
(0x1000000)ApplicationArea = (
(0x1000000)Sender = (
(0x1000000)Component = (
(0x2000000) = 'ROMS'
)
(0x1000000)Confirmation = (
(0x2000000) = 'Never'
)
(0x1000000)AuthorizationId = (
(0x2000000) = 'RICK'
)
)
(0x1000000)CreationDateTime = (
(0x2000000) = '2003-07-31T12:29:41'
)
(0x1000000)BODId = (
(0x2000000) = '02A92226D2264F1A9949F512C812B364'
)
)
(0x1000000)DataArea = (
(0x1000000)Sync = (
(0x3000000)confirm = 'Never'
(0x1000000)SyncCriteria = (
(0x1000000)SyncExpression = (
(0x3000000)action = 'Change'
(0x2000000) = 'Job'
)
)
)
(0x1000000)Job = (
(0x1000000)JobNumber = (
(0x2000000) = 'EOM-20030715-0002'
)
(0x2000000) = ' />'
(0x1000000)Filters = (
(0x1000000)Filter = (
(0x3000000)index = '1'
(0x2000000) = 'TR'
)
)
(0x1000000)Status = (
(0x1000000)StatusCode = (
(0x2000000) = 'DE'
)
)
(0x1000000)TimeLine = (
(0x1000000)CreationDateTime = (
(0x2000000) = '2003-07-31T12:29:41'
)
(0x2000000) = ' />'
)
(0x1000000)UDFS = (
(0x1000000)UDF = (
(0x3000000)index = '1'
(0x2000000) = 'COMPLETE'
)
)
(0x1000000)WorkCodeUDFS = (
(0x1000000)WorkCodeUDF = (
(0x3000000)index = '77'
(0x2000000) = 'Y'
)
(0x1000000)WorkCodeUDF = (
(0x3000000)index = '78'
(0x2000000) = '2003-07-16T12:30:45'
)
(0x1000000)WorkCodeUDF = (
(0x3000000)index = '80'
(0x2000000) = 'Y'
)
(0x1000000)WorkCodeUDF = (
(0x3000000)index = '81'
(0x2000000) = 'Squirrel'
)
(0x1000000)WorkCodeUDF = (
(0x3000000)index = '82'
(0x2000000) = '2'
)
)
)
)
(0x1000000)label2 = (
(0x2000000) = 'SyncJob' |
|
Back to top |
|
 |
kirani |
Posted: Thu Jul 31, 2003 2:35 pm Post subject: Re: BIP 4240 - Route to error |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
Please print complete LocalEnvironment in a Trace node and post the contents here. There seems to be some mismatch between your input XML message and the trace below ...
LH33 wrote: |
(0x1000000)label2 = (
(0x2000000) = 'SyncJob'
|
_________________ 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 |
|
 |
LH33 |
Posted: Thu Jul 31, 2003 2:42 pm Post subject: |
|
|
Master
Joined: 21 Nov 2002 Posts: 200
|
Kiran,
Here is the entire Trace node results: The last two lines are because I put an extra SET in the Compute node to display the values after I set the label names.
Thanks for your help!!
(0x1000000)Properties = (
(0x3000000)MessageSet = ''
(0x3000000)MessageType = ''
(0x3000000)MessageFormat = ''
(0x3000000)Encoding = 546
(0x3000000)CodedCharSetId = 437
(0x3000000)Transactional = TRUE
(0x3000000)Persistence = TRUE
(0x3000000)CreationTime = GMTTIMESTAMP '2003-07-31 21:48:42.950'
(0x3000000)ExpirationTime = -1
(0x3000000)Priority = 0
(0x3000000)ReplyIdentifier = X'000000000000000000000000000000000000000000000000'
(0x3000000)ReplyProtocol = 'MQ'
(0x3000000)Topic = NULL
)
(0x1000000)MQMD = (
(0x3000000)SourceQueue = 'DSPCH_OMS_UPDATED_DATA'
(0x3000000)Transactional = TRUE
(0x3000000)Encoding = 546
(0x3000000)CodedCharSetId = 437
(0x3000000)Format = 'MQSTR '
(0x3000000)Version = 2
(0x3000000)Report = 0
(0x3000000)MsgType = 8
(0x3000000)Expiry = -1
(0x3000000)Feedback = 0
(0x3000000)Priority = 0
(0x3000000)Persistence = 1
(0x3000000)MsgId = X'414d51204745544d5131202020202020c0c0ef3e12308e36'
(0x3000000)CorrelId = X'000000000000000000000000000000000000000000000000'
(0x3000000)BackoutCount = 0
(0x3000000)ReplyToQ = ' '
(0x3000000)ReplyToQMgr = 'GETMQ1 '
(0x3000000)UserIdentifier = 'MTSRUN_MQ '
(0x3000000)AccountingToken = X'1601051500000008691451fa547e13c811bf7b421f000000000000000000000b'
(0x3000000)ApplIdentityData = ' '
(0x3000000)PutApplType = 11
(0x3000000)PutApplName = ':\WINNT\System32\dllhost.exe'
(0x3000000)PutDate = DATE '2003-07-31'
(0x3000000)PutTime = GMTTIME '21:48:42.950'
(0x3000000)ApplOriginData = ' '
(0x3000000)GroupId = X'000000000000000000000000000000000000000000000000'
(0x3000000)MsgSeqNumber = 1
(0x3000000)Offset = 0
(0x3000000)MsgFlags = 0
(0x3000000)OriginalLength = -1
)
(0x1000010)XML = (
(0x1000000)SyncJob = (
(0x3000000)revision = '1.0.0'
(0x3000000)environment = 'Test'
(0x1000000)ApplicationArea = (
(0x1000000)Sender = (
(0x1000000)Component = (
(0x2000000) = 'ROMS'
)
(0x1000000)Confirmation = (
(0x2000000) = 'Never'
)
(0x1000000)AuthorizationId = (
(0x2000000) = 'RICK'
)
)
(0x1000000)CreationDateTime = (
(0x2000000) = '2003-07-31T12:29:41'
)
(0x1000000)BODId = (
(0x2000000) = '02A92226D2264F1A9949F512C812B364'
)
)
(0x1000000)DataArea = (
(0x1000000)Sync = (
(0x3000000)confirm = 'Never'
(0x1000000)SyncCriteria = (
(0x1000000)SyncExpression = (
(0x3000000)action = 'Change'
(0x2000000) = 'Job'
)
)
)
(0x1000000)Job = (
(0x1000000)JobNumber = (
(0x2000000) = 'EOM-20030715-0002'
)
(0x2000000) = ' />'
(0x1000000)Filters = (
(0x1000000)Filter = (
(0x3000000)index = '1'
(0x2000000) = 'TR'
)
)
(0x1000000)Status = (
(0x1000000)StatusCode = (
(0x2000000) = 'DE'
)
)
(0x1000000)TimeLine = (
(0x1000000)CreationDateTime = (
(0x2000000) = '2003-07-31T12:29:41'
)
(0x2000000) = ' />'
)
(0x1000000)UDFS = (
(0x1000000)UDF = (
(0x3000000)index = '1'
(0x2000000) = 'COMPLETE'
)
)
(0x1000000)WorkCodeUDFS = (
(0x1000000)WorkCodeUDF = (
(0x3000000)index = '77'
(0x2000000) = 'Y'
)
(0x1000000)WorkCodeUDF = (
(0x3000000)index = '78'
(0x2000000) = '2003-07-16T12:30:45'
)
(0x1000000)WorkCodeUDF = (
(0x3000000)index = '80'
(0x2000000) = 'Y'
)
(0x1000000)WorkCodeUDF = (
(0x3000000)index = '81'
(0x2000000) = 'Squirrel'
)
(0x1000000)WorkCodeUDF = (
(0x3000000)index = '82'
(0x2000000) = '2'
)
)
)
)
(0x1000000)label2 = (
(0x2000000) = 'SyncJob'
)
(0x1000000)label1 = (
(0x2000000) = 'CompFlow'
)
)
(0x6000002) = '
'
)
) |
|
Back to top |
|
 |
kirani |
Posted: Thu Jul 31, 2003 2:57 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
I am still not seeing LocalEnvironment tree in the trace node! I just want to make sure it's getting populated correctly. Please also make sure that your Label name is spelled correctly, mainly check for leading space, lower/upper case etc. _________________ 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 |
|
 |
LH33 |
Posted: Fri Aug 01, 2003 4:19 am Post subject: |
|
|
Master
Joined: 21 Nov 2002 Posts: 200
|
Kiran, Thanks for your help!
I checked all spelling and Caps- Here is what I have in my trace node:
Destination - File
File Path - C:\trace.txt
Message Number - 3051
Pattern
${Root}
${ExceptionList}
${DestinationList}
${LocalEnvironment}
and here is what is in the file after I submit a "SyncJob" XML transaction:
(
(0x1000000)Properties = (
(0x3000000)MessageSet = ''
(0x3000000)MessageType = ''
(0x3000000)MessageFormat = ''
(0x3000000)Encoding = 546
(0x3000000)CodedCharSetId = 437
(0x3000000)Transactional = TRUE
(0x3000000)Persistence = TRUE
(0x3000000)CreationTime = GMTTIMESTAMP '2003-08-01 12:08:42.890'
(0x3000000)ExpirationTime = -1
(0x3000000)Priority = 0
(0x3000000)ReplyIdentifier = X'000000000000000000000000000000000000000000000000'
(0x3000000)ReplyProtocol = 'MQ'
(0x3000000)Topic = NULL
)
(0x1000000)MQMD = (
(0x3000000)SourceQueue = 'DSPCH_OMS_UPDATED_DATA'
(0x3000000)Transactional = TRUE
(0x3000000)Encoding = 546
(0x3000000)CodedCharSetId = 437
(0x3000000)Format = 'MQSTR '
(0x3000000)Version = 2
(0x3000000)Report = 0
(0x3000000)MsgType = 8
(0x3000000)Expiry = -1
(0x3000000)Feedback = 0
(0x3000000)Priority = 0
(0x3000000)Persistence = 1
(0x3000000)MsgId = X'414d51204745544d5131202020202020c0c0ef3e12b04737'
(0x3000000)CorrelId = X'000000000000000000000000000000000000000000000000'
(0x3000000)BackoutCount = 0
(0x3000000)ReplyToQ = ' '
(0x3000000)ReplyToQMgr = 'GETMQ1 '
(0x3000000)UserIdentifier = 'MTSRUN_MQ '
(0x3000000)AccountingToken = X'1601051500000008691451fa547e13c811bf7b421f000000000000000000000b'
(0x3000000)ApplIdentityData = ' '
(0x3000000)PutApplType = 11
(0x3000000)PutApplName = ':\WINNT\System32\dllhost.exe'
(0x3000000)PutDate = DATE '2003-08-01'
(0x3000000)PutTime = GMTTIME '12:08:42.890'
(0x3000000)ApplOriginData = ' '
(0x3000000)GroupId = X'000000000000000000000000000000000000000000000000'
(0x3000000)MsgSeqNumber = 1
(0x3000000)Offset = 0
(0x3000000)MsgFlags = 0
(0x3000000)OriginalLength = -1
)
(0x1000010)XML = (
(0x1000000)SyncJob = (
(0x3000000)revision = '1.0.0'
(0x3000000)environment = 'Test'
(0x1000000)ApplicationArea = (
(0x1000000)Sender = (
(0x1000000)Component = (
(0x2000000) = 'ROMS'
)
(0x1000000)Confirmation = (
(0x2000000) = 'Never'
)
(0x1000000)AuthorizationId = (
(0x2000000) = 'RICK'
)
)
(0x1000000)CreationDateTime = (
(0x2000000) = '2003-07-31T12:29:41'
)
(0x1000000)BODId = (
(0x2000000) = '02A92226D2264F1A9949F512C812B364'
)
)
(0x1000000)DataArea = (
(0x1000000)Sync = (
(0x3000000)confirm = 'Never'
(0x1000000)SyncCriteria = (
(0x1000000)SyncExpression = (
(0x3000000)action = 'Change'
(0x2000000) = 'Job'
)
)
)
(0x1000000)Job = (
(0x1000000)JobNumber = (
(0x2000000) = 'EOM-20030715-0002'
)
(0x2000000) = ' />'
(0x1000000)Filters = (
(0x1000000)Filter = (
(0x3000000)index = '1'
(0x2000000) = 'TR'
)
)
(0x1000000)Status = (
(0x1000000)StatusCode = (
(0x2000000) = 'DE'
)
)
(0x1000000)TimeLine = (
(0x1000000)CreationDateTime = (
(0x2000000) = '2003-07-31T12:29:41'
)
(0x2000000) = ' />'
)
(0x1000000)UDFS = (
(0x1000000)UDF = (
(0x3000000)index = '1'
(0x2000000) = 'COMPLETE'
)
)
(0x1000000)WorkCodeUDFS = (
(0x1000000)WorkCodeUDF = (
(0x3000000)index = '77'
(0x2000000) = 'Y'
)
(0x1000000)WorkCodeUDF = (
(0x3000000)index = '78'
(0x2000000) = '2003-07-16T12:30:45'
)
(0x1000000)WorkCodeUDF = (
(0x3000000)index = '80'
(0x2000000) = 'Y'
)
(0x1000000)WorkCodeUDF = (
(0x3000000)index = '81'
(0x2000000) = 'Squirrel'
)
(0x1000000)WorkCodeUDF = (
(0x3000000)index = '82'
(0x2000000) = '2'
)
)
)
)
(0x1000000)label2 = (
(0x2000000) = 'SyncJob'
)
(0x1000000)label1 = (
(0x2000000) = 'CompFlow'
)
)
(0x6000002) = '
'
)
) |
|
Back to top |
|
 |
EddieA |
Posted: Fri Aug 01, 2003 5:30 am Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
This is still not showing the LocalEnvironment.Destination.RouterList.DestinationData.labelName fields in the LocalEnvironment.
Do you have "LocalEnvironment and Message" selected on the Advanced tab.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Aug 01, 2003 8:27 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
EddieA wrote: |
This is still not showing the LocalEnvironment.Destination.RouterList.DestinationData.labelName fields in the LocalEnvironment.
Do you have "LocalEnvironment and Message" selected on the Advanced tab.
Cheers, |
Well, it might be showing the LocalEnvironment field, but it's kinda hard to tell.
It's usually better when putting multiple ${} statments in a trace node to put in a label that identifies which one is which.
In other words, change your trace node pattern to
Code: |
Root
${Root}
ExceptionList
${ExceptionList}
DestinationList
${DestinationList}
LocalEnvironment
${LocalEnvironment}
|
That will label each tree as it's written. Also, you may want to put in a message separator as well either at the start of the pattern or the end, perhaps a long row of '*' or something, so you can visually tell where the trees for one message end and the tree for the next message starts. Even if you're only running one message through, this can be helpful - as execption handling can cause that one message to be processed multiple times. |
|
Back to top |
|
 |
LH33 |
Posted: Fri Aug 01, 2003 12:52 pm Post subject: |
|
|
Master
Joined: 21 Nov 2002 Posts: 200
|
Thanks to all!! I did not have the Advanced tab set correctly. It is now working fine!! |
|
Back to top |
|
 |
|