Kernel V. 8.0 APIs Banner [skip navigation]
VHA Office of Information - Health Systems Design and Development (HSD&D) Banner

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

Reference Type: Supported, Category: TaskMan, Integration Agreement: 10063

Description

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

Example

 
	 

 


VA (Internet) / VA (Intranet) / OI / HSD&D / Site Map / Terms of Use / VA Privacy Policy / Accessibility

Reviewed/Updated: December 14, 2005

If you have questions, need more information, or are having accessibility problems with this website, please contact us by E-Mail: Webmasters, Phone: 510-768-6800, or FAX: 510-768-6850.