|
dfhaid routine |
|
|
If declared, XCICS/TS invokes the dfhaid routine after terminal input is received, and before to (re)start a transaction. This routine may instruct XCICS/TS to start a specific transaction code, instead of the one eventually scheduled by the last RETURN TRANSID. The routine receives the address of the TCTTETC area, which contains the identifier of the next transaction (TRANSID) to start and the AID entered by the user. A return code not equal zero will communicate to XCICS/TS that the routine altered the TCTTETC. Prototype int function_name(unsigned char *tcttetc, unsigned char key); Passed parameters
Return codes 0 XCICS will handle the AID and transaction code Example declaration define exit_program type=dfhaid, name=my_dfhaid_handler, library=libmysnt.so; Example code #include "cics.h"
|