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

HOME^%ZIS: Reset Home Device IO Variables

Reference Type: Supported, Category: Device Handler, ICR#: 10086

Description

The HOME^%ZIS API sets the key IO variables to match the characteristics of the home device. The HOME^%ZIS API performs the same function as the obsolete CURRENT^%ZIS API.

NOTE: Developers have been advised that Kernel 8.0 is the last version of Kernel to support the obsolete CURRENT^%ZIS.

HOME^%ZIS, beyond updating the set of variables for the home device, also updates the active right margin system setting for the home device, by executing ^%ZOSF("RM") based on the home device's IOM value.

 

Format

  HOME^$ZIS

Make sure to perform the following steps before calling this API:

  1. NEW all non-namespaced variables.

  2. Set all input variables.

  3. Call the API.

Input Variables

none.

 

Output Variables

IO:

Device $I.

IO(0):

Home device at the time of the call to ^%ZIS.

IOBS:

Backspace code.

IOF:

Form Feed code.

IOM:

Right Margin length.

ION:

Name of last selected input/output device from the DEVICE (#3.5) file.

IOS:

Internal Entry Number (IEN) of last selected input/output device from the DEVICE (#3.5) file.

IOSL:

Screen or page length.

IOST:

Subtype of the selected device.

IOST(0):

Subtype Internal Entry Number (IEN).

IOT:

Type of device, such as TRM for terminal.

IOXY:

Executable M code for cursor control.