Imperative Macros (Sequential Access Method I/O Macros)

CMS/DOS supports the following imperative macros:
  • Initialization macros: OPEN and OPENR
  • Processing macros: GET, PUT, PUTR, RELSE, TRUNC, CNTRL, ERET, and PRTOV.
    Note: No code is generated for the CHNG macro.
  • Work file macros for tape and disk: READ, WRITE, CHECK, NOTE, POINTR, POINTW, and POINTS.
  • Completion macros: CLOSE and CLOSER.

CMS/DOS supports workfiles containing fixed-length unblocked records and undefined records. Disk work files are supported as single volume, single pack files. Normal extents and split extents are both supported.