|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Redifines in Copybook |
« View previous topic :: View next topic » |
Author |
Message
|
MB561 |
Posted: Fri May 02, 2008 10:51 am Post subject: Redifines in Copybook |
|
|
Newbie
Joined: 02 May 2008 Posts: 1
|
Hi,
I am using MB 5 on AIX.My flow scenario is MRM CWF---->XML
I am having a copy book layout as below
01 MSG-MQ-TABLE.
05 MSG-REC-COUNT PIC 9(05).
05 MSG-MQ-RECORD OCCURS 0 TO 1000 TIMES
DEPENDING ON MSG-REC-COUNT.
10 MSG-REC-TYPE PIC X(02).
10 HDR-RECORD.
15 DATE PIC X(0 .
15 ID PIC X(05).
15 FILLER PIC X(235).
10 INV-RECORD REDEFINES HDR-RECORD.
15 POST-KEY PIC X(06).
15 ACCNT PIC X(07).
15 FILLER PIC X(235).
10 TRAILER-RECORD REDEFINES HDR-RECORD.
15 FILLER PIC X(05).
15 BCOUNT PIC 9(0 .
15 FILLER PIC X(235).
I created MRM CWF1 msg set with above copybook
When i am debugging it's not showing
I given a sample msg with 4 records(1 HDR,2 INV and 1 TRAILER) It's populating only MSG-REC-TYPEs HD,IV,IV,TR and not showing the records HDR-RECORD,INV-RECORD and TRAILER-RECORD.
Please let me know what i have to do to see these record fields.
Thanks,
Joe |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri May 02, 2008 1:23 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
you may be happy with your cobol redefines but know that the broker transforms those into choice branches...
So what are you going to base your choice on? And be aware that you cannot mix both choice branches...
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
kimbert |
Posted: Fri May 02, 2008 2:35 pm Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
|
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
|
|
|
|