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 » Max Occurence in fixed length

Post new topic  Reply to topic
 Max Occurence in fixed length « View previous topic :: View next topic » 
Author Message
Ashok Kumar
PostPosted: Thu May 15, 2014 1:33 am    Post subject: Max Occurence in fixed length Reply with quote

Acolyte

Joined: 01 Jul 2013
Posts: 53

Hello Team,

I have specified as min occurrence is '0' and mac occurrence is '0' for fixed length record dynamically by using repeat reference property in message set then i am getting parsing error .

If I have specified as min occurrence is '0' and mac occurrence is '1' for fixed length record dynamically by using repeat reference property in message then its working properly.

Is it possible to specify max occurrences is '0' for fixed length record?

It's Very urgent..

Can any one help me..

Thanks in advance.
Back to top
View user's profile Send private message
smdavies99
PostPosted: Thu May 15, 2014 3:18 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

What is the purpose of having the field defined if both min and max occurrences of it are = Zero?

As I read it, with both = 0 you can't have a value.
_________________
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
View user's profile Send private message
kimbert
PostPosted: Thu May 15, 2014 4:40 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

I assume that you are using the MRM parser, and I assume that you are on v7 - otherwise you would be using DFDL.

Please provide at least two example messages that show the data format that you are trying to model.
Please provide a description of how you have modelled the fixed-length field ( MRM property settings ).
Please quote the error message that you are getting.

Without this information, it is very hard to give any useful advice.
_________________
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
Ashok Kumar
PostPosted: Thu May 15, 2014 10:03 am    Post subject: Reply with quote

Acolyte

Joined: 01 Jul 2013
Posts: 53

Each order consists of one O Rec and any number of P Rec and SRec. Each flat file may contain multiple orders. The Export_inv_no will be the same for every record in an order. That is the key for extracting orders from the input Heineken file.

P min and Max occurrences 1-100 P Recs

S min and Max occurrences 0-100 S Recs.
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 » Max Occurence in 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.