|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Importing C Header Files |
« View previous topic :: View next topic » |
Author |
Message
|
Beaula |
Posted: Fri Oct 25, 2002 2:58 am Post subject: Importing C Header Files |
|
|
Apprentice
Joined: 11 Sep 2002 Posts: 39 Location: Infotech, Madhapur,India
|
Thanks for the reply.
I created a header file "request.h" with the following contents
struct Request{
char EmpNo[7];
char EmpName[20];
};
The follwoing error was reported in the rpt file.
Importing C header file C:\requests.h...
[error 1] line 8: syntax error
actual: [end of file] expecting: &, LP, POINTER, ~, struct, union, operator,
class, IDENTIFIER, IDENTIFIER
1 error found during parse.
Error: Some errors have occurred while trying to parse the file.
Please ensure the the file contains valid 'C' code only and compiles correctly
No valid C structures found in header file: C:\requests.h.
We called the Import C Header file... Can you guide were we are missing some settings etc. in MQSI... |
|
Back to top |
|
 |
kirani |
Posted: Fri Oct 25, 2002 8:24 am Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
As Lisa said, this structure looks perfectly fine and WMQI is able to impor this into MRM. May be your header file have some invalid char in it. Make sure you compile the header file before you import it into MRM. _________________ 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 |
|
 |
|
|
 |
|
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
|
|
|
|