APSYSUFFIX (JANUS DEFINE parameter)

From m204wiki
Revision as of 03:20, 14 April 2026 by Alex (talk | contribs) (Create APSYSUFFIX parameter page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

APSYSUFFIX: Enable per-suffix routing on IMAGINET ports

APSYSUFFIX is a parameter on JANUS DEFINE that enables per-suffix routing on IMAGINET ports, allowing multiple DBS (Database Server) instances to be served by a single port.

This is a flag parameter; it takes no value.

When APSYSUFFIX is set, each connecting Imagine broker identifies itself with a single-character suffix and a DBS name during the handshake. The suffix-to-DBS mappings are managed at runtime via the JANUS ADDSUFFIX, JANUS DELETESUFFIX, and JANUS DISPLAYSUFFIX commands.

Syntax

JANUS DEFINE portname ... APSYSUFFIX

Applicability

APSYSUFFIX is valid only for IMAGINET type ports.

Usage

Use APSYSUFFIX when a single IMAGINET port must serve multiple DBS instances. Each broker connecting to the port sends a single-character suffix (A-Z, 0-9) and a DBS name during the handshake. The suffix-to-DBS mappings are registered with JANUS ADDSUFFIX.

The suffix character for the current connection is available in Model 204 User Language via the ApsySuffix method, and the DBS name via the DbsName method.

This is new as of Model 204 version 8.0.

See also