|
user_signoff routine |
|
|
When XCICS/TS auth_mode is set to "user", user may define an user_signoff routine to handle the operator SIGNOFF (CESF and EXEC CICS SIGNOFF). At SIGNOFF time, XCICS/TS calls the routine passing the USERID and the pointer to the SNT entry of the currently signed-on user. The routine may handle this information and return a return code to communicate to XCICS/TS whether the operation succeeded or not. If the return code is not equal to CXE_OK (0), the condition INVREQ is raised. Prototype int function_name(char *userid, tCXsnt *snt_entry); Passed parameters
Return codes 0 OK Example declaration define exit_program type=user_signoff, name=my_signoff, library=libmysnt.so; Example code #include "cics.h"
|