Gets the address of the application's currently registered error handling routine and the address of the user-specified data
1 – Format
sql_get_error_handler (user-error-routine, user-data)
2 – Returns
No value returned.
3 – Arguments
3.1 – user-error-routine
The address of an application's error handling routine Value: Address of an application's error handling routine Data type: Longword Passing By reference mechanism:
3.2 – user-data
The address of the user-specified data Value: Address of the user-specified data Data type: Longword Passing By reference mechanism:
4 – Description
The sql_get_error_handler routine gets the address of the application's currently registered error handling routine and the address of the user-specified data. An application can use the sql_get_error_handler routine to get the address of the currently registered routine and user- specified data. The application can store the values in variables for use later in the program.
5 – Related Routines
o sql_register_error_handler o sql_deregister_error_handler