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 Index » WebSphere Message Broker (ACE) Support » tagged fixed length Multiple Tag identifier

Post new topic  Reply to topic
 tagged fixed length Multiple Tag identifier « View previous topic :: View next topic » 
Author Message
matuwe
PostPosted: Thu Apr 01, 2010 12:15 am    Post subject: tagged fixed length Multiple Tag identifier Reply with quote

Master

Joined: 05 Dec 2007
Posts: 296

Hi,

I have a weired file which I need to model. My flat file is fixed length with different record. I use first two charectures to identify the record, but now my problem is for One record type, control record, I can have the identifier as 01 to 22. And the records are of two type, depending on some field.

How do I model this without duplication and making a mess.

00header
01test123
20test123
17test123
17test123
07test123
99detail
03test123
04test123

I followed some examples and I know how to do it for 1 Tag identifier... But this is a little confusing. Do I create 22 diffrent types and create Tag per type???
Back to top
View user's profile Send private message
kimbert
PostPosted: Thu Apr 01, 2010 1:14 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Quote:
I have a weired file
I agree
Who invents these formats? Is this a standard file format, or one which was invented within the organisation that you are working for?
Quote:
I use first two charectures to identify the record, but now my problem is for One record type, control record, I can have the identifier as 01 to 22.
That's interesting. There must be *some* reason why this was done. What does the specification for the format say? ( I know, you probably don't have any specification, but I have to ask ).

Quote:
How do I model this without duplication and making a mess.
You need to use a group with Data Element Separation set to 'Use Data Pattern'.
Can you give some indication of the logical structure of your file - do these 'control records' occur at a specific place in the file? If so, it might be possible to use 'Use Data Pattern' for the control records, and 'Tagged Fixed Length' or 'Tagged Delimited' for the other records. But I need to know the structure of the file before I can decide.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » tagged fixed length Multiple Tag identifier
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.