Skip to main content

CreateDevice

Create a device.

Synopsis

[Action]	CreateDevice:Name=DeviceName,PhysicalDevice=PhysicalDeviceName,SubType=DeviceSubtypes,Type=x[,Additional Properties]

Where the value of x is one of the following options:

  • TRM — Terminal

  • SPL — Spooling device

  • MT — Magnetic tape drive

  • BT — Cartridge tape drive

  • IPC — Interprocess communication

  • OTH — Any other device including printers and sequential files

Description

CreateDevice defines a device. InterSystems IRIS® creates that device when processing the [Actions] section during a configuration merge. You can specify any possible device properties in the CreateDevice definition. During the merge, InterSystems IRIS runs Config.Devices.Create()Opens in a new tab to create the device defined by CreateDevice. Only the Name, PhysicalDevice, SubType, and Type properties are required; the complete list of properties is available in the class reference.

Changing this Operation

This operation is designed to be used during a configuration merge. You can change CreateDevice by editing the merge file in a text editor (as described in Editing the Active CPF).

See Introduction to I/O for more details on devices.

FeedbackOpens in a new tab