Function
signed long int tibx_MVSConsole_Create ( void** pConsole, char** pConsoleMsg, Console_Response pCallBack) signed long int tibx_MVSConsole_Destroy( void* pConsole );
CALL "tibx_MVSConsole_Create" USING BY REFERENCE pConsole, BY REFERENCE pConsoleMsg, BY VALUE TIBEMS-NULLPTR, RETURNING tibems-status END-CALL. CALL "tibx_MVSConsole_Destroy" USING BY VALUE pConsole, RETURNING tibems-status END-CALL.
Some consumer application programs wait indefinitely for messages to arrive. You can use this function in conjunction with tibems_MVS_BreakFunction
to arrange console input to such programs, in order to interrupt them from waiting to receive a message, so they can exit cleanly (see tibx_MVSConsole_SetConsumer()
).
This call is available only in MVS.
C programs can receive console command results through a callback function. COBOL programs cannot receive console command results, but can react to the MVS stop
and shut
commands.
TIBCO Enterprise Message Service™ C and COBOL Reference System Release 4.3, February 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |