SYS.Process


persistent class SYS.Process extends
%SYS.ProcessQuery

This class provides several instance methods which operate on a process instance.
Properties/Storage/Queries are inherited from the %SYS.ProcessQuery class. The methods declared here are protected methods which can only be executed on a process if they have write access to the %DB_IRISSYS resource (i.e. can write to the IRISSYS database.) The process executing this query must be in the %SYS namespace.

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
5


Summary


Properties
%Concurrency CSPSessionID CanBeExamined CanBeSuspended
CanBeTerminated CanReceiveBroadcast ClientExecutableName ClientIPAddress
ClientNodeName CommandsExecuted CurrentDevice CurrentLineAndRoutine
CurrentSrcLine DataBlockWrites EscalatedRoles GlobalBlocks
GlobalDiskReads GlobalReferences GlobalUpdates InTransaction
IsGhost JobNumber JobType JournalEntries
LastGlobalReference LicenseUserId LinesExecuted Location
LoginRoles MemoryAllocated MemoryPeak MemoryUsed
NameSpace OSUserName OpenDevices Pid
PidExternal PrincipalDevice Priority PrivateGlobalBlockCount
PrivateGlobalReferences PrivateGlobalUpdates Roles Routine
StartupClientIPAddress StartupClientNodeName State Switch10
UserInfo UserName

Methods
%%OIDGet %1Check %AddJrnObjToSyncSet %AddToSaveSet
%AddToSyncSet %BMEBuilt %BindExport %BuildIndices
%BuildIndicesAsync %BuildIndicesAsyncResponse %BuildObjectGraph %CheckConstraints
%CheckConstraintsForExtent %ClassIsLatestVersion %ClassName %Close
%ComposeOid %ConstructClone %Delete %DeleteExtent
%DeleteId %DispatchClassMethod %DispatchGetModified %DispatchGetProperty
%DispatchMethod %DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty
%DowngradeConcurrency %ExecuteAfterTriggers %ExecuteBeforeTriggers %Exists
%ExistsId %Extends %FileIndices %GUID
%GUIDSet %GetLock %GetParameter %GetSwizzleObject
%Id %IncrementCount %IsA %IsModified
%IsNull %JournalObject %KillExtent %LockExtent
%LockId %New %NormalizeObject %ObjectIsNull
%ObjectModified %Oid %OnBeforeAddToSync %OnDetermineClass
%Open %OpenId %OriginalNamespace %PackageName
%PurgeIndices %Reload %RemoveFromSaveSet %ResolveConcurrencyConflict
%RollBack %SQLAcquireLock %SQLAcquireTableLock %SQLAfterTriggers
%SQLBeforeTriggers %SQLBuildIndices %SQLBuildPurgeIndexForRow %SQLBuildPurgeIndices
%SQLCheckUnique %SQLCheckUniqueIndices %SQLCheckUniqueKeys %SQLCopyIcolIntoName
%SQLCopyNameIntoIcol %SQLCreateInsDelTables %SQLDefineiDjVars %SQLDelete
%SQLDeleteChildren %SQLDeleteTempStreams %SQLEExit %SQLExists
%SQLFKeyDelLock %SQLFastInsert %SQLFieldValidate %SQLGetLock
%SQLGetOld %SQLGetOldAll %SQLGetOldIndex %SQLInsert
%SQLInsertComputes %SQLInsertStreams %SQLInvalid %SQLInvalid2
%SQLMVDelete %SQLMVIndexDelete %SQLMVIndexInsert %SQLMVIndexUpdate
%SQLMVInsert %SQLMVUpdate %SQLMissing %SQLNormalizeCompFields
%SQLNormalizeFields %SQLPurgeIndices %SQLQuickBulkInsert %SQLQuickBulkLoad
%SQLQuickBulkSave %SQLQuickBulkUpdate %SQLQuickDelete %SQLQuickDeleteChildren
%SQLQuickFindPKeyByRowID %SQLQuickFindRowIDByPKey %SQLQuickInsert %SQLQuickLoad
%SQLQuickLoadChildren %SQLQuickLogicalToOdbc %SQLQuickOdbcToLogical %SQLQuickUpdate
%SQLReleaseLock %SQLReleaseTableLock %SQLStorageValidation %SQLTrigDelTab
%SQLTrigInsTab %SQLUnlock %SQLUnlock2 %SQLUnlockError
%SQLUnlockRef %SQLUpdate %SQLUpdateComputes %SQLUpdateStreams
%SQLValidateCompFields %SQLValidateFields %SQLicompView %SQLnBuild
%Save %SaveDirect %SaveIndices %SerializeObject
%SetModified %SortBegin %SortEnd %SyncObjectIn
%SyncTransport %UnlockExtent %UnlockId %UpgradeConcurrency
%ValidateIndices %ValidateObject AllowToOpen CONTROLPANELClose
CONTROLPANELExecute CONTROLPANELFetch CONTROLPANELVMSClose CONTROLPANELVMSExecute
CONTROLPANELVMSFetch ClientExecutableNameSet ClientIPAddressSet ClientNodeNameSet
DisableJournalInt EnableJournalInt EscalatedRolesGet ExamStackByPid
GetCPUTime GetCurrentLineAndRoutine GetCurrentSrcLine GetLastGlobalReference
GetLoginRoutine GetOSUsername GetOpenDevices GetView
GetViewList Help JOBEXAMClose JOBEXAMExecute
JOBEXAMFetch KillAllPrivateGlobals ListPidsClose ListPidsExecute
ListPidsFetch NextProcess Open PPGClose
PPGExecute PPGFetch PPGInfo ProcessTableSize
ReleaseAllLocks Resume SSClose SSExecute
SSFetch StateLogicalToDisplay Suspend Terminate
TopClose TopExecute TopFetch TopGlobalClose
TopGlobalExecute TopGlobalFetch UserInfoSet VariableByJobNumberClose
VariableByJobNumberExecute VariableByJobNumberFetch VariableByPidClose VariableByPidExecute
VariableByPidFetch


Methods


• classmethod ProcessTableSize() as %Integer
Current size of the process table (number of process slots).
• method ReleaseAllLocks() as %Status
Release ALL locks.
Release all locks for the process.
• method Resume() as %Status
Resume a process.
Resumes a process after it had previously been suspended.
• method Suspend() as %Status
Suspend a process.
Put a process into a wait state so it stops executing code.
• method Terminate(SendError As %Integer = 0) as %Status
Terminate a process.
Kills a process by sending it a halt message.
If SendError is 1 the killed job will issue a <RESJOB> error and invoke the ^%ETN utility.
Copyright © 1997-2020 InterSystems Corporation, Cambridge, MA