Develop > Programming Guide > 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.34p4 or later, 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, the primary_key_mode parameter is obsolete and removed.

Function

sysinfo.get("PKMode")

Format

$info=sysinfo.get("PKMode")

Example

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