TALUSEREXIT
Valid for
Extract, Replicat
Description
Use TALUSEREXIT to call custom TAL routines at different points during processing.
If TALUSEREXIT is specified in the parameter file, but a user exit is not bound to the Extract or Replicat object, the process will abend.
The paramfile syntax change for native mode Extract/Replicat is
TALUSEREXIT <DLL filename> [, DEBUG | VERBOSE]
Build a TAL userexit as a DLL:
Syntax
#frame
#push _options
#set _options -l rld -unres_symbols warn
#set _options [_options] -export_all -b semi_globalized
<linker> -ul -o <DLL filename> <linkable TAL userexit> [_options]
<linker>-change floattype tandem_float <DLL filename>
#unframe
In native mode the userexit code can be a DLL
When using a DLL there is no need to link the userexit into Extract or Replicat.
The DLL gets dynamically loaded when the parameter is seen.
Example
TALUSEREXIT [<DLL filename>] [,DEBUG] [,VERBOSE]
<DLL filename> -- Native mode Userexit DLL
[,DEBUG] -- sets dlopen() mode flag to RTLD_VERBOSE(8)
[,VERBOSE] -- sets dlopen() mode flag to RTLD_VERBOSE(8)