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 » Importing Cobol Copybook

Post new topic  Reply to topic
 Importing Cobol Copybook « View previous topic :: View next topic » 
Author Message
Beaula
PostPosted: Fri Jan 31, 2003 3:27 am    Post subject: Importing Cobol Copybook Reply with quote

Apprentice

Joined: 11 Sep 2002
Posts: 39
Location: Infotech, Madhapur,India

I imported the following cobol copy book.

07 NM-SFORADJ-ACTION-IND PIC 9(003).
07 NM-SFORADJ-ORDER-NBR PIC X(015).
07 NM-SFORADJ-TABLE.
10 NM-SFORADJ-TABLE-ENTRY OCCURS 9 TIMES.
11 NM-SFORADJ-OPER-ID PIC 9(006).
11 NM-SFORADJ-STATUS-CODE PIC X(001).
11 NM-SFORADJ-QTY-COMPLETE PIC 9(007).
11 NM-SFORADJ-UNIT PIC X(004).

After importing i found that the elements NM-SFORADJ-TABLE-ENTRY, NM-SFORADJ-OPER-ID, NM-SFORADJ-STATUS-CODE, NM-SFORADJ-QTY-COMPLETE, NM-SFORADJ-UNIT are created and in addition NM-SFORADJ-OPER-ID, NM-SFORADJ-STATUS-CODE, NM-SFORADJ-QTY-COMPLETE, NM-SFORADJ-UNIT are created under NM-SFORADJ-TABLE-ENTRY element.

Kindly explain how elements are to be created and why the elements occurs twice.....

Also explain how the NM-SFORADJ-TABLE-ENTRY OCCURS 9 TIMES should be included in MQSI.
Back to top
View user's profile Send private message Send e-mail
EddieA
PostPosted: Fri Jan 31, 2003 10:28 am    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

The elements are only created once. They are then 'used' in the NM-SFORADJ-TABLE-ENTRY type.

The importer doesn't seem to use the OCCURS clause correctly. Go into the NM-SFORADJ-TABLE-ENTRY within the NM-SFORADJ-TABLE type and set the Repeat Count Type and Repeat Count fields.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
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 » Importing 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.