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 copybook

Post new topic  Reply to topic
 Cobol copybook « View previous topic :: View next topic » 
Author Message
Ajju.
PostPosted: Mon Jan 06, 2003 1:10 pm    Post subject: Cobol copybook Reply with quote

Voyager

Joined: 26 Jul 2002
Posts: 77

Hi guys!!
well i am working on CWF to XML converter using cobolcopy book as my input message.

I am not a cobol guy, so i wud appreciate if somebody hepls me to undertand a field in copybook which says that XXX occurs 8 times.(XXX is 2bytes in length)

does this means that the XXX field may occur 1 to 8 times that is, is the copybook a variable lenth copybook?

or

does it means that even if the data is not present in that field the total lenth wud be 8 * 2 bytes in length.


Thanks in adv,
Ajju.
Back to top
View user's profile Send private message
kirani
PostPosted: Mon Jan 06, 2003 4:21 pm    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

Ajju,

It means XXX field occurs fixed number of times (8 times) in the input record, it's like defining an array with 8 index.
When you import this copybook into MRM, it will create an element XXX with min and max occurs set to 8, you can refer to this element like this,
InputRoot.MRM.XXX[1] - First occurance.
InputRoot.MRM.XXX[2] - Second occurance
and so on...
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
Ajju.
PostPosted: Tue Jan 07, 2003 5:47 am    Post subject: Reply with quote

Voyager

Joined: 26 Jul 2002
Posts: 77

thanks kiran,
this answers my question!!

Ajju.
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 » Cobol 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.