|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Problem on Creating CWF format output |
« View previous topic :: View next topic » |
Author |
Message
|
sksharma |
Posted: Sun Jul 20, 2008 10:22 am Post subject: Problem on Creating CWF format output |
|
|
 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 |
|
 |
kimbert |
Posted: Sun Jul 20, 2008 10:49 am Post subject: |
|
|
 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 |
|
 |
sksharma |
Posted: Mon Jul 21, 2008 9:24 am Post subject: |
|
|
 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 |
|
 |
SANTYP |
Posted: Mon Jul 21, 2008 9:38 am Post subject: |
|
|
 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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|