Author |
Message
|
ravi_sri24 |
Posted: Thu Feb 08, 2007 3:42 am Post subject: channel exit issue-very urgent |
|
|
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 |
|
 |
jsware |
Posted: Thu Feb 08, 2007 4:57 am Post subject: |
|
|
 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 |
|
 |
ravi_sri24 |
Posted: Thu Feb 08, 2007 6:06 am Post subject: |
|
|
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 |
|
 |
RogerLacroix |
Posted: Thu Feb 08, 2007 8:57 am Post subject: |
|
|
 Jedi Knight
Joined: 15 May 2001 Posts: 3264 Location: London, ON Canada
|
|
Back to top |
|
 |
Nigelg |
Posted: Thu Feb 08, 2007 10:18 am Post subject: |
|
|
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 |
|
 |
|