Posted: Tue May 24, 2005 5:47 am Post subject: ESQL References and Procedures
Voyager
Joined: 24 Nov 2003 Posts: 79 Location: UK
I am currently working on a project to redesign our current wbimb infrastructure.
As part of this i have identified a lot of areas where reusable code can be used.
In order to get actual output from the message you have to use in order to tell the broker what domain is being used.
CREATE LASTCHILD OutRef DOMAIN 'MRM';
This is no problem and I understand why this needs to be used.
However i do not understand why it stops working when extend the create statement to include the name clause. eg
CREATE LASTCHILD OutRef DOMAIN 'MRM' NAME 'Field1';
The reson i want to do this is that the procedure is used to create fields at different levels of the message set. The only way i can i get this to work is to send in two references to the procedure. One reference is to the OutputRoot only and i use this to "create the lastchild". Once this has been done i use the second reference to navigate to the new field.
I would like to send in only one reference however which for example could be a reference (OutRef) to
OutputRoot.MRM.NestLevel1.NestLevel2.
By sending in this reference i could then populate OutRoot.MRM.NestLevel1.NestLevel2.Field1 As follows
CREATE LASTCHILD OutRef DOMAIN 'MRM' NAME 'Field1';
Set OutRef.Field1 = 'XYZ'
When i do this the message is rolled back to the failure queue with no meaningful error message shown.
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