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 » copybook error

Post new topic  Reply to topic
 copybook error « View previous topic :: View next topic » 
Author Message
chris boehnke
PostPosted: Thu Jul 14, 2011 12:09 pm    Post subject: copybook error Reply with quote

Partisan

Joined: 25 Jul 2006
Posts: 369

Hi Guys,

I am trying to create a new message definition file from cobol copybook.
I am getting teh below error.


Quote:
PATRESD.cpy is expected to have just 01 level data structures or 77 level elementary data item definition(s), based on its file extension.You can change the file extension support by going into the "More COBOL options" tab of the COBOL importer preferences page (Window -> Preferences -> Importer -> COBOL).
Line No : 25 IGYDS1176-E The first level-number was not 01 for item "PAT-REQ-USER-ID". A level-number of 01 was assumed.
Line No : 25 IGYDS1052-E Group item "PAT-REQ-USER-ID" contained the "PICTURE" clause. The clause was discarded.
Please correct the error and try importing the file again.


My copybook starts with 05 level. If I add some element at 01 level, i am able to create the message set.
Can I add some elemnt at 01 level?
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Jul 14, 2011 12:25 pm    Post subject: Re: copybook error Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

chris boehnke wrote:
Can I add some elemnt at 01 level?


You might want to ask the guy who gave you the copybook how they're talking the COBOL compiler into using the file. This will tell you what 01 level name they're using in the COBOL code so you can be consistent. WMB will only use the name for the message name, so it doesn't matter all that much except in terms of documentation.

But a COBOL structure must start with an 01 level.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
chris boehnke
PostPosted: Thu Jul 14, 2011 12:28 pm    Post subject: Reply with quote

Partisan

Joined: 25 Jul 2006
Posts: 369

Thanks Vitor.
I will talk to application team and ask them about the level 01 name.
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 » copybook error
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.