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 » IBM MQ API Support » channel exit issue-very urgent

Post new topic  Reply to topic
 channel exit issue-very urgent « View previous topic :: View next topic » 
Author Message
ravi_sri24
PostPosted: Thu Feb 08, 2007 3:42 am    Post subject: channel exit issue-very urgent Reply with quote

Voyager

Joined: 11 May 2006
Posts: 83

Hi,

I have written simple channel exit program using C, For the first time when the cursor is coming from the Mq-Series to C(Channel exit program) it is coming to the MQXR_INIT case there am setting the value of the

pSaveData->runExitFlag = -1;



After that the cursor is going back to the Mq-Series and when the next time the cursor is back to the C(Channel exit program) it is coming into the

MQXR_MSG case

here am checking the codition is

if(pSaveData->runExitFlag == -1)


but here the value of the pSaveData->runExitFlag is coming as 0(Zero)

Please can some one help me on this because this is very urgent


Thanks in Advance
Back to top
View user's profile Send private message
jsware
PostPosted: Thu Feb 08, 2007 4:57 am    Post subject: Reply with quote

Chevalier

Joined: 17 May 2001
Posts: 455

What's pSaveData and what doe you mean by "...when the cursor comes to..." - what cursor?

If the C code is small enough, you might want to post it so that we can see what your trying to run.
_________________
Regards
John
The pain of low quaility far outlasts the joy of low price.
Back to top
View user's profile Send private message
ravi_sri24
PostPosted: Thu Feb 08, 2007 6:06 am    Post subject: Reply with quote

Voyager

Joined: 11 May 2006
Posts: 83

scottj2512 wrote:
What's pSaveData and what doe you mean by "...when the cursor comes to..." - what cursor?

If the C code is small enough, you might want to post it so that we can see what your trying to run.


Hey man,

Sorry it's not the small program it's around 800 lines of programe, here pSaveData is the environment varibale

I think who ever worked on the channel exit those guys know about the pSaveData
Back to top
View user's profile Send private message
RogerLacroix
PostPosted: Thu Feb 08, 2007 8:57 am    Post subject: Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3264
Location: London, ON Canada

Hi,

First read this:
http://www.mqseries.net/phpBB2/viewtopic.php?t=20523

Second you are dealing with multi-threaded programming but you are thinking linear.

Third, go read both the WMQ Application Programming Guide and WMQ Application Programming Reference. (there are sections on channel exits)

Regards,
Roger Lacroix
Capitalware Inc.
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
Nigelg
PostPosted: Thu Feb 08, 2007 10:18 am    Post subject: Reply with quote

Grand Master

Joined: 02 Aug 2004
Posts: 1046

I think that exit programming is covered in the Intercomms manual.

The field you need is MQCXP.ExitUserArea. Read about it in the book.
_________________
MQSeries.net helps those who help themselves..
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 » IBM MQ API Support » channel exit issue-very urgent
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.