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 » Redifines in Copybook

Post new topic  Reply to topic
 Redifines in Copybook « View previous topic :: View next topic » 
Author Message
MB561
PostPosted: Fri May 02, 2008 10:51 am    Post subject: Redifines in Copybook Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Fri May 02, 2008 1:23 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
kimbert
PostPosted: Fri May 02, 2008 2:35 pm    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

This has been answered many times before:
http://www.google.com/custom?domains=MQSeries.net&q=COBOL+redefines&sa=Search&sitesearch=MQSeries.net
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 » Redifines in Copybook
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.