Author |
Message
|
padleywoods |
Posted: Mon Dec 12, 2005 4:03 am Post subject: mqsicreatemsgdefs: BIP0226E error received |
|
|
Novice
Joined: 12 Dec 2005 Posts: 12 Location: UK
|
I'm attempting to dynamically create a message set defintion using the 'mqsicreatemsgdefs' command. The command I use is:
----------------------------------------------------------------------------------
mqsicreatemsgdefs -p MSET_test -d "C:\Program Files\IBM\WebSphere Business Integration Message Brokers\eclipse\copybook" data "C:\Program Files\IBM\WebSphere Business Integration Message Brokers\eclipse\workspace" -rmp -rmd -msg
----------------------------------------------------------------------------------
(There is a '-' in front of 'data' !!!!!)
----------------------------------------------------------------------------------
I receive a very unhelpful response of:
BIP0226E Command did not complete.
See earlier error messages for details of the problem.
----------------------------------------------------------------------------------
The output log file contains only 1 record of:
Number of files imported: 0
----------------------------------------------------------------------------------
Can anyone help me determine what is wrong ....... or give me a clue as to the error. Many thanks. |
|
Back to top |
|
 |
JT |
Posted: Mon Dec 12, 2005 6:50 am Post subject: |
|
|
Padawan
Joined: 27 Mar 2003 Posts: 1564 Location: Hartford, CT.
|
|
Back to top |
|
 |
padleywoods |
Posted: Mon Dec 12, 2005 8:05 am Post subject: |
|
|
Novice
Joined: 12 Dec 2005 Posts: 12 Location: UK
|
JT .... this is on WBIMB v5; I haven't upgraded to v6 as yet. |
|
Back to top |
|
 |
padleywoods |
Posted: Mon Dec 12, 2005 8:09 am Post subject: |
|
|
Novice
Joined: 12 Dec 2005 Posts: 12 Location: UK
|
It's also worth noting that the copybook I'm attempting to import is very simple initially ......... i.e.
01 F-Copybook.
05 Field1 PIC 9(05).
05 Field2 PIC 9(04). |
|
Back to top |
|
 |
JT |
Posted: Mon Dec 12, 2005 3:20 pm Post subject: |
|
|
Padawan
Joined: 27 Mar 2003 Posts: 1564 Location: Hartford, CT.
|
Perhaps the report file provides more details: mqsicreatemsgdefs.report.txt |
|
Back to top |
|
 |
padleywoods |
Posted: Tue Dec 13, 2005 4:43 am Post subject: |
|
|
Novice
Joined: 12 Dec 2005 Posts: 12 Location: UK
|
JT
I'm afraid the only output in this is the single line of:
Number of files imported: 0
(which I somehow knew!!)
PW |
|
Back to top |
|
 |
wschutz |
Posted: Tue Dec 13, 2005 4:51 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
When I've done this before, i remember something about the copybook being column sensitive, this worked for me:
(the 01 starts in column 7)
Code: |
01 DIVANN.
03 DIVANN-CCF-ANOUNCEMENT-DATA.
05 DIVANN-CCF-REFERENCE-NUMBER.
07 DIVANN-CCF-CUSIP-INTL.
10 DIVANN-CCF-CUSIP-CC PIC XX.
|
_________________ -wayne |
|
Back to top |
|
 |
padleywoods |
Posted: Tue Dec 13, 2005 6:22 am Post subject: |
|
|
Novice
Joined: 12 Dec 2005 Posts: 12 Location: UK
|
Many thanks!!
I actually managed to get this to work by starting the 01-level in column 8 - i.e. 7 spaces before it. Which, if I remember my COBOL days correctly, is how all copybooks should have been written.
Thanks for everyone's help. |
|
Back to top |
|
 |
|