Skip to main content
Previous sectionNext section

NodeNameInPid

Specify behavior when InterSystems IRIS® data platform references the special variable $JOB.

Synopsis

[Miscellaneous]    NodeNameInPid=n

n is either 1 (true) or 0 (false). The default value is 0.

Description

When NodeNameInPid is enabled (n = 1), $JOB returns the process ID number of the current process concatenated to the node name. When NodeNameInPid is not enabled, $JOB returns only the process ID number, without the node name.

Changing This Parameter

On the Compatibility page of the Management Portal (System Administration > Configuration > Additional Settings > Compatibility), in the NodeNameInPid row, click Edit. Select NodeNameInPid to enable this setting.

Instead of using the Management Portal, you can change NodeNameInPid in the Config.Miscellanous class (as described in the class reference) or by editing the CPF in a text editor (as described in the Editing the Active CPF section of the “Introduction to the Configuration Parameter File” chapter in this book).

To change this parameter for a single process only (as opposed to instance-wide), use the NodeNameInPid() method of the %SYSTEM.Process class. See the class reference for details.