Author |
Message |
Topic: XML Tags |
anshu
Replies: 10 Views: 7360
|
Forum: WebSphere Message Broker (ACE) Support Posted: Fri Jul 14, 2006 6:26 am Subject: elvis, no worries |
When I said I was thinking, I was not thinking about your post instead I was thinking a fix logic.
I fixed it. Simple counter flag to ignore the else part ONLY when the first chunk is blank.
... |
Topic: XML Tags |
anshu
Replies: 10 Views: 7360
|
Forum: WebSphere Message Broker (ACE) Support Posted: Fri Jul 14, 2006 6:05 am Subject: XML Tags |
elvis,
I am close to your line of thinking. However, the else part gets executed only when DATA is present - not when it's blank.
I am thinking....
anshu |
Topic: XML Tags |
anshu
Replies: 10 Views: 7360
|
Forum: WebSphere Message Broker (ACE) Support Posted: Fri Jul 14, 2006 5:43 am Subject: XML Problem. Not a looping problem. |
I don't think it's the problem with the looping. It's a problem with the XML. If you observe the IF part of the statement (statement ITERATE X) , the code iterates to the next chunk whenever a chunk i ... |
Topic: XML Tags |
anshu
Replies: 10 Views: 7360
|
Forum: WebSphere Message Broker (ACE) Support Posted: Fri Jul 14, 2006 3:03 am Subject: XML Tags |
madi, jeff can you please let me know what's going wrong here. |
Topic: XML Tags |
anshu
Replies: 10 Views: 7360
|
Forum: WebSphere Message Broker (ACE) Support Posted: Thu Jul 13, 2006 1:27 pm Subject: XML Tags |
I am doing a MRM to XML Transformation. I have an cobol layout of length 1700 (340 * 5) bytes. This data has to be mapped into XML as 5 chunks of 340 bytes each. The XML looks like below.
Requirem ... |
Topic: NESTED IF |
anshu
Replies: 16 Views: 9333
|
Forum: WebSphere Message Broker (ACE) Support Posted: Thu Jun 08, 2006 11:49 am Subject: NESTED IF |
Ok - It was what I had guessed. I changed the code as per my earlier post and it worked. Thanks guys.
Anshu |
Topic: NESTED IF |
anshu
Replies: 16 Views: 9333
|
Forum: WebSphere Message Broker (ACE) Support Posted: Wed Jun 07, 2006 6:39 pm Subject: NESTED IF |
I think I may have a problem in the earlier code. The code should be
SET OutputRoot.MRM.FIELD[2] = SUBSTRING(TEMPSTRING FROM 1 FOR (POSITION2 - 1));
This is only my guess. I'll employ the trac ... |
Topic: NESTED IF |
anshu
Replies: 16 Views: 9333
|
Forum: WebSphere Message Broker (ACE) Support Posted: Wed Jun 07, 2006 5:09 pm Subject: NESTED IF |
Sorry to sound stupid..
But how do I use Environment in the compute node so as to trace it with {Environment} in the trace node.
Please let me know what change I should do in the compute node fo ... |
Topic: NESTED IF |
anshu
Replies: 16 Views: 9333
|
Forum: WebSphere Message Broker (ACE) Support Posted: Wed Jun 07, 2006 4:46 pm Subject: NESTED IF |
n/a |
Topic: NESTED IF |
anshu
Replies: 16 Views: 9333
|
Forum: WebSphere Message Broker (ACE) Support Posted: Wed Jun 07, 2006 4:35 pm Subject: Thanks Jeff |
I used a trace node after the compute node. However I just used {Root} {ExceptionList}. I'll add ${Environment} to it and let you know.
But do you see any problem with the syntax as such for what I ... |
Topic: NESTED IF |
anshu
Replies: 16 Views: 9333
|
Forum: WebSphere Message Broker (ACE) Support Posted: Wed Jun 07, 2006 3:24 pm Subject: This is my input |
P.O.BOX 10$DRIVE$USA is my InputRoot.MRM.ADD
I would think that POSITION 1 = 10, the first occurence of $
POSITION 2 = 6 the 2nd occurence of $.
I am a WBIMB newbie, so haven't used the debug ... |
Topic: NESTED IF |
anshu
Replies: 16 Views: 9333
|
Forum: WebSphere Message Broker (ACE) Support Posted: Wed Jun 07, 2006 1:07 pm Subject: madi, here it is |
madi - the problem is the 2nd IF is not getting executed (even though position2 is > 1 and < 36), instead the statements inside the else corresponding to the 2nd IF is getting executed. please h ... |
Topic: NESTED IF |
anshu
Replies: 16 Views: 9333
|
Forum: WebSphere Message Broker (ACE) Support Posted: Wed Jun 07, 2006 12:46 pm Subject: NESTED IF |
Is there a logic error with this statement
IF Condition THEN -- first if
statements
IF CONDITION2 THEN
statements
ELSE
statements
END IF;
ELSE ... |
Topic: What RTRIM does in this case. |
anshu
Replies: 1 Views: 1575
|
Forum: WebSphere Message Broker (ACE) Support Posted: Tue Jun 06, 2006 6:55 am Subject: What RTRIM does in this case. |
I have a data that is 'Test Data '
There is a space after Test and there are spaces after Data. Does RTRIM remove spaces after the Test or does it remove spaces after Data. |
Topic: LTRIM |
anshu
Replies: 2 Views: 2074
|
Forum: WebSphere Message Broker (ACE) Support Posted: Mon Jun 05, 2006 8:10 am Subject: LTRIM |
What's wrong with this syntax
SET OutputRoot.XML.Message.Destination = LTRIM(DESID, '0');
The manual does does say you can use a LTRIM with a parameter. |