Index hook
Use this hook to select the index the session starts with.
This hook must return a Long.
Example:
if tdpcg030.maty <> tdpcg.maty.sobook then
return (1)
else
return (2)
endif
If the session code is specified using a hook, the index must also
be specified by a hook. If it is left empty default 1 is used.