CMS Preferred Interface I/O Support

If you run your program in an XC or XA virtual machine, you need to issue channel subsystem I/O instructions.

The best way to handle I/O to and from devices is to use the I/O macros in the CMS preferred interface.

The following table summarizes the macros CMS provides to help you write I/O code that works in an ESA XC or XA virtual machine:

Table 1. CMS Preferred Interface I/O Macros
Function Macros Reference
File management
  • FSCB
  • FSCBD
  • FSCLOSE
  • FSERASE
  • FSOPEN
  • FSPOINT
  • FSREAD
  • FSSTATE
  • FSWRITE
CMS File System
Console I/O
  • CONSOLE
  • APPLMSG
  • LINERD
  • LINEWRT
Console and Terminal I/O
Unit Record I/O
  • PRINTL
  • PUNCHC
  • RDCARD
Unit Record Devices and Tapes
Tape I/O
  • TAPESL
  • TAPCTL
  • RDTAPE
  • WRTAPE
Tape Handling Macros
I/O Interrupt Handling
  • HNDIO
  • WAITD
  • WAITT
Interrupt Handling