Caché I/O Device Guide
Contents
 
   
Server:docs1
Instance:LATEST
User:UnknownUser
 
-
Go to:
Search:    

 
Contents

Preface : 
 
 
Chapter 1: 
 
  • 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 Predefined Mnemonic Spaces
  • Chapter 2: 
     
  • 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: 
     
  • 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 Protocol Terminator Characters
  • 3.3.8 Explicit Terminator Characters
  • 3.3.9 Summary of Protocols and Terminators in Read Operations
  • 3.4 READ Command
  • 3.4.1 Syntax
  • 3.4.2 Examples
  • 3.4.3 Read Line Recall
  • 3.4.4 Special Protocol Characters Affect Terminal I/O
  • 3.4.5 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.7 Predefined Mnemonic Spaces for Terminals
  • 3.7.1 Mnemonic Space for X3.64
  • 3.7.2 Mnemonic Space for DTM PC Console
  • 3.7.3 DTM Examples
  • 3.8 PRINT and ZPRINT Commands
  • 3.8.1 Syntax
  • 3.9 Programming Your Terminal
  • 3.9.1 Using Caché to Program Formatted CRT Screens
  • 3.9.2 Programming Escape Sequences
  • 3.9.3 Example
  • 3.9.4 Caché Supports Full or Half Duplex and Echo
  • 3.9.5 Caché Supports Intercomputer Links and Special Devices
  • Chapter 4: 
     
  • 4.1 Using Pipes to Communicate with Processes
  • 4.1.1 Opening Pipes to Caché Utilities
  • 4.1.2 Pipes and Command Pipes
  • 4.1.3 OPEN Command for Interprocess Communication
  • 4.1.4 READ Command for Interprocess Communication
  • 4.1.5 CLOSE Command for Interprocess Communication
  • 4.1.6 Using Named Pipes to Communicate with Visual Basic
  • 4.2 Communication Between Caché Processes
  • 4.2.1 Specifying Memory Buffers for Interjob Communication Devices
  • 4.2.2 Interjob Communication Device Numbers
  • 4.2.3 I/O Commands for IJC Devices
  • Chapter 5: 
     
  • 5.1 TCP Connections Overview
  • 5.2 OPEN Command for TCP Devices
  • 5.2.1 Using the OPEN Command
  • 5.2.2 Server-Side OPEN Command
  • 5.2.3 Client-Side OPEN Command
  • 5.2.4 OPEN and USE Command Keywords for TCP Devices
  • 5.2.5 OPEN-Only Command Keywords for TCP Devices
  • 5.3 USE Command for TCP Devices
  • 5.4 READ Command for TCP Devices
  • 5.4.1 READ Modifies $ZA and $ZB
  • 5.5 WRITE Command for TCP Devices
  • 5.5.1 How WRITE Works
  • 5.5.2 WRITE Modifies $X and $Y
  • 5.5.3 WRITE Command Errors
  • 5.5.4 WRITE Control Commands
  • 5.6 Connection Management
  • 5.6.1 Job Command with TCP Devices
  • 5.6.2 Job Command Example
  • 5.7 Concatenation of Records
  • 5.8 Multiplexing Caché TCP Devices
  • 5.9 Closing the Connection
  • 5.9.1 Disconnect with CLOSE Command
  • 5.9.2 Server Disconnects with WRITE *-2 Command
  • 5.9.3 Automatic Disconnection
  • 5.9.4 Effects of Disconnection
  • Chapter 6: 
     
  • 6.1 Establishing a UDP Socket
  • 6.2 The Host Address
  • 6.2.1 IPv4 and IPv6
  • Chapter 7: 
     
  • 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
  • Chapter 8: 
     
  • 8.1 Opening and Using the Spool Device
  • 8.1.1 OPEN and USE Commands for Spooling Device
  • 8.2 Spooling and Special Variables
  • 8.3 Closing the Spool Device
  • 8.3.1 Changing Namespaces
  • 8.3.2 Abort Job Processing
  • 8.4 Viewing the ^SPOOL Global
  • 8.5 Opening the Spooler Using the %IS Utility
  • 8.6 Managing Spooled Documents Using %SPOOL
  • 8.6.1 Printing with %SPOOL
  • 8.6.2 Listing Spooled Documents
  • 8.6.3 Deleting Spooled Documents
  • Chapter 9: 
     
  • 9.1 Overview of Printers
  • 9.2 Specifying a Printer
  • 9.2.1 Opening a Printer
  • 9.2.2 Specifying a Printer on Windows
  • 9.2.3 Specifying a Printer on UNIX®
  • 9.2.4 Specifying a Printer on OpenVMS
  • 9.3 Directing Output to a Printer
  • 9.3.1 %IS Printer Set-Up Variable
  • 9.4 Printer as Alternate Device
  • Chapter 10: 
     
  • 10.1 Choosing a Tape Handler
  • 10.2 Using the Caché Magnetic Tape Handler
  • 10.2.1 OPEN Command
  • 10.2.2 USE Command
  • 10.2.3 READ Command
  • 10.2.4 WRITE Command
  • 10.2.5 CLOSE Command
  • 10.3 Reading and Writing OpenVMS Labeled Tapes
  • 10.4 Reading and Writing ANSI and EBCDIC Labeled Tapes
  • 10.4.1 DOS Labels
  • 10.4.2 Record Structure
  • 10.4.3 File Structure
  • 10.4.4 Creating Files on a Labeled Tape
  • 10.5 Special Variables Show I/O Conditions
  • 10.5.1 $ZA Holds Magnetic Tape Status
  • 10.5.2 $ZB Holds Information about Driver Buffer
  • 10.6 Magnetic Tape Mnemonic Space for WRITE /mnemonic
  • 10.7 Using the OpenVMS Magnetic Tape Handler