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

Post new topic  Reply to topic
 tagged Fixed length « View previous topic :: View next topic » 
Author Message
saikumar009
PostPosted: Sat May 30, 2015 1:28 am    Post subject: tagged Fixed length Reply with quote

Newbie

Joined: 30 May 2015
Posts: 1

Need your help guys, below is my requirement

I will receive a message, which consists of multiple records

example : Message 1 :

20-----
30-----
40-----
50-----
50-----
50-----
40-----
50-----

there is no limit for the occurrence of 30,40 and 50... and can occur in any order.

Please note that each 20, 30, 40, 50 are complex types and has elements of fixed length (total length is 308).

I have tried creating a dfdl parser with which am able to read a file which has a single occurrence however am unsuccessful for creating multiple occurrences.

Can you please help me out on this please..
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sat May 30, 2015 9:38 pm    Post subject: Reply with quote

Grand High Poobah

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

how about an anonymous record type occurring 0 to n with a choice of all possible record types?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Mon Jun 01, 2015 4:40 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

fjb_saper wrote:
how about an anonymous record type occurring 0 to n with a choice of all possible record types?


It doesn't necessarily have to be an anonymous type.
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Jun 01, 2015 6:37 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

mqjeff wrote:
fjb_saper wrote:
how about an anonymous record type occurring 0 to n with a choice of all possible record types?


It doesn't necessarily have to be an anonymous type.




What the OP describing is a common M/F file format, popular with COBOL developers back in the day. We have a number of them here.
_________________
Honesty is the best policy.
Insanity is the best defence.
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
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.