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 » REDEFINES - (UNRESOLVED CHOICE)

Post new topic  Reply to topic
 REDEFINES - (UNRESOLVED CHOICE) « View previous topic :: View next topic » 
Author Message
rajeevreddy
PostPosted: Tue Mar 10, 2009 5:20 am    Post subject: REDEFINES - (UNRESOLVED CHOICE) Reply with quote

Apprentice

Joined: 07 Sep 2004
Posts: 39

Having issues on how to access a REDEFINE element in mapping node or esql.
10 FLAGS PIC X(03).
10 FILLER REDEFINES FLAGS.
15 FLAG1 PIC X.
15 FLAG2 PIC X.
15 FLAG3 PIC X.

If i want to access FLAGS, what will be the procedure to follow.
Thanks in advance
Back to top
View user's profile Send private message
vairavan
PostPosted: Tue Mar 10, 2009 6:50 am    Post subject: Reply with quote

Apprentice

Joined: 22 Apr 2008
Posts: 42

Please elaborate your query more...

What kind of flags that you are trying to access in mapping node?
Back to top
View user's profile Send private message
kimbert
PostPosted: Tue Mar 10, 2009 7:50 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Just access it. It just works.
Unless you have forgotten to tell us something important, of course...
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Mar 10, 2009 6:44 pm    Post subject: Re: REDEFINES - (UNRESOLVED CHOICE) Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

rajeevreddy wrote:
Having issues on how to access a REDEFINE element in mapping node or esql.
10 FLAGS PIC X(03).
10 FILLER REDEFINES FLAGS.
15 FLAG1 PIC X.
15 FLAG2 PIC X.
15 FLAG3 PIC X.

If i want to access FLAGS, what will be the procedure to follow.
Thanks in advance

you should have named your redefines something else. FILLER has a specific meaning in COBOL. Try renaming it like follows:
Code:
10 MYFLAGS REDEFINES FLAGS.

Be also aware that this is translated into a choice in xsd.
You cannot access a point below in the tree without having made your choice.
To make things easier in ESQL I try to access the choice path at the beginning of my map. I can then have peace of mind once I start mapping knowing that I will not get the exception you showed.

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » REDEFINES - (UNRESOLVED CHOICE)
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.