User tasks and logical clusters

Each Adaptive Server task (SPID) runs inside a logical cluster. The lcid column in sysprocesses is a logical cluster ID that is hosting a given task. This ID can be passed to the lc_name() built-in function to determine the name of the corresponding logical cluster.

An individual task may run the lc_name() built-in to determine the current logical cluster.