The File System The Conversational Monitor System interfaces with virtual disks, tapes,
and unit record equipment. The CMS residence device is kept as a
read-only, shared, system disk. Permanent user files may be accessed from up to nine active disks. Logical access to those virtual disks is
controlled by CMS, while CP facilities manage the device sharing and
virtual-to-real mapping. User files in CMS are identified with three designators. The first
is filename. The second is a filetype designator that may imply specific file characteristics to the CMS file .anagement routines$ The
third is a filemode designator that describes the location and access mode of the file.
The compilers available under eMS default to particular input
filetypes, such as ASSEMBLE, but the file manipulation and listing
commands do not. Files of a particular filetype form a logical data
library for a user; for example, the collection of all COBOL source
files, or of all object (TEXT) decks, or of all EXEC procedures. This
allows selective handling of specific groups of files with minimum input by the user. User files can be created directly from the terminal with the CftS EDIT facility. EDIT provides extensive context editing services. Pile characteristics such as record length and format, tab locations, and
serialization options can be specified. The system includes standard
definitions for certain filetypes. eMS automatically allocates compiler work files at the beginning of command execution on whichever active disk has the greatest amount of
available space, and deallocates them at completion. Compiler object
decks and listing files are normally allocated on the same disk as the
input source file or on the primary read/write disk, and are identified by combining the input filename with the filetypes TEXT and LISTING. These disk locations may be overridden by the user. 1 single user file is limited to a maximum of 65533 records and must reside on one virtual disk. The file management system limits the number of files on anyone virtual disk to 3400. All CftS disk files are
written as aOO-byte records, chained together by a specific file entry
that is stored in a table called the Master File Directory; a separate Master File Directory is kept for, and on, each virtual disk. The data
records may be discontiguous, and are allocated and deallocated
automatically. 1 subset of the Master File Directory (called the User File Directory) is made resident in virtual storage when the disk
directory is made available to CMS; it is updated on the virtual disk at
least once per command if the status of any file on that disk has been
changed. Virtual disks may be shared by eMS users; the facility is provided by YM/370 to all virtual .achines, although a user interface is directly
available in CMS commands. Specific files may be spooled between
virtual machines to accomplish file transfer between users. Commands allow such file manipulations as writing from an entire disk or from a
specific disk file to a tape, printer, punch, or the terminal. Other commands write from a tape or virtual card reader to disk, rename files,
copy files, and erase files.· Special macro libraries and text or program libraries are provided by CMS, and special commands are provided
to update and use them. eMS files can be written onto and restored from unlabeled tapes via CMS commands. Multiple write access under eMS can produce unpredictable
results.
2-4 IBM VM/370 System Logic and Program Determination--Volume 2
Problem programs which execute in CMS can create files on unlabeled
tape in any record and block size; the record format can be fixed,
variable, or undefined. Figure 1 describes the CMS file system.
Program Development
The Conversational Monitor System includes commands to create and compile source programs, to modify and correct source programs, to build
test files, to execute test programs and to debug from the terminal.
The commands of CMS are especially useful for as and DOS/VS program
development, but also may be used in combination with other operating systems to provide a virtual machine program development tool. CMS utilizes the as and DOS/VS compilers via interface modules; the compilers themselves normally are not changede In order to provide
suitable interfaces, CMS includes a certain degree of as and DOS/VS simulation. The sequential, direct, and partitioned access methods are
logically simulated; the data are physically kept in the chained SOO-byte blocks that are standard to CMS, and are processed internally
to simulate as data set characteristics. CMS supports VSAM catalogs,
data spaces, and files on as and DOS disks using the DOS/VS Access Method Services. as Supervisor Call functions such as GETMAIN/FREEMAIN and TIME are simulated. The simulation restrictions concerning what
types of as object programs can be executed under CMS are primarily
related to the as/pcP, MFT, and MVT Indexed sequential Access Method (ISAM) and the telecommunications access methods, while functions
related to multitasking in as and DOS/VS are ignored by CMS. For more
information, see "as Macro simulation under CMS" and "DOS/VS Support under CMS." CMS Introduction 2-5
Previous Page Next Page