Author |
Message
|
dilse |
Posted: Mon Oct 03, 2005 7:54 am Post subject: REDEFINES Debug Issue |
|
|
 Master
Joined: 24 Jun 2004 Posts: 270
|
Hi Guys,
I am working on WBIMB V5 with CSD 05. I imported a COBOL copybook that has REDEFINES clauses in it. I am using this message set in my flow. When I am trying to debug the ESQL with an input message, it is failing with an error 'Attempt to copy an unresolved element'.
When I am not debugging the messag flow with the same input, it goes through fine without any failure. Why am I getting the error when I try to debug the flow and not getting any error If I am not debugging? Any idea?? Please share your thoughts...
Thanks, _________________ DilSe..
Take life as it comes.. |
|
Back to top |
|
 |
JT |
Posted: Mon Oct 03, 2005 8:31 am Post subject: |
|
|
Padawan
Joined: 27 Mar 2003 Posts: 1564 Location: Hartford, CT.
|
Quote: |
When I am trying to debug the ESQL with an input message, it is failing with an error 'Attempt to copy an unresolved element'. |
Is this message produced after a particular ESQL instruction is executed or do you see this error when you expand the debug view that lists the various field elements ? |
|
Back to top |
|
 |
dilse |
Posted: Mon Oct 03, 2005 8:37 am Post subject: |
|
|
 Master
Joined: 24 Jun 2004 Posts: 270
|
JT, I am reading input message as BLOB. When I am trying to parse it to this COBOL copybook using 'PARSE' command, it is generating the specified error. Please let me know if you need anymore details. _________________ DilSe..
Take life as it comes.. |
|
Back to top |
|
 |
JT |
Posted: Mon Oct 03, 2005 8:48 am Post subject: |
|
|
Padawan
Joined: 27 Mar 2003 Posts: 1564 Location: Hartford, CT.
|
Is an ExceptionList produced ?
If so, post it. |
|
Back to top |
|
 |
dilse |
Posted: Mon Oct 03, 2005 10:28 am Post subject: |
|
|
 Master
Joined: 24 Jun 2004 Posts: 270
|
Her it is JT...
(0x01000000):RecoverableException = (
(0x03000000):File = 'F:\build\S500_P\src\DataFlowEngine\ImbDataFlowNode.cpp'
(0x03000000):Line = 558
(0x03000000):Function = 'ImbDataFlowNode::createExceptionList'
(0x03000000):Type = 'ComIbmComputeNode'
(0x03000000):Name = myMessageFlow#FCMComposite_1_2'
(0x03000000):Label = 'myMessageFlow.Transform'
(0x03000000):Text = 'Node throwing exception'
(0x03000000):Catalog = 'BIPv500'
(0x03000000):Severity = 3
(0x03000000):Number = 2230
(0x01000000):RecoverableException = (
(0x03000000):File = 'F:\build\S500_P\src\DataFlowEngine\ImbRdl\ImbRdlStatementGroup.cpp'
(0x03000000):Line = 158
(0x03000000):Function = 'SqlStatementGroup::execute'
(0x03000000):Type = 'ComIbmComputeNode'
(0x03000000):Name = myMessageFlow#FCMComposite_1_2'
(0x03000000):Label = 'myMessageFlow.Transform'
(0x03000000):Text = 'Error detected, rethrowing'
(0x03000000):Catalog = 'BIPv500'
(0x03000000):Severity = 3
(0x03000000):Number = 2488
(0x01000000):Insert = (
(0x03000000):Type = 5
(0x03000000):Text = '.myMessageFlow_Compute.Main'
)
(0x01000000):Insert = (
(0x03000000):Type = 5
(0x03000000):Text = '462.5'
)
(0x01000000):Insert = (
(0x03000000):Type = 5
(0x03000000):Text = 'APREC200_MRM_TO_XML(rec200Ref, pairRef, policyRef);'
)
(0x01000000):RecoverableException = (
(0x03000000):File = 'F:\build\S500_P\src\DataFlowEngine\ImbParser.cpp'
(0x03000000):Line = 2810
(0x03000000):Function = 'ImbSyntaxElement::copyInner()'
(0x03000000):Type = ''
(0x03000000):Name = ''
(0x03000000):Label = ''
(0x03000000):Text = 'Attempt to copy an unresolved element'
(0x03000000):Catalog = 'BIPv500'
(0x03000000):Severity = 2
(0x03000000):Number = 2334
(0x01000000):Insert = (
(0x03000000):Type = 15
(0x03000000):Text = '214241484'
)
(0x01000000):Insert = (
(0x03000000):Type = 5
(0x03000000):Text = '(0x0100001B):MRM'
)
(0x01000000):Insert = (
(0x03000000):Type = 2
(0x03000000):Text = '3'
)
)
)
) _________________ DilSe..
Take life as it comes..
Last edited by dilse on Tue Oct 04, 2005 7:12 am; edited 2 times in total |
|
Back to top |
|
 |
