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
GLL0905
PostPosted: Tue Dec 09, 2003 12:06 pm    Post subject: Importing COBOL copybook Reply with quote

Apprentice

Joined: 25 Jun 2001
Posts: 40
Location: gauteng, sa

Hi,
I am trying to import a copy book into a message set and i get an error. I have been told (by the developer who gave me the copy book) thats it is fine. I am running wmqi 2.1, CSD02 on win2000. Any help would be greatly appreciated.

gll0905

01 WS_MQPUT_MESSAGE.
10 WS_MQPUT_AGREEMENT PIC X(5000).
10 WS_MQPUT_FUND PIC X(5000).
10 WS_MQPUT_FTX PIC X(5000).
10 WS_MQPUT_ACCOUNT PIC X(5000).

Importing COBOL copybook c:\ibm\wmqi\Tool\export\Copy Book.txt...
[error 1] file 'c:\ibm\wmqi\Tool\export\Copy Book.txt', line 1: syntax error
actual: _ expecting: IDENTIFICATION
Invalid level number for the line [ MQPUT_MESSAGE ]
Back to top
View user's profile Send private message Send e-mail
kirani
PostPosted: Tue Dec 09, 2003 12:07 pm    Post subject: Reply with quote

Jedi Knight

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

IS your copybook aligned correctly? I mean the column numbers?
_________________
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
dmj
PostPosted: Wed Dec 10, 2003 4:17 am    Post subject: Reply with quote

Novice

Joined: 09 Apr 2002
Posts: 19
Location: London

I had the same problem and it was the extension name of the copy book. I changed the file name from cobolinput.txt to cobolinput.cbl and it worked.

Worth a try.

Cheers
D
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.