Author |
Message
|
kumar.shanj |
Posted: Mon Feb 14, 2011 4:43 am Post subject: Issue with Variable length Mesg with Fixed Length SubElement |
|
|
Apprentice
Joined: 18 Nov 2010 Posts: 49
|
I am using a Variable length Message with Fixed Length Sub elements.
There is 6 Fixed langth Optional elements in Variable length Message structure.
Delimiter for Variable length Message is <CR><LF>.
When a element is optional , i am getting a new line feed is being populated in the output message which should not be there as per requirement.
Please help me implementing this. |
|
Back to top |
|
 |
kimbert |
Posted: Mon Feb 14, 2011 5:06 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5543 Location: Southampton
|
Sorry - you will need to provide a *lot* more detail. I assume that you are using MRM with a TDS physical format - but you have not said so.
Please
- tell us what you have tried ( describe your message set)
- provide example messages |
|
Back to top |
|
 |
kumar.shanj |
Posted: Mon Feb 14, 2011 5:15 am Post subject: |
|
|
Apprentice
Joined: 18 Nov 2010 Posts: 49
|
I am using using MRM with a TDS physical format.
My Message is Variable length Message with 6 optional elements of which all 6 are Fixed length Complex Types.
Variable Length Message: Delimiter is <CR><LF>
Element1 - Optional Fixed length element
Element2 - Optional Fixed length element
Element3 - Optional Fixed length element
Element4 - Optional Fixed length element
Element5 - Optional Fixed length element
Element6 - Optional Fixed length element
Out of 6 optional elements at any time various combinations of elements will be populated based on business condition.
Now when a element is not required, message set output is populating a Blank line in the output message.
Please help me in resolving the problem |
|
Back to top |
|
 |
kimbert |
Posted: Mon Feb 14, 2011 5:21 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5543 Location: Southampton
|
kimbert said:
Quote: |
- provide example messages |
|
|
Back to top |
|
 |
kumar.shanj |
Posted: Mon Feb 14, 2011 6:44 am Post subject: |
|
|
Apprentice
Joined: 18 Nov 2010 Posts: 49
|
Output of my Flow is
3453 34530111.I4 014100 00113829996 132Z00010
EUROX001138299964 000000D10M01001138299960000000000000000010000000000300000000000000000000000010000000001800000000000000000000
EUROX001138299964 11 PL32145676776 0000000000300102011000000000002000000000110000000000351E1ITCN
EUROX001138299964 31 PL32145676776 0000000001800 010110016110IAFR
EUROX001138299964 000000A10M01001138299960000000000000000030000122176159000000000000000000000020000132432168000000000000000000
EUROX001138299964 11 PL32145676776 00000000117020000000000000101011010000000078200000004130000000013670E1PLCNAG
EUROX001138299964 12 PL32145676776 00000488655430000000000000101029021000326530300017230380000057083358E1PLCNAG
EUROX001138299964 13 PL32145676776 00000732989140000000000000101011010000489799400025845780000085625737E1PLCNAG
EUROX001138299964 31 PL32145676776 00001324318680000000000000 010110016110IA
EUROX001138299964 32 PL32145676776 00000000003000000000000000 010110016110IAFR
Where the blank lines should not be present |
|
Back to top |
|
 |
kimbert |
Posted: Mon Feb 14, 2011 7:24 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5543 Location: Southampton
|
I think you need to set the TDS property 'Suppress absent element delimiters'. |
|
Back to top |
|
 |
|