Develop > Programming > System Language reference > List: RAD functions > RAD Function: sysinfo.get("PKMode")

RAD function: sysinfo.get("PKMode")

A RAD function that returns the primary key mode for the system. Returned values are of the following types:

  • true: indicates that the system is running in primary key mode.

    Note In Service Manager 9.4x, the primary key feature is always enabled and therefore a value of true is always returned.

  • false: indicates that the system is not running in primary key mode (primary_key_mode=0 in sm.ini).

    Note Starting with Service Manager 9.34p4 (for 9.3x) and 9.40 (for 9.4x), the primary_key_mode parameter is obsolete and removed.

Function

sysinfo.get("PKMode")

Format

$info=sysinfo.get("PKMode")

Example

<variable> = sysinfo.get("pkmode")