CMS file system: Difference between revisions

Content deleted Content added
Line 4:
CMS uses [[virtual disk]]s called ''minidisks'' to store files. A minidisk is a contiguous subset of a real disk which functions like a real disk. VM allows minidiaks to contain various types of data such as [[OS/360]] or [[DOS/360]] datasets as well as CMS-formatted data.
 
A CMS virtual machine can have up to ten minidisks accessed during one session. The user references the minidisks by a letter, part of a field called the ''filemode''. The ''S'' disk contains CMS system files and is read-only. The ''A'' disk contains user files such as customization data, program sources, and executables. Other drive letters ''B'' through ''Z'' can contain data as defined by the user. If a file is opened without a filemode letter specified (<code> FILENAME FILETYPE *</code>) the disks will be searched in alphabetic order. The second character of the filemode is a number indicating read, write, and sharing attributes.<ref name="IBMKB">{{cite web|last1=IBM Corporation|title=File Mode Letters and Numbers|url=https://www.ibm.com/support/knowledgecenter/SSB27U_6.2.0/com.ibm.zvm.v620.dmsb3/letnums.htm|website=IBM Knowledge Center|accessdate=August 3, 2016}}</ref> A CMS minidisk is formatted into 800-byte [[block (data storage)|blocks]].
 
Later versions of CMS allowed minidisks formatted as 1024-, 2048-, or 4096-byte blocks, which increased the limits described here by 2**311132,000 disk blocks and 2<sup>31</sup>-records.<ref>{{cite book|last1=IBM Corporation|title=I BM Virtual Machine Facility/370: CMS User's Guide|date=March 1979|page=83|url=http://bitsavers.trailing-edge.com/pdf/ibm/370/VM_370/Release_6/GC20-1819-2_IBM_Virtual_Machine_Facility_370_CMS_Users_Guide_Rel_6_PLC_1_Mar79.pdf|accessdate=August 3, 2016}}</ref>