NewMB |
Posted: Mon Oct 03, 2005 1:14 pm Post subject: |
|
|
Apprentice
Joined: 05 Jan 2005 Posts: 42
|
I have the exact same problem. JT, please help! |
|
Back to top |
|
 |
JT |
Posted: Mon Oct 03, 2005 2:30 pm Post subject: |
|
|
Padawan
Joined: 27 Mar 2003 Posts: 1564 Location: Hartford, CT.
|
The BIP2334W is a warning.
It's possible that the debugger prevents the message flow from continuing when the warning is encountered. |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Oct 03, 2005 2:44 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
NewMB wrote: |
I have the exact same problem. JT, please help! |
How do you *know* it's the exact same problem? Maybe the original poster is using a different OS...
How do we know it's the exact same problem, unless you help us by taking the time to troubleshoot and report back your exact symptoms? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
NewMB |
Posted: Tue Oct 04, 2005 5:59 am Post subject: |
|
|
Apprentice
Joined: 05 Jan 2005 Posts: 42
|
Sorry for not giving all the information out. We are using WBIMB V5 with CSD 05 in Windows (for the toolkit and runtime environment). The problem happens when I try to "step in" to the mapping node, it throws "Attempt to copy an unresolved element" with BIP2334. The problem doesn't happen when you not "step in" to the node.
*** In my copybook, there are two redefines, one within another. The problem happens at the first redefine.
Here is the trace file that I captured using (${Root}).
(
(0x01000000):Properties = (
(0x03000000):MessageSet = 'K968D10002001'
(0x03000000):MessageType = 'MI_Loan_Account_Inquiry_MRM'
(0x03000000):MessageFormat = 'CWF1'
(0x03000000):Encoding = 546
(0x03000000):CodedCharSetId = 437
(0x03000000):Transactional = FALSE
(0x03000000):Persistence = FALSE
(0x03000000):CreationTime = GMTTIMESTAMP '2005-10-04 13:47:21.840'
(0x03000000):ExpirationTime = GMTTIMESTAMP '2005-10-04 14:18:22.604026'
(0x03000000):Priority = 0
(0x03000000):ReplyIdentifier = X'414d51205742494d424430312020202026a741432000de05'
(0x03000000):ReplyProtocol = 'MQ'
(0x03000000):Topic = NULL
)
(0x01000000):MQMD = (
(0x03000000):SourceQueue = 'WBIMB_GEN_AcctSum_O01_LN_REP'
(0x03000000):Transactional = FALSE
(0x03000000):Encoding = 546
(0x03000000):CodedCharSetId = 437
(0x03000000):Format = 'MQSTR '
(0x03000000):Version = 2
(0x03000000):Report = 0
(0x03000000):MsgType = 8
(0x03000000):Expiry = GMTTIMESTAMP '2005-10-04 14:18:22.604026'
(0x03000000):Feedback = 0
(0x03000000):Priority = 0
(0x03000000):Persistence = 0
(0x03000000):MsgId = X'414d51205742494d424430312020202026a741432000de05'
(0x03000000):CorrelId = X'414d51205742494d424430312020202026a741432000de05'
(0x03000000):BackoutCount = 0
(0x03000000):ReplyToQ = 'WBIMB_GEN_AcctSum_O01_LN_REP '
(0x03000000):ReplyToQMgr = 'WBIMBD01 '
(0x03000000):UserIdentifier = 'pltcicb '
(0x03000000):AccountingToken = X'0000000000000000000000000000000000000000000000000000000000000000'
(0x03000000):ApplIdentityData = ' '
(0x03000000):PutApplType = 1
(0x03000000):PutApplName = 'CICSB MDMQ '
(0x03000000):PutDate = DATE '2005-10-04'
(0x03000000):PutTime = GMTTIME '13:47:21.840'
(0x03000000):ApplOriginData = ' '
(0x03000000):GroupId = X'000000000000000000000000000000000000000000000000'
(0x03000000):MsgSeqNumber = 1
(0x03000000):Offset = 0
(0x03000000):MsgFlags = 0
(0x03000000):OriginalLength = -1
)
(0x0100001B):MRM = (
(0x01000013):WS_REP_COMMON_LAYOUT = (
(0x0300000B):WS_REP_TRAN = 'MD50'
(0x01000013):WS_REP_ID = (
(0x0300000B):WS_REP_ID_FUNCTION_TYPE = 'I'
(0x0300000B):WS_REP_ID_COMMUNICATION = 'R'
(0x0300000B):WS_REP_ID_LU_DRV = 'Q'
)
(0x01000013):WS_REP_DATE = (
(0x01000013):WS_REP_DATE_CCYY = (
(0x0300000B):WS_REP_DATE_CC = '20'
(0x0300000B):WS_REP_DATE_YY = '05'
)
(0x0300000B):WS_REP_DATE_MM = '10'
(0x0300000B):WS_REP_DATE_DD = '04'
)
(0x01000013):WS_REP_TIME = (
(0x0300000B):WS_REP_TIME_HH = '08'
(0x0300000B):WS_REP_TIME_MM = '47'
(0x0300000B):WS_REP_TIME_SS = '22'
)
(0x0300000B):WS_REP_USER_ID = 'MQ017064'
(0x0300000B):fill_0 = ''
)
UNRESOLVED CHOICE = X'4b4152454e204c2050454e494e47544f4e2020202020202020202020202020202020203530353432333435302020202020202020202020302e30302020202020202020202020302e303020202020202020202020302e3030303030303020202020202034322c3030302e30302020202020202020202020302e30302020202020202020202020302e303030302f30302f303030300000434120202020202020202020202020202020202020202020202020202020202020202030342030302030302030302020202020202033352c3238352e363530372f32312f3230303530302f30302f3030303020343530392f31312f3230303131302f30312f3230313631383030303030303031302f30312f323031362020372e30303030303033533030302020202020202020202020202020202020202020303030302020524d2f4c203420573427204c3320424c2035205048494c4c495053204144445420544f204349202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020205331363330313130313230313332314d373030303030302e303020202020202020312c3539372e383320202020202020322c3631362e3436592020202020202020202020302e30302020202020202020203733302e30322020202020202020203631352e353220202020202020312c3230372e36324d532020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020203031494e535552414e4345524547554c4152203420202020202031322f32322f323030353032544158202020202020524547554c4152203920202020202030382f32332f3230303520202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020203620202020202020202020202059202030302f30302f303030302020202020202020202020202e303030362f30312f32303036202020202020202020202020202020202020202020202020494e533432353931333436303020202020202020202020202020202030312f31352f323030362020202020202020203733302e303220315441583731303130363238382020202020202020202020202020202030302f30302f303030302020202020202020203631352e35322032202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020205041594f46462053544154454d454e5420434f4d504c4554454420202020202020202020202020202020202020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030303039394d4d4f525447414745204c4f414e20202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202000202020202020202020202020202020202020202020202020202020202020202020202020202020434f55504f4e2020202020202020202020202020002020202020202020202020202020333020444159204d4f4e54482f333630204441592059454152202020202053494d504c4520494e54455245535420202020204441494c5920202020202020202020202020202020202020202020202020202020202020202020205345435552454420202057484f4c4553414c452020202020202020202020202020202020202020204d4f525447414745204c4f414e202020202020204143544956452020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020302e30303030303030204d202d20524553312d3446414d3153544c49454e312d342046414d494c59204649525354204c49454e202020202020202020494e564553544f522031303025204f574e454420202020202020202020204c203420573427204c3320424c2035205048494c4c495053204144445420544f204349545920434f4c554d42555320504c4154544520434f204e45202020202020202020202030304e2020202020202020205354414e4441524420572f2032204d4f4e54482043555348494f4e20202020202020200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
)
) |
|
Back to top |
|
 |
