Skip to main content

Defining Default Mnemonic Spaces

Defining Default Mnemonic Spaces

Programmers can control devices by using WRITE /mnemonic commands in their applications. For instance, programmers can move the cursor to a specific column in the current line on a terminal device when they use the %X364 mnemonic space with this command:

  WRITE /CHA(column)

The action caused by any particular value of mnemonic is determined by the mnemonic space the WRITE command is using. A mnemonic space is a routine with entry points (mnemonics) that define device actions and attributes.

The WRITE command uses the mnemonic space defined in the OPEN or USE command for the device. If the OPEN or USE command includes no mnemonic space argument, then InterSystems IRIS uses the default mnemonic space for the device type.

Predefined Mnemonic Spaces

InterSystems IRIS ships with the predefined (default) mnemonic space ^%X364. This is the default mnemonic space for X3.64 (ANSI) terminals. It is the default at startup for terminals, sequential files, and other devices.

These defaults are defined in the Management Portal. Select System Administration, Configuration, Device Settings, IO Settings.

If you create your own mnemonic space routine(s), you may want to change the default mnemonic spaces InterSystems IRIS uses for one or more of these device types.

FeedbackOpens in a new tab