Author |
Message
|
ChaitanyaG |
Posted: Wed Sep 18, 2013 5:03 am Post subject: Question on Message Set Creation |
|
|
Newbie
Joined: 18 Sep 2013 Posts: 5
|
Hi Guys,
I have requirement to create a message set manually for text messages.
I have 3 different groups in message, each field in a group are fixedlength strings and each group should be terminated with new line character.
But my problem is i am not able to create group terminator for fixed length strings.
Here is the example i am providing...
Expected output is
Group1Field1Field2Field3Field4Field5Field6
Group2Filed1Field2Field3Field4Field5Field6
Group3Filed1Field2Field3Field4Field5Field6
My output is :
Group1Filed1Field2Field3Field4Field5Field6Group2Filed1Field2Field3Field4Field5Field6Group3Filed1Field2Field3Field4Field5Field6
Can you please suggest me.. what should i do ? |
|
Back to top |
|
 |
lancelotlinc |
Posted: Wed Sep 18, 2013 5:05 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
|
Back to top |
|
 |
ChaitanyaG |
Posted: Wed Sep 18, 2013 5:08 am Post subject: |
|
|
Newbie
Joined: 18 Sep 2013 Posts: 5
|
|
Back to top |
|
 |
Vitor |
Posted: Wed Sep 18, 2013 5:12 am Post subject: Re: Question on Message Set Creation |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
ChaitanyaG wrote: |
Can you please suggest me.. what should i do ? |
If each group is on a single line terminated as you describe, get the node to do it. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
ChaitanyaG |
Posted: Wed Sep 18, 2013 5:17 am Post subject: |
|
|
Newbie
Joined: 18 Sep 2013 Posts: 5
|
I did not get you,Can you please explain me elaborately |
|
Back to top |
|
 |
lancelotlinc |
Posted: Wed Sep 18, 2013 5:19 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
This is not a version.
What version are you using for toolkit ?
What version are you using for runtime?
Version numbers have four digits. _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
smdavies99 |
Posted: Wed Sep 18, 2013 5:28 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
lancelotlinc wrote: |
This is not a version.
What version are you using for toolkit ?
What version are you using for runtime?
Version numbers have four digits. |
So he's on V7. Can you explain for the ignorant amongst us what relevance your questions have on the point being discussed?
As far as I can see it, this topic as about creating a message set. What relevance is the runtime version to this question? It may have some relevance later but at the moment? I hardly think so.
If there are APARS in certain V7 fixpacks that may have some relevance to this why not say so rather than just bombarding the OP with possibly irrevelant questions? (say why you are asking for the specific version numbers...)
Perhaps you missed out on your real calling as a Lawyer?
 _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
ChaitanyaG |
Posted: Wed Sep 18, 2013 5:29 am Post subject: |
|
|
Newbie
Joined: 18 Sep 2013 Posts: 5
|
|
Back to top |
|
 |
Vitor |
Posted: Wed Sep 18, 2013 5:31 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
lancelotlinc wrote: |
This is not a version. |
But is a version which doesn't support DFDL, which is the only relevant thing I can think of for the OP's problem.
Or is this just part of your crusade to gain greater precision and pedantry in the world? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Vitor |
Posted: Wed Sep 18, 2013 5:33 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
ChaitanyaG wrote: |
I did not get you,Can you please explain me elaborately |
It sounds like you're trying to build a file where each group of fixed length records is terminated with a newline character. Why not output each group as a record and have the FileOutput node terminate the record with a newline (which conveiniently happens to be a default)? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
lancelotlinc |
Posted: Wed Sep 18, 2013 5:34 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
smdavies99 wrote: |
lancelotlinc wrote: |
This is not a version.
What version are you using for toolkit ?
What version are you using for runtime?
Version numbers have four digits. |
So he's on V7. Can you explain for the ignorant amongst us what relevance your questions have on the point being discussed?
As far as I can see it, this topic as about creating a message set. What relevance is the runtime version to this question? It may have some relevance later but at the moment? I hardly think so.
If there are APARS in certain V7 fixpacks that may have some relevance to this why not say so rather than just bombarding the OP with possibly irrevelant questions? (say why you are asking for the specific version numbers...)
Perhaps you missed out on your real calling as a Lawyer?
 |
