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 » Problem on Creating CWF format output

Post new topic  Reply to topic
 Problem on Creating CWF format output « View previous topic :: View next topic » 
Author Message
sksharma
PostPosted: Sun Jul 20, 2008 10:22 am    Post subject: Problem on Creating CWF format output Reply with quote

Apprentice

Joined: 18 Apr 2008
Posts: 28

Hi All,

Using .ccp file, I created Message definition file and CWF Message set.
It is working fine, if it is single cardinality.
But it is not working, if it is N cardinality.

So I changed maximum occurs as ‘-1’ (unbound).
It is showing following warning
Element 'CP040_TRAN_TYPE' has an unbounded number of repeats and thus it must be the last member of its parent group. Physical format: 'CWF'.

Please help out for this issue.
Thanks in advance.
Back to top
View user's profile Send private message
kimbert
PostPosted: Sun Jul 20, 2008 10:49 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

What do you think the error message means? What have you tried? Have you searched this forum yet?
Back to top
View user's profile Send private message
sksharma
PostPosted: Mon Jul 21, 2008 9:24 am    Post subject: Reply with quote

Apprentice

Joined: 18 Apr 2008
Posts: 28

Yes. I searched. CWF is a fixed length format.
So it is not possible to create N cardinality. So that it gave that warning.
Instead of using N Cardinality, Each set of records, I propagated.
It is working fine.
Back to top
View user's profile Send private message
SANTYP
PostPosted: Mon Jul 21, 2008 9:38 am    Post subject: Reply with quote

Centurion

Joined: 27 Mar 2007
Posts: 142

Should have the DEPENDING ON Clause for repeated structure like

eg: 05 HEADER.
10 RECORDTYPE PIC X(01).
10 QUANTITYACKHEADER PIC X(04).
10 DET-COUNT PIC 9(04).
05 DETAILS OCCURS 1 TO 100 TIMES DEPENDING ON DET-COUNT
10 RECORDTYPE PIC X(01).
10 QUANTITYACKDETAIL PIC X(04).
10 DETAILVERSION PIC X(04).

actually DET-COUNT is not there in the structure.
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 » Problem on Creating CWF format output
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.