Generic hooks
An InContext model has these generic hooks:
- Include hook
- Declaration hook
- Function hook
Use these hooks to specify 3GL code, which is needed in the defined mapping hooks for the context message mappings.
Note: The generic hooks for the current table and the ones of the
referenced tables are concatenated during library generation. Ensure that
declaration of variables makes them unique for each table model. The same
applies to functions in the Function hook. Make them unique as well. Prefix
each variable and function with a string that at least includes the table code.
For example “
tm.tdsls400.my.own.variable
” or
“tm.tdsls400.calculate.diff.amnt()
”. Session models also have
the generic hooks.