For those from Rio Linda California and others who are as ignorant, the patch to 7.0.0.2 added many new features and bug fixes, including those related to message sets. The 7.0.0.6 patch also fixes some toolkit issues related to importing WSDLs and COBOL Copybooks to create messages sets.
I hope this addresses your question smdavies. Its not irrevelant to ask WHAT VERSION YOU ARE ON. A two digit version number is not sufficient.
@Chaitanya - please update your toolkit and runtime to 7.0.0.6 to get the fixes if you cannot solve the problem otherwise.
To wit :
Quote: |
7. Importer
APAR IZ65178 Toolkit schema validation error
106005 Existing annotation in WSDL confuses WSDL validators
106775 Disable UPA checks in certain cases (user-specified)
111750 Database INTERVAL and XML_Type mapping are incorrect
APAR IC71671 Error loading WSDL file in WMB V7 Toolkit
114904 Empty import element causes internal error
APAR IC73124 IC73083 Cannot create message set from WSDL with no target namespace
APAR IC75337 WSDL import does not build references correctly: Fails to create path reference to the generated MXSD file
APAR IC76343 Problems with the import of WSDL in WMB V7.0.0.2
APAR IC76939 Toolkit throws binding error while importing WSDL file if it contains invalid characters
116927 R5509: Fix COBOL 88 enum & default value & enum clash |
_________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Last edited by lancelotlinc on Wed Sep 18, 2013 5:52 am; edited 1 time in total |
|
Back to top |
|
 |
smdavies99 |
Posted: Wed Sep 18, 2013 5:51 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
Quote: |
Its not irrevelant to ask WHAT VERSION YOU ARE ON. A two digit version number is not sufficient. |
Agreed but isn't it more informative to add your explanation about the APARS so that your question is put into context?
Questions without context seem 'cold' and 'demanding'
Add the context and you might say, 'Ah, I understand why he's asking that.' _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
lancelotlinc |
Posted: Wed Sep 18, 2013 5:56 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
smdavies99 wrote: |
Quote: |
Its not irrevelant to ask WHAT VERSION YOU ARE ON. A two digit version number is not sufficient. |
Agreed but isn't it more informative to add your explanation about the APARS so that your question is put into context?
Questions without context seem 'cold' and 'demanding'
Add the context and you might say, 'Ah, I understand why he's asking that.' |
Ok, I'll accept your observation about my communication style. If you noted my first post on this topic, it was very simple "What's your version" (even if we expect posters to include such information in their original post). This was not in any way offensive. It's not like I was asking about STDs, marital status, mother's maiden name, social security number or gender preference.
A seasoned WMB professional would always include the four-digit version identifier since the important information is always in the last digit.
By the way davies, what's yours ? _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
kimbert |
Posted: Wed Sep 18, 2013 6:26 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
I see no evidence that this is a product issue, so there is no reason to believe that upgrading to 7.0.0.6 will fix the OP's problem.
Quote: |
my problem is i am not able to create group terminator for fixed length strings |
What diagnosis have you done so far? Have you taken a debug-level user trace? The TDS parser might be treating some or all of your fields as 'self-defining'. A user trace would either clearly show that, or allow you to rule out that possibility.
The suggestion to use a FileOutput node might work, but only if the OP is writing to a file. _________________ Before you criticize someone, walk a mile in their shoes. That way you're a mile away, and you have their shoes too. |
|
Back to top |
|
 |
smdavies99 |
Posted: Wed Sep 18, 2013 6:31 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
lancelotlinc wrote: |
By the way davies, what's yours ? |
That depends which VM I have fired up.
SAPO=6.1.0.5
OVSA=6.1.0.10
SANL=7.0.0.4
JEDA=8.0.0.2(in dev)
LXA7=6.1.0.9
GURB=8.0.0.2(in dev)
AMML=7.0.0.5
BODR=9.0.0.0 (in development)
Yes, some of the above systems are not at the latest FP for their version. These system are notoriously difficult to update. For example, on of them is located in the very north of Japan but is actually managed from Dubai. Convincing the customers that we need downtime to do the updates is a real uphill struggle. the LXA7 system has a max of 5 mins downtime a year. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
|