dilse |
Posted: Tue Oct 04, 2005 6:22 am Post subject: |
|
|
 Master
Joined: 24 Jun 2004 Posts: 270
|
JT,
How can I debug without being stopped? Is there a work around for this issue???
Please let me know.
Thanks, _________________ DilSe..
Take life as it comes..
Last edited by dilse on Tue Oct 04, 2005 7:13 am; edited 1 time in total |
|
Back to top |
|
 |
kimbert |
Posted: Tue Oct 04, 2005 7:01 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
dilse,
Please post your error again - the text quoted above is all I get when I view your post. |
|
Back to top |
|
 |
dilse |
Posted: Tue Oct 04, 2005 7:15 am Post subject: |
|
|
 Master
Joined: 24 Jun 2004 Posts: 270
|
Kimbert,
I removed the Quote tag in my previous message. Please take a look at the error now. _________________ DilSe..
Take life as it comes.. |
|
Back to top |
|
 |
JT |
Posted: Tue Oct 04, 2005 7:23 am Post subject: |
|
|
Padawan
Joined: 27 Mar 2003 Posts: 1564 Location: Hartford, CT.
|
dilse,
Post all of the ESQL code up to and including the PARSE instruction. |
|
Back to top |
|
 |
dilse |
Posted: Tue Oct 04, 2005 8:16 am Post subject: |
|
|
 Master
Joined: 24 Jun 2004 Posts: 270
|
JT,
The code is pretty straight forward but I am posting here.
CREATE FIRSTCHILD OF Environment DOMAIN 'MRM'
PARSE(InputRoot.BLOB.BLOB
OPTIONS RootBitStream
ENCODING InputRoot.Properties.Encoding
CCSID InputRoot.Properties.CodedCharSetId
SET 'G8B5PIC002001'
TYPE 'myMsg'
FORMAT 'CWF1');
DECLARE myRef REFERENCE TO Environment.MRM;
CALL myProcedure(myRef, outRef);
Whenever the debugger executes the PARSE command, abov exception shows up. _________________ DilSe..
Take life as it comes.. |
|
Back to top |
|
 |
kimbert |
Posted: Wed Oct 05, 2005 1:54 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
Hi dilse,
I think this is a defect. You should raise a PMR. Make sure that the PMR explains clearly that
a) this does not happen unless the debugger is attached.
b) the trace node copes with this tree without a problem. |
|
Back to top |
|
 |
|