Home > Class Reference > ENSLIB namespace > %SYS.Task.History

%SYS.Task.History

persistent class %SYS.Task.History extends %Library.Persistent

SQL Table Name: %SYS_Task.History

Used to track events in the TASKMGR environment When jobs are completed Deletion of tasks Updates to Configuration data Starting of the TASKMGR Suspending/Resuming Tasks or TASKMGR

Property Inventory (Including Private)

Method Inventory (Including Private)

Parameters

parameter DOMAIN = %Utility;

Properties (Including Private)

property DisplayErrorDate as %Date [ Transient ];
Property methods: DisplayErrorDateCompute(), DisplayErrorDateDisplayToLogical(), DisplayErrorDateGet(), DisplayErrorDateIsValid(), DisplayErrorDateLogicalToDisplay(), DisplayErrorDateLogicalToOdbc(), DisplayErrorDateNormalize(), DisplayErrorDateOdbcToLogical(), DisplayErrorDateSQLCompute(), DisplayErrorDateSet(), DisplayErrorDateSetT()
property DisplayErrorNumber as %String [ Transient ];
Property methods: DisplayErrorNumberCompute(), DisplayErrorNumberDisplayToLogical(), DisplayErrorNumberGet(), DisplayErrorNumberIsValid(), DisplayErrorNumberLogicalToDisplay(), DisplayErrorNumberLogicalToOdbc(), DisplayErrorNumberNormalize(), DisplayErrorNumberSQLCompute(), DisplayErrorNumberSet(), DisplayErrorNumberSetT()
property DisplayFinished as %String [ Transient ];
Property methods: DisplayFinishedCompute(), DisplayFinishedDisplayToLogical(), DisplayFinishedGet(), DisplayFinishedIsValid(), DisplayFinishedLogicalToDisplay(), DisplayFinishedLogicalToOdbc(), DisplayFinishedNormalize(), DisplayFinishedSQLCompute(), DisplayFinishedSet(), DisplayFinishedSetT()
property DisplayLogDate as %String (MAXLEN = 255) [ Transient ];
Property methods: DisplayLogDateCompute(), DisplayLogDateDisplayToLogical(), DisplayLogDateGet(), DisplayLogDateIsValid(), DisplayLogDateLogicalToDisplay(), DisplayLogDateLogicalToOdbc(), DisplayLogDateNormalize(), DisplayLogDateSQLCompute(), DisplayLogDateSet(), DisplayLogDateSetT()
property DisplayStarted as %String [ Transient ];
Property methods: DisplayStartedCompute(), DisplayStartedDisplayToLogical(), DisplayStartedGet(), DisplayStartedIsValid(), DisplayStartedLogicalToDisplay(), DisplayStartedLogicalToOdbc(), DisplayStartedNormalize(), DisplayStartedSQLCompute(), DisplayStartedSet(), DisplayStartedSetT()
property DisplayStatus as %String (MAXLEN = 1024) [ Transient ];
Property methods: DisplayStatusCompute(), DisplayStatusDisplayToLogical(), DisplayStatusGet(), DisplayStatusIsValid(), DisplayStatusLogicalToDisplay(), DisplayStatusLogicalToOdbc(), DisplayStatusNormalize(), DisplayStatusSQLCompute(), DisplayStatusSet(), DisplayStatusSetT()
property ER as %String (MAXLEN = 20);
$lb(date,index) in %ER global on error
Property methods: ERDisplayToLogical(), ERGet(), ERGetStored(), ERIsValid(), ERLogicalToDisplay(), ERLogicalToOdbc(), ERNormalize(), ERSet()
property Error as %String (MAXLEN = 1024);
Untrapped error from User task, or "Success"
Property methods: ErrorDisplayToLogical(), ErrorGet(), ErrorGetStored(), ErrorIsValid(), ErrorLogicalToDisplay(), ErrorLogicalToOdbc(), ErrorNormalize(), ErrorSet()
property ExecuteCode as %String (MAXLEN = 32000);
Code That was run
Property methods: ExecuteCodeDisplayToLogical(), ExecuteCodeGet(), ExecuteCodeGetStored(), ExecuteCodeIsValid(), ExecuteCodeLogicalToDisplay(), ExecuteCodeLogicalToOdbc(), ExecuteCodeNormalize(), ExecuteCodeSet()
property LastFinished as %String [ InitialExpression = 0 ];
$h Value of when the task was last finished
0 - Never finished
Property methods: LastFinishedDisplayToLogical(), LastFinishedGet(), LastFinishedGetStored(), LastFinishedIsValid(), LastFinishedLogicalToDisplay(), LastFinishedLogicalToOdbc(), LastFinishedNormalize(), LastFinishedSet()
property LastStarted as %String [ InitialExpression = 0 ];
$h Value of when the task was last started
0 - Never started
Property methods: LastStartedDisplayToLogical(), LastStartedGet(), LastStartedGetStored(), LastStartedIsValid(), LastStartedLogicalToDisplay(), LastStartedLogicalToOdbc(), LastStartedNormalize(), LastStartedSet()
property LogDate as %Date;
Date the log entry is made
Property methods: LogDateDisplayToLogical(), LogDateExists(), LogDateGet(), LogDateGetStored(), LogDateIsValid(), LogDateLogicalToDisplay(), LogDateLogicalToOdbc(), LogDateNormalize(), LogDateOdbcToLogical(), LogDateSet()
property LogTime as %Time;
Time the log entry is made
Property methods: LogTimeDisplayToLogical(), LogTimeGet(), LogTimeGetStored(), LogTimeIsValid(), LogTimeLogicalToDisplay(), LogTimeLogicalToOdbc(), LogTimeNormalize(), LogTimeOdbcToLogical(), LogTimeSet()
property Name as %String (MAXLEN = 32000);
Name of the task. Must be 16 characters or less, first character must be a letter.
Property methods: NameDisplayToLogical(), NameGet(), NameGetStored(), NameIsValid(), NameLogicalToDisplay(), NameLogicalToOdbc(), NameNormalize(), NameSet(), NameSpaceDisplayToLogical(), NameSpaceGet(), NameSpaceGetStored(), NameSpaceIsValid(), NameSpaceLogicalToDisplay(), NameSpaceLogicalToOdbc(), NameSpaceNormalize(), NameSpaceSet()
property NameSpace as %String (MAXLEN = 64) [ InitialExpression = "%SYS" ];
Namespace the task ran in
Property methods: NameSpaceDisplayToLogical(), NameSpaceGet(), NameSpaceGetStored(), NameSpaceIsValid(), NameSpaceLogicalToDisplay(), NameSpaceLogicalToOdbc(), NameSpaceNormalize(), NameSpaceSet()
property RunningJobNumber as %String;
$J value of the job which ran the task
Property methods: RunningJobNumberDisplayToLogical(), RunningJobNumberGet(), RunningJobNumberGetStored(), RunningJobNumberIsValid(), RunningJobNumberLogicalToDisplay(), RunningJobNumberLogicalToOdbc(), RunningJobNumberNormalize(), RunningJobNumberSet()
property Status as %CacheString [ InitialExpression = 0 ];
Value of Status if ExecuteCode is Set Status=
Property methods: StatusGet(), StatusGetStored(), StatusIsValid(), StatusSet()
property Task as %SYS.Task;
ID of Task
Property methods: TaskExists(), TaskGet(), TaskGetObject(), TaskGetObjectId(), TaskGetStored(), TaskGetSwizzled(), TaskHistoryClose(), TaskHistoryDetailClose(), TaskHistoryDetailExecute(), TaskHistoryDetailFetch(), TaskHistoryDetailFetchRows(), TaskHistoryDetailFunc(), TaskHistoryDetailGetInfo(), TaskHistoryDetailGetODBCInfo(), TaskHistoryDetailPrepare(), TaskHistoryDetailSendODBC(), TaskHistoryExecute(), TaskHistoryFetch(), TaskHistoryFetchRows(), TaskHistoryForDayClose(), TaskHistoryForDayExecute(), TaskHistoryForDayFetch(), TaskHistoryForDayFetchRows(), TaskHistoryForDayFunc(), TaskHistoryForDayGetInfo(), TaskHistoryForDayGetODBCInfo(), TaskHistoryForDayPrepare(), TaskHistoryForDaySendODBC(), TaskHistoryForTaskClose(), TaskHistoryForTaskExecute(), TaskHistoryForTaskFetch(), TaskHistoryForTaskFetchRows(), TaskHistoryForTaskForDayClose(), TaskHistoryForTaskForDayExecute(), TaskHistoryForTaskForDayFetch(), TaskHistoryForTaskForDayFetchRows(), TaskHistoryForTaskForDayFunc(), TaskHistoryForTaskForDayGetInfo(), TaskHistoryForTaskForDayGetODBCInfo(), TaskHistoryForTaskForDayPrepare(), TaskHistoryForTaskForDaySendODBC(), TaskHistoryForTaskFunc(), TaskHistoryForTaskGetInfo(), TaskHistoryForTaskGetODBCInfo(), TaskHistoryForTaskPrepare(), TaskHistoryForTaskSendODBC(), TaskHistoryFunc(), TaskHistoryGetInfo(), TaskHistoryGetODBCInfo(), TaskHistoryPrepare(), TaskHistorySendODBC(), TaskIsValid(), TaskNewObject(), TaskSet(), TaskSetObject(), TaskSetObjectId(), TaskUnSwizzle()
property Username as %String;