|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
PARSING Question with variable length data |
« View previous topic :: View next topic » |
Author |
Message
|
pfaulkner |
Posted: Mon Jan 06, 2003 11:35 am Post subject: PARSING Question with variable length data |
|
|
Master
Joined: 18 Mar 2002 Posts: 241 Location: Colorado, USA
|
Hi,
I have a variable length input message that has a structure like this
field a
field b
field c
field c-1
field c-2
field c-3
field c-4
field c is defined in the message Connection tab to occur min 0 and max 3
- In the case I am testing now, I get 1 occurance of field c data
- I parse the message with a CWF
- Then in a compute node I need to add a 2nd occurance of field c with new data.
- When I look at the trace after doing this I see 2 occurances of field c
- When I parse again using the same CWF I only see the 1st occurance????
Can anyone explain why after parsing I would only see 1 occurance again???
I have added the trace output at various stages.
This is the trace output before I alter the field c structure
(0x1000008)MRM = (
(0x3000001)registryEyeCatcher = 'RMSGTR01'
(0x3000001)version = '0100'
(0x3000001)msgTranHdrLen = '0000296'
(0x3000001)msgApplDataLen = '0000204'
(0x3000001)domain = ' '
(0x3000001)serviceName = 'SI@CFM_GETINVOICEIDX'
(0x3000001)serviceQualifier = ' '
(0x3000001)msgType = 'Q'
(0x3000001)dialogType = 'S'
(0x3000001)dialogId = 'RJ0061231480013088E00000'
(0x3000001)priority = '08'
(0x3000001)persistenceIndicator = 'N'
(0x3000001)msgDataType = 'RGCH'
(0x3000001)msgApplFormat = ' '
(0x3000001)serviceVersion = ' '
(0x3000001)userId = 'faulkner '
(0x3000001)applId = 'AIcose2e1 N '
(0x3000001)ownerApplName = 'TESTAPPL '
(0x3000001)processName = 'TESTPROC '
(0x3000001)externalRef = ' '
(0x3000001)codePage = '0000'
(0x3000001)replyCompCode = '0000'
(0x3000001)replyReasonCode = '00000000'
(0x3000001)rtsOrigDate = '20030106123148816'
(0x1000001)routingStkTable = (
(0x3000001)routingStkDataLen = '064'
(0x3000001)routingStkIPC = 'MQS'
(0x3000001)routingStkReplyQMgr = 'COS1 '
(0x3000001)routingStkReplyQueue = 'RGSH.REPLY.QUEUE.0002 '
)
)
This is the trace output after I add a second occurance of routingStkTable
(0x1000012)MRM = (
(0x3000001)registryEyeCatcher = 'RMSGTR01'
(0x3000001)version = '0100'
(0x3000001)msgTranHdrLen = '0000296'
(0x3000001)msgApplDataLen = '0000204'
(0x3000001)domain = ' '
(0x3000001)serviceName = 'SI@CFM_GETINVOICEIDX'
(0x3000001)serviceQualifier = ' '
(0x3000001)msgType = 'Q'
(0x3000001)dialogType = 'S'
(0x3000001)dialogId = 'RJ0061231480013088E00000'
(0x3000001)priority = '08'
(0x3000001)persistenceIndicator = 'N'
(0x3000001)msgDataType = 'RGCH'
(0x3000001)msgApplFormat = ' '
(0x3000001)serviceVersion = '0002'
(0x3000001)userId = 'faulkner '
(0x3000001)applId = 'AIcose2e1 N '
(0x3000001)ownerApplName = 'TESTAPPL '
(0x3000001)processName = 'TESTPROC '
(0x3000001)externalRef = ' '
(0x3000001)codePage = '0000'
(0x3000001)replyCompCode = '0000'
(0x3000001)replyReasonCode = '00000000'
(0x3000001)rtsOrigDate = '20030106123148816'
(0x1000001)routingStkTable = (
(0x3000001)routingStkDataLen = '064'
(0x3000001)routingStkIPC = 'MQS'
(0x3000001)routingStkReplyQMgr = 'COS1 '
(0x3000001)routingStkReplyQueue = 'RGSH.REPLY.QUEUE.CIADCS84.EERX.SI.COS1 '
)
(0x1000001)routingStkTable = (
(0x3000001)routingStkDataLen = '064'
(0x3000001)routingStkIPC = 'MQS'
(0x3000001)routingStkReplyQMgr = 'COS1 '
(0x3000001)routingStkReplyQueue = 'RGSH.REPLY.QUEUE.0002 '
)
)
This is the trace after I reparse (reset the content descriptor using same CWF)
(0x1000008)MRM = (
(0x3000001)registryEyeCatcher = 'RMSGTR01'
(0x3000001)version = '0100'
(0x3000001)msgTranHdrLen = '0000296'
(0x3000001)msgApplDataLen = '0000204'
(0x3000001)domain = ' '
(0x3000001)serviceName = 'SI@CFM_GETINVOICEIDX'
(0x3000001)serviceQualifier = ' '
(0x3000001)msgType = 'Q'
(0x3000001)dialogType = 'S'
(0x3000001)dialogId = 'RJ0061231480013088E00000'
(0x3000001)priority = '08'
(0x3000001)persistenceIndicator = 'N'
(0x3000001)msgDataType = 'RGCH'
(0x3000001)msgApplFormat = ' '
(0x3000001)serviceVersion = '0002'
(0x3000001)userId = 'faulkner '
(0x3000001)applId = 'AIcose2e1 N '
(0x3000001)ownerApplName = 'TESTAPPL '
(0x3000001)processName = 'TESTPROC '
(0x3000001)externalRef = ' '
(0x3000001)codePage = '0000'
(0x3000001)replyCompCode = '0000'
(0x3000001)replyReasonCode = '00000000'
(0x3000001)rtsOrigDate = '20030106123148816'
(0x1000001)routingStkTable = (
(0x3000001)routingStkDataLen = '064'
(0x3000001)routingStkIPC = 'MQS'
(0x3000001)routingStkReplyQMgr = 'COS1 '
(0x3000001)routingStkReplyQueue = 'RGSH.REPLY.QUEUE.CIADCS84.EERX.SI.COS1 '
)
) |
|
Back to top |
|
 |
kirani |
Posted: Mon Jan 06, 2003 5:34 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
Paul,
Take a look at this thread,
http://www.mqseries.net/phpBB2/viewtopic.php?t=6925 _________________ 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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|