11.07.2015 Views

Caché ObjectScript Reference - InterSystems Documentation

Caché ObjectScript Reference - InterSystems Documentation

Caché ObjectScript Reference - InterSystems Documentation

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Caché</strong> <strong>ObjectScript</strong> CommandsFor some devices, you can omit the parameters option and later set the desired characteristicswith the parameters option on the USE command.Specifying the DeviceWhen you open a device, you can identify the device by supplying a device number or analias assigned to the device.Using Physical Device Numbers<strong>Caché</strong> allows you to identify certain devices by supplying their system-assigned physicaldevice numbers. All implementations of <strong>Caché</strong> recognize the following physical devicenumbers:• 0 = The process's principal device (usually the device at which you sign on).• 2 = The spooler (to store output for later printing).• 63 = The view buffer.Open 63 accepts a namespace as follows:OPEN 63:namespaceSee About I/O Devices in <strong>Caché</strong> I/O Device Guide for more information about device numbers.Using a Device AliasAn alias is an alternate numeric device ID. It must be a valid device number, it must be uniqueand cannot conflict with an assigned device number.You can establish a numeric alias for a device. Go to the System Management Portal, selectSystem Configuration, select Advanced Settings, on the pull-down Category list select Devices.Click “contents” to display the current list of devices. For the desired device, click “edit”to display and edit its Alias: option.After you have assigned an alias to a device, you can use the OPEN command or the %ISutility to open the device using this alias.Exceeding the Open File Quota<strong>Caché</strong> allocates each process' open file quota between database files and files opened withOPEN. When OPEN causes too many files to be allocated to OPEN commands, you receivea error.See Also• CLOSE command106 <strong>Caché</strong> <strong>ObjectScript</strong> <strong>Reference</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!