CMS file system
The CMS file system is the native file system of IBM's Conversational Monitor System (CMS), a component of VM.[src] It was the only file system for CMS until the introduction of the CMS Shared File System (SFS) with VM/SP.[src]
The CMS file system is the native file system of IBM's Conversational Monitor System (CMS), a component of VM.[src] It was the only file system for CMS until the introduction of the CMS Shared File System (SFS) with VM/SP.[src] == Minidisks== CP-67 and VM allow an installation to divide a disk volume into virtual disks called minidisks.[src] A minidisk may be a CMS minidisk, initialized with the CMS file system.[src] Other minidisks might be formatted for use by, e.g., OS/360, but these are not CMS minidisks even if they are assigned to a CMS virtual machine.[src] A CMS virtual machine can have up to ten minidisks accessed at one time .[src] The user references the minidisks by a letter, part of a field called the .[src] The S disk contains CMS system files and is read-only; the Y disk is usually an extension of S.[src] The read/write A disk contains user files such as customization data, program sources, and executables.[src] Other drive letters B through Z can contain data as defined by the user.[src] If a file is opened without a letter specified ( FILENAME FILETYPE * ) the disks will be searched in alphabetic order.[src] The second character of the is a number indicating read, write, and sharing attributes.[src] The ACCESS command is used to access a minidisk.[src] For example: ACCESS 191 A would access the virtual disk assigned to this user as unit "191" (virtual channel and unit address) as minidisk "A".[src] A CMS minidisk in early versions of CMS is formatted into 800-byte blocks.[src] Later versions of CMS allow minidisks formatted as 1024-, 2048-, or 4096-byte blocks, which increased the limits described here to 2 31 disk blocks and 2 31 records.[src] The first two blocks on a minidisk are reserved for IPL.[src] The third block contains the label identifying the minidisk.[src] The fourth block, called the Master File Directory or MFD, is the directory header for the minidisk.[src] The MFD also contains a bitmap called QMSK indicating the status of each 800-byte block on disk, used for allocation.[src] Following the MFD all record types may be scattered and intermixed on a disk.[src] ==File system structure== CMS uses a flat file system.[src] The MFD contains an array of disk addresses of blocks containing File Status Table (FST) (directory) entries.[src] Each FST block contains twenty 40-byte FST entries, each describing a file.[src] The contents of one FST entry are: The FST entry points to the first chain link block for the file.[src] The first chain link block contains the disk addresses of up to 40 additional chain link blocks, followed by the disk addresses of up to 60 data blocks.[src] The remaining chain link blocks each contain the disk addresses of up to 400 data blocks.[src] this results in a maximum size of 16,060 800-byte blocks, or 12,848,000 bytes, for any CMS file.[src] The maximum number of records in one file is 65,533.[src] Records are usually called items in CMS terminology.[src] CMS files can have either fixed or variable record format; record types may not be mixed in a file.[src] For fixed-length records the length is defined by FSTLRECL, and the location of any fixed-length record can be computed by (item_number-1) * record_length/800.[src] The quotient will be the block number and the remainder will be the offset of the item in the block.[src] Variable-length records have a maximum length of FSTLRECL bytes, and are preceded by a two-byte record length field indicating the actual length.[src] In 1979, Virtual Machine/System Extensions (VM/SE or SEPP) Release 2 and Virtual Machine/Basic System Extensions (VM/BSE or BSEPP) Release 2 provided an enhancement to the original CMS file system, called Enhanced Disk Format (EDF), that allows larger files by expanding the FST and introducing multiple levels of chain link blocks.[src] ==See also== IBM System/360 architecture ESA/390 z/Architecture ==Notes== ==References==[src]
38 sentences · 38 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"CMS file system." encyclopegia.org, 2026, https://encyclopegia.org/wiki/cms-file-system. Accessed 27 November 2026.
Chicago
"CMS file system." encyclopegia.org. Accessed November 27, 2026. https://encyclopegia.org/wiki/cms-file-system.
APA
encyclopegia.org. (2026). CMS file system. Retrieved November 27, 2026, from https://encyclopegia.org/wiki/cms-file-system
Accessed November 27, 2026 · CC BY-SA 4.0 · citation page · JSON