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.

USEUSEEstablishes a device as the current device.USE:pc useargument,...U:pc useargument,...where useargument can bedevice:(parameters):"mnespace"ArgumentspcdeviceparametersmnespaceOptional — A postconditional expression.The device to be selected as the current device, specified by adevice ID or a device alias. A device ID can be an integer (a devicenumber), a device name, or the pathname of a sequential file. If astring, it must be enclosed with quotation marks.Optional — The list of parameters used to set device characteristics.The parameter list is enclosed in parentheses, and the parametersin the list are separated by colons. Parameters can either bepositional (specified in a fixed order in the parameter list) or keyword(specified in any order). A mix of positional and keyword parametersis permitted. The individual parameters and their positions andkeywords are highly device-dependent.Optional — The name of the mnemonic space that contains thecontrol mnemonics to use with this device, specified as a quotedstring.DescriptionUSE device establishes the specified device as the current device. The process must havealready established ownership of the device with the OPEN command.The current device remains current until you issue another USE command to select anotherowned device as the current device or until the process terminates.The USE command can establish as the current device such devices as terminal devices,magnetic tape devices, spool devices, TCP bindings, interprocess pipes, named pipes, andinter-job communications. The USE command can also be used to open a sequential file. Thedevice argument specifies the file pathname as a quoted string.<strong>Caché</strong> <strong>ObjectScript</strong> <strong>Reference</strong> 145

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

Saved successfully!

Ooh no, something went wrong!