Caché I/O Device Guide
Static Version
Contents
Contents
Chapter 1:
About I/O Devices
1.1 Device Management Utilities
1.2 Default Devices
1.2.1 Devices
1.2.2 Device Subtypes
1.2.3 Magnetic Tape Devices
1.3 Identifying Devices
1.3.1 Device Mnemonics
1.3.2 Device IDs
1.3.3 Device Alias
1.3.4 Default Device IDs and Mnemonics
1.3.5 Device Types
1.4 Defining Devices
1.5 Managing Magnetic Tape Devices
1.5.1 Defining Magnetic Tape Devices
1.5.2 Deleting Outmoded Assignments
1.6 Accessing Devices
1.6.1 Allowing Users to Select Devices with the %IS Utility
1.6.2 Accessing Devices with the OPEN Command
1.6.3 Interpretation Levels for Devices
1.7 Defining Default Mnemonic Spaces
1.7.1 Pre-Defined Mnemonic Spaces
Chapter 2:
I/O Devices and Commands
2.1 Overview of I/O Commands
2.1.1 General I/O Syntax
2.1.2 OPEN Command
2.1.3 USE Command
2.1.4 READ Command
2.1.5 WRITE Command
2.1.6 CLOSE Command
2.2 Specifying I/O Devices
2.3 Allowing Users to Specify a Device
2.3.1 How %IS Works
2.3.2 %IS Mnemonics
2.3.3 Structure of ^%IS Global
2.4 Specifying Devices in I/O Commands
2.4.1 Specifying Terminals and Printers by Device Name
2.4.2 Specifying Devices by Caché ID
2.4.3 Specifying Files on Disk
2.5 Processes and Devices
2.5.1 Principal Device and Current Device
2.5.2 The Null Device
2.5.3 One Process Owns a Device
2.6 Application Development I/O Commands
2.7 Device Special Variables
2.8 Controlling Devices with Mnemonic Spaces
2.8.1 Predefined Mnemonic Spaces
2.8.2 Creating a Mnemonic Space
2.8.3 Select a Mnemonic Space
Chapter 3:
Terminal I/O
3.1 Overview of Terminal I/O Capabilities
3.1.1 Your Login Terminal or Console is Your Principal Device
3.2 Special Variables Show I/O Conditions
3.2.1 $X and $Y and Cursor Position
3.2.2 $TEST Shows Timed Operation Results
3.2.3 $ZA Shows READ Status
3.2.4 $ZB Shows What Ended a READ
3.3 OPEN and USE Commands
3.3.1 OPEN Command
3.3.2 USE Command
3.3.3 Positional Parameters for OPEN and USE Commands
3.3.4 Keyword Parameters for OPEN and USE Commands
3.3.5 Testing the Success of OPEN Commands
3.3.6 Letter Code Protocols for OPEN and USE
3.3.7 Using Terminators to End I/O Operations
3.3.8 Summary of Protocols and Terminators in Read Operations
3.4 READ Command
3.4.1 Syntax
3.4.2 Examples
3.4.3 Special Protocol Characters Affect Terminal I/O
3.4.4 How the READ Command Processes Input
3.5 WRITE Command
3.5.1 Syntax
3.5.2 Examples
3.6 CLOSE Command
3.6.1 Syntax
3.6.2 Pre-Defined Mnemonic Spaces for Terminals
3.6.3 Mnemonic Space for X3.64
3.6.4 Mnemonic Space for DTM PC Console
3.6.5 Examples
3.7 PRINT and ZPRINT Commands
3.7.1 Syntax
3.8 Programming Your Terminal
3.8.1 Using Caché to Program Formatted CRT Screens
3.8.2 Programming Escape Sequences
3.8.3 Example
3.8.4 Caché Supports Full or Half Duplex and Echo
3.8.5 Caché Supports Intercomputer Links and Special Devices
Chapter 4:
Spool Device
4.1 Opening and Using the Spool Device
4.1.1 OPEN and USE Commands for Spooling Device
4.2 Spooling and Special Variables
4.3 Closing the Spool Device
4.3.1 Changing Namespaces
4.3.2 Abort Job Processing
4.4 Viewing the ^SPOOL Global
4.5 Opening the Spooler Using the %IS Utility
4.6 Managing Spooled Documents
4.6.1 Printing with %SPOOL
4.6.2 Listing Spooled Documents
4.6.3 Deleting Spooled Documents
Chapter 5:
Interprocess Communication
5.1 Using Pipes to Communicate with Processes
5.1.1 Opening Pipes to Caché Utilities
5.1.2 OPEN Command for Interprocess Communication
5.1.3 READ Command for Interprocess Communication
5.1.4 Using Named Pipes to Communicate with Visual Basic
5.2 Communication Between Caché Processes
5.2.1 Specifying Memory Buffers for Interjob Communication Devices
5.2.2 Interjob Communication Device Numbers
5.2.3 I/O Commands for IJC Devices
5.3 Using the TCP Binding to Connect Client/Server Systems
5.3.1 TCP Connections Overview
5.3.2 Initiating a TCP Connection with the OPEN Command
5.3.3 USE Command for TCP Binding Devices
5.3.4 READ Command for TCP Binding Devices
5.3.5 WRITE Command for TCP Devices
5.3.6 Connection Management
5.3.7 Concatenation of Records
5.3.8 Closing the Connection
Chapter 6:
Magnetic Tape I/O
6.1 Choosing a Tape Handler
6.2 Using the Caché Magnetic Tape Handler
6.2.1 OPEN Command
6.2.2 USE Command
6.2.3 READ Command
6.2.4 WRITE Command
6.2.5 CLOSE Command
6.3 Reading and Writing OpenVMS Labeled Tapes
6.4 Reading and Writing ANSI and EBCDIC Labeled Tapes
6.4.1 DOS Labels
6.4.2 Record Structure
6.4.3 File Structure
6.4.4 Creating Files on a Labeled Tape
6.5 Special Variables Show I/O Conditions
6.5.1 $ZA Holds Magnetic Tape Status
6.5.2 $ZB Holds Information about Driver Buffer
6.6 Magnetic Tape Mnemonic Space for WRITE /mnemonic
6.7 Using the OpenVMS Magnetic Tape Handler
Chapter 7:
Sequential File I/O
7.1 Using Sequential Files
7.1.1 OPEN Command
7.1.2 USE Command
7.1.3 READ and WRITE Commands
7.1.4 CLOSE Command
7.2 Using RMS Files
7.2.1 OPEN Command for RMS Files
Copyright
© 1997-2006, InterSystems Corp.
Build:
Caché v5.2 (290U-290U)
Last updated:
2006-03-22 10:03:05
Source:
GIOD.xml