Kernel 8.0 APIs Banner
Office of Information and Technology (OIT) Banner
[skip navigation]

$$PSET^%ZTLOAD(): Set Task as Persistent

Reference Type: Supported, Category: TaskMan, ICR#: 10063

Description

The $$PSET^%ZTLOAD extrinsic function sets a task as persistent (sets the persistent node). A task that is marked as persistent is restarted if TaskMan finds that the lock on ^%ZTSCH("TASK",tasknumber) has been removed. This adds the requirement that the task only use incremental locks, that the entry in ^%ZTSK(task... be left in place as this is used to restart the task, and that the task can be restarted from the data that is in the ^%ZTSK(task,... global.

Format

  $$PSET^%ZTLOAD(ztsk)

Input Parameters

ztsk:

(required) The TaskMan task number.

Output

returns:

Returns:

  • 1—Flag was set.

  • 0—Flag was not set.