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 » Cobol CPY import containing redefine clauses

Post new topic  Reply to topic
 Cobol CPY import containing redefine clauses « View previous topic :: View next topic » 
Author Message
EKhalil
PostPosted: Tue Feb 07, 2006 7:35 am    Post subject: Cobol CPY import containing redefine clauses Reply with quote

Voyager

Joined: 29 Apr 2003
Posts: 99
Location: Boston, MA

WBIMB 5 fp 5
Has anyone have positive or negative experiences using message models based on cobol .cpy's with multiple redefine clauses ???
Any imput would be greatly appreciated !!!
Back to top
View user's profile Send private message Send e-mail
dilse
PostPosted: Wed Feb 08, 2006 9:19 am    Post subject: Reply with quote

Master

Joined: 24 Jun 2004
Posts: 270

EKhalil,
With REDEFINES clauses you have to dynamically resolve the choice element but the big negative I faced was not able to debug the message flow successfully when you have multiple REDEFINES clauses.

Dilse.
Back to top
View user's profile Send private message
EKhalil
PostPosted: Wed Feb 08, 2006 10:45 am    Post subject: Thanks :) Reply with quote

Voyager

Joined: 29 Apr 2003
Posts: 99
Location: Boston, MA

Hey thanks for sharing...
Resolving them dynamically...I thought that once the import was successful the integrator would know what to do without the requirement of any further intervention - unless of course I'm not following...
Unfortunately we have multiple redefines within the .cpy. For now I rewrote the copybook in order to speed up the development. I'm also waiting for a response from IBM so maybe I'll will be able to shed some light on this issue...
Thanks again,
Eva
Back to top
View user's profile Send private message Send e-mail
JT
PostPosted: Wed Feb 08, 2006 12:21 pm    Post subject: Reply with quote

Padawan

Joined: 27 Mar 2003
Posts: 1564
Location: Hartford, CT.

dilse wrote:
dynamically resolve the choice element

To expound a little on what I think dilse meant by this statement: through your ESQL code, you would make a determination (based on some factor: i.e a field value in the input message) as to the choice (re: which part of the redefines area) you wished to access. Once a single reference is issued against a choice, the parser ignores the other choice for that redefined area. This holds true for each redefined area contained in the message.

you wrote:
I thought that once the import was successful the integrator would know what to do without the requirement of any further intervention

It does. The extent of your intervention relates to how you write your ESQL code.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Feb 08, 2006 12:26 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Also, the MRM, for some types of messages that can be modelled from COBOL copy books, use information that is in the message to resolve the choice itself.

For example, if you can model your message using the TDS parser, then the TDS parser can use tags to determine which of several possible redefines is in effect.

If you have to include things like Packed Decimals, you can't use TDS, and it's not likely that the MRM can resolve the choice for you.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
dilse
PostPosted: Wed Feb 08, 2006 3:55 pm    Post subject: Reply with quote

Master

Joined: 24 Jun 2004
Posts: 270

Yes JT. That's what I exactly meant. We need to write the ESQL code to resolve the choice element based on our condition(requirements).

But once you used one choice element in a group(redefines choices), you cannot comeback and change to other choice elements in that group.
Back to top
View user's profile Send private message
LearnMQSI
PostPosted: Mon Feb 13, 2006 7:31 pm    Post subject: Importing a Cobol Copybook Structure into MQSI 2.1 Reply with quote

Centurion

Joined: 20 Aug 2002
Posts: 137

Hi Guys,

I need to import a Cobol Copybook structure into MQSI 2.1. I did not do this before and I don't know where to start it within Control Center.

If anybody can give me some idea to start, I will pick it up.

Always thanks ful for all your ideas
_________________
IBM Certified System Administrator - WebSphere MQ 5.3
Back to top
View user's profile Send private message
shalabh1976
PostPosted: Mon Feb 13, 2006 9:02 pm    Post subject: Reply with quote

Partisan

Joined: 18 Jul 2002
Posts: 381
Location: Gurgaon, India

See the Documentation under Working with messages. Chapter 8 : Working with MRM messages in the Control Center covers what you want.
_________________
Shalabh
IBM Cert. WMB V6.0
IBM Cert. MQ V5.3 App. Prog.
IBM Cert. DB2 9 DB Associate
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Cobol CPY import containing redefine clauses
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.