%SYS
History Class Reference

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. More...

Inheritance diagram for History:
Collaboration diagram for History:

Static Public Member Functions

_.Library.String FormatTaskHistory (_.Library.String LastStarted, _.Library.String Completed, _.Library.String Name, _.Library.String Status, _.Library.String Result)
 Formats a line for the TaskHistory query.
 
_.Library.Status PurgeHistory (_.Library.Integer days)
 Purge Task History. More...
 

Public Attributes

 DisplayErrorDate
   More...
 
 DisplayErrorNumber
   More...
 
 DisplayFinished
   More...
 
 DisplayLogDate
   More...
 
 DisplayStarted
   More...
 
 DisplayStatus
   More...
 
 ER
 $lb(date,index) in ER global on error More...
 
 Error
 Untrapped error from User task, or "Success". More...
 
 ExecuteCode
 Code That was run. More...
 
 LastFinished
 $h Value of when the task was last finished
More...
 
 LastStarted
 $h Value of when the task was last started
More...
 
 LogDate
 Date the log entry is made. More...
 
 LogTime
 Time the log entry is made. More...
 
 Name
 Name of the task. More...
 
 NameSpace
 Namespace the task ran in. More...
 
 RunningJobNumber
 $J value of the job which ran the task More...
 
 Status
 Value of Status if ExecuteCode is Set Status=
More...
 
 Task
 ID of Task. More...
 
 Username
   More...
 

Detailed Description

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.

Member Function Documentation

◆ PurgeHistory()

_.Library.Status PurgeHistory ( _.Library.Integer  days)
static

Purge Task History.

This method purges the task history. It will retain Task history for the number of days set by the $SYS.Task.HistoryPurgeSet class method.

Member Data Documentation

◆ DisplayErrorDate

DisplayErrorDate

 

 

◆ DisplayErrorNumber

DisplayErrorNumber

 

 

◆ DisplayFinished

DisplayFinished

 

 

◆ DisplayLogDate

DisplayLogDate

 

 

◆ DisplayStarted

DisplayStarted

 

 

◆ DisplayStatus

DisplayStatus

 

 

◆ ER

ER

$lb(date,index) in ER global on error

 

◆ Error

Error

Untrapped error from User task, or "Success".

 

◆ ExecuteCode

ExecuteCode

Code That was run.

 

◆ LastFinished

LastFinished

$h Value of when the task was last finished

0 - Never finished  

◆ LastStarted

LastStarted

$h Value of when the task was last started

0 - Never started  

◆ LogDate

LogDate

Date the log entry is made.

 

◆ LogTime

LogTime

Time the log entry is made.

 

◆ Name

Name

Name of the task.

Must be 16 characters or less, first character

must be a letter.  

◆ NameSpace

NameSpace

Namespace the task ran in.

 

◆ RunningJobNumber

RunningJobNumber

$J value of the job which ran the task

 

◆ Status

Status

Value of Status if ExecuteCode is Set Status=

 

◆ Task

ID of Task.

 

◆ Username

Username