|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Importing COBOL copybook |
« View previous topic :: View next topic » |
Author |
Message
|
GLL0905 |
Posted: Tue Dec 09, 2003 12:06 pm Post subject: Importing COBOL copybook |
|
|
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 |
|
 |
kirani |
Posted: Tue Dec 09, 2003 12:07 pm Post subject: |
|
|
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 |
|
 |
dmj |
Posted: Wed Dec 10, 2003 4:17 am Post subject: |
|
|
 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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|