ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum IndexWebSphere Message Broker (ACE) SupportNeed help on TDS mset setting properties for message definit

Post new topicReply to topic
Need help on TDS mset setting properties for message definit View previous topic :: View next topic
Author Message
anilmekala
PostPosted: Sat Sep 06, 2014 4:11 am Post subject: Need help on TDS mset setting properties for message definit Reply with quote

Acolyte

Joined: 19 Oct 2012
Posts: 63

Hi All,

In my org we are using WMB7.0 .

I am receiving data from AS400 legacy system with below structure

|HUCA|AS4@BRH|CNT@<huorg>,CNT@<hudst>|five spaces {H12345678++B+BRU+HUB+MNL+HUB+P+1997-02-04 18:04:51\+01:00++MIX+DOX ++MNL-MIX-DOX+10+{}+{9786213213+LHR+MNL}{1212543223+BRU+MNL}}

prototype:

|Message_type|Origin|Destination1,Destination....| fivespaces { Parent HU attributes + 1
{ Child HU attributes }+ 0..n
{ Child Shipment attributes } 0..n
}

I have set properties as below :

ParenetHU Attributes

DataElement separated: Tagdelimited

Group Indigator :{
Group Terminator:}
Delimiter :+
Tag Data Separator :+

ChildHu Attributes

DataElement separated: Tagdelimited

Group Indigator :{
Group Terminator:}
Delimiter :+
Tag Data Separator :+

Child Segment Attributes

DataElement separated: Tagdelimited

Group Indigator :{
Group Terminator:}
Delimiter :+
Tag Data Separator :+

my problem is Child Segment Attributes also parsed into Child Hu Segment Attributes.


Please help me where am gone wrong.

Thanks in Advance.

Anil.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sat Sep 06, 2014 5:15 am Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

what is the discriminator between child HU and Child shipment?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
anilmekala
PostPosted: Sat Sep 06, 2014 8:45 am Post subject: Reply with quote

Acolyte

Joined: 19 Oct 2012
Posts: 63

Hi,

Its "+" only.

Sample example as below :

{HU1234+LHR+SIN+{HU3456+CDG+MNL}+{564233+CDG+MNL}}
...is a different message which contains three elements and two segments. Each of the segments occurs just once. Note that the “+” between the segments identifies them as different segments and not a repetition of the same segment.

{HU1234+LHR+SIN+{HU3456+CDG+MNL}{HU3456+CDG+MNL}{HU3456+CDG+MNL}+{564233+CDG+MNL}{564233+CDG+MNL}}
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sat Sep 06, 2014 10:31 am Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

So now that we've clarified the point how did you model it in DFDL?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
anilmekala
PostPosted: Sat Sep 06, 2014 8:40 pm Post subject: Reply with quote

Acolyte

Joined: 19 Oct 2012
Posts: 63

Hi Grand,

I am using version 7.0 there is no DFDL support. I have define in TDS.

Please help me on how to define tds properties.

Regards,

Anil.
Back to top
View user's profile Send private message
kimbert
PostPosted: Mon Sep 08, 2014 12:45 am Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

You need to explain the message structure in more detail. I do not understand what the parsing rules are.
Tip: Using [c o d e] tags will make your posts easier to read.
_________________
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
View user's profile Send private message
fjb_saper
PostPosted: Mon Sep 08, 2014 4:37 am Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

I thought his example here was clear
Code:
{HU1234+LHR+SIN+{HU3456+CDG+MNL}{HU3456+CDG+MNL}{HU3456+CDG+MNL}+{564233+CDG+MNL}{564233+CDG+MNL}}


however sounds to me like time to upgrade as V7 will be out of support in about 1 year and modelling this would be much easier in DFDL.

_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexWebSphere Message Broker (ACE) SupportNeed help on TDS mset setting properties for message definit
Jump to:



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
Protected by Anti-Spam ACP


Theme by Dustin Baccetti
Powered by phpBB 2001, 2002 phpBB Group

Copyright MQSeries.net. All rights reserved.