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 » error in cobol copy while creating message set.

Post new topic  Reply to topic
 error in cobol copy while creating message set. « View previous topic :: View next topic » 
Author Message
kumar.MBMQ
PostPosted: Sat May 05, 2012 6:15 am    Post subject: error in cobol copy while creating message set. Reply with quote

Voyager

Joined: 06 May 2011
Posts: 93

when Iam creating message set from cobol copy, errors are
popping up as below. Plz suggest.
name of coboly copy is LAB1.cpy.
CBL001 T not valid in indicator area.
the first level number was not 01 for item "version".
-------
LAB1.cpy file as below :

Code:
01 CUSTOMER-COMPLAINT.
             10 VERSION          PIC 9.
             10 CUSTOMER-NAME.
                15 N-FIRST       PIC X(10).
                15 N-LAST        PIC X(10).
             10 CUSTOMER-ADDRESS.
                15 A-LINE   PIC X(20) OCCURS 2 TIMES.
                15 TOWN          PIC X(10).
                15 ZIP           PIC X(10).
                15 COUNTRY       PIC X(2).
             10 COMPLAINT.
                15 C-TYPE        PIC X(10).
                15 C-REF         PIC X(10).
                15 C-TEXT        PIC X(200).
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sat May 05, 2012 1:45 pm    Post subject: Reply with quote

Grand High Poobah

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

That's probably because your copy book is not well formatted.
COBOL copy books are position sensitive and the 01 level must start at pos 8

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 » error in cobol copy while creating message set.
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.