Author |
Message
|
alokjha |
Posted: Sun Mar 06, 2016 10:43 pm Post subject: left Justify option in MRM(TDS) is not working |
|
|
Novice
Joined: 12 Dec 2014 Posts: 16 Location: India
|
I migrated the MessageSet having MRM message domain and format is TDS which was developed in WMBv6 to IIB v9.
But Justification : Left Justify with padding Character is SPACE is not working for one character field and Length 3 though its working in WMBv6. |
|
Back to top |
|
 |
timber |
Posted: Mon Mar 07, 2016 1:10 am Post subject: |
|
|
 Grand Master
Joined: 25 Aug 2015 Posts: 1292
|
6.0 or 6.1?
What is the data format ( I know you are using TDS, but is the data CSV? Something else? ) |
|
Back to top |
|
 |
alokjha |
Posted: Mon Mar 07, 2016 1:56 am Post subject: |
|
|
Novice
Joined: 12 Dec 2014 Posts: 16 Location: India
|
Hi,
WMB version is V6.0 & and input data is CSV |
|
Back to top |
|
 |
timber |
Posted: Mon Mar 07, 2016 3:43 am Post subject: |
|
|
 Grand Master
Joined: 25 Aug 2015 Posts: 1292
|
It's probably a regression between v6.0 and v6.1; there were a few of those. v6.0 is out of support, so no hope of raising a PMR.
You have two options:
1. Tweak the TDS model until it works. Probably possible, because you're not doing anything strange or difficult with it ( unless there's something that you're not telling us ).
2. Use the DFDL wizard to create yourself a DFDL model.
I would choose 2. on the basis that it is better supported. |
|
Back to top |
|
 |
alokjha |
Posted: Mon Mar 07, 2016 4:53 am Post subject: |
|
|
Novice
Joined: 12 Dec 2014 Posts: 16 Location: India
|
Hi,
Yes DFDL is best options right now.
But requirement is use same msg set what we had in MWBv6. Untill and unless we are sure that this is because of version mismatch, cant go with other options.
Also I am not doing any changes in message set from my side. Just importing message set from WMB v6 productin build which is running fine and importing in IIB v9. |
|
Back to top |
|
 |
mqjeff |
Posted: Mon Mar 07, 2016 7:36 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Just because it imports and "runs fine" doesn't mean that the behavior hasn't changed from what you saw in v6.0.
Just because you are told to use the same message set, if you see a behavior change that breaks the flow then you need to convince the dev team to move to DFDL.
It's more regression testing, but you are already finding errors in your current regression testing. _________________ chmod -R ugo-wx / |
|
Back to top |
|
 |
alokjha |
Posted: Tue Mar 08, 2016 5:15 am Post subject: |
|
|
Novice
Joined: 12 Dec 2014 Posts: 16 Location: India
|
Hi Jeff,
Yes.
One confusion - Is Left Justify option applicable for CSV file too?
As we already have length kind as delimited for CSV data file then how we will define Length for field. |
|
Back to top |
|
 |
timber |
Posted: Tue Mar 08, 2016 5:33 am Post subject: |
|
|
 Grand Master
Joined: 25 Aug 2015 Posts: 1292
|
Quote: |
Is Left Justify option applicable for CSV file too? |
I thought that was the whole point of this thread. You were using Left Justify in v6.0 for parsing CSV input data. You tried it on v9.0 and it does not work.
Is the problem with the parsing of the input CSV, or with the writing of some other fixed-length output format? |
|
Back to top |
|
 |
|