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

APPERROR^%ZTER: Set Application Error Name in Kernel Error Trap Log

Reference Type: Supported, Category: Error Processing, Integration Agreement: 1621

Description

This API was added with Kernel Patch XU*8.0*431. It sets the "application error" text passed in as the error name in the Kernel error trap log (i.e., ERROR LOG file [#3.075]).

NOTE: This API replaces the need to set $ZE before calling ^%ZTER:

Before:

>S $ZE=”application error” D ^%ZTER
After:
>D APPERROR^%ZTER(“application error”)

 

Format

  APPERROR^%ZTER("application error")

Input Parameters

"application error"

This input parameter is the "application error" name that gets displayed in the Kernel error trap log (i.e., ERROR LOG file [#3.075]).

Output

returns:

Displays the "application error" text passed in as the error name in the Kernel error trap log (i.e., ERROR LOG file [#3.075]).

Example

>DO APPERROR^%ZTER("My Application Error")

Check the Kernel error trap and see if there is an error called "My Application Error".

 


VA (Internet) / VA(Intranet) / OI / PD / Site Map / Terms of Use / VA Privacy Policy / Accessibility

Reviewed/Updated: January 10, 2012

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.