Function
tibx_MVSConsole_SetConsumer(
void* pConsole,
tibemsMsgConsumer
tibemsMsgConsumer,
char* tibems_MVS_BreakFunction);
signed long int tibems_MVS_BreakFunction(
void* pConsole );
SET WS-PROCEDURE-PTR TO ENTRY 'tibems_MVS_BreakFunction' CALL "tibx_MVSConsole_SetConsumer" USING BY VALUE pConsole, BY VALUE tibemsMsgConsumer, BY VALUE pFunction, RETURNING tibems-status END-CALL.
Programs in single-threaded environments (such as COBOL) need a way to interrupt blocking receive calls (such as tibemsMsgConsumer_Receive
).
This call is available only in MVS.
After registering this function in COBOL, a console stop
or shut
command causes the receive call to return with a status code TIBEMS_USER_INTR (54).
TIBCO Enterprise Message Service™ C and COBOL Reference System Release 4.3, February 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |