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 C Header Files

Post new topic  Reply to topic
 Importing C Header Files « View previous topic :: View next topic » 
Author Message
Beaula
PostPosted: Fri Oct 25, 2002 2:58 am    Post subject: Importing C Header Files Reply with quote

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
View user's profile Send private message Send e-mail
kirani
PostPosted: Fri Oct 25, 2002 8:24 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Importing C Header Files
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.