Topic
IC4NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
No replies
sunnytech
sunnytech
11 Posts
ACCEPTED ANSWER

Pinned topic Shared variable Initialization Issue

‏2013-01-29T11:09:59Z |
Hi guys,

I am getting error on initialization of a shared variable at the start of the message flow. I have tried to search on forum but couldn't. Following are the details:

WMB 8

Shared a variable at schema level:
DECLARE var SHARED ROW;
DECLARE initialized SHARED BOOLEAN fn();

At the End of module, create a function with above name and tried filling the var variable. Following error occurs:

RecoverableException
File:CHARACTER:F:\build\slot1\S800_P\export\amd64_nt_4\usr\include\ImbMessage.inl
Line:INTEGER:1677
Function:CHARACTER:ImbMessage::WriteCursor::message
Type:CHARACTER:
Name:CHARACTER:
Label:CHARACTER:
Catalog:CHARACTER:BIPmsgs
Severity:INTEGER:3
Number:INTEGER:2112
Text:CHARACTER:Tried to access a non existent message

Can you please help me out fixing this issue. Attached is the full exception list. Thanks