In MVS we have roughly 3 types of files:
These are like text files. They basically consist of a group of records. These are stored in the physical storage device in the form of blocks. Each block will contain 1 or more records without any spacing in between 2 records. A file will contain 1 or more blocks with spacing between the blocks.
2. Libraries (called PDS- partitioned datasets)
A PDS is a group of ordinary files clubbed together for convenience (the ordinary files in a PDS are called members). Every library will have a directory which contains the names of all its members and also pointers to those members.
3. VSAM files
You might have heard a lot about catalogs.
Catalog is used to store the name and location of every dataset present on the computer. For the location, it will contain information about which volume (tape cartridge/ disk pack etc.) the dataset is stored in. So when MVS has to search for a dataset it would go to the catalog, get the volume info and if it is a tape then it would check the label on the tape for that dataset. If the catalog points to a diskpack (DASD), MVS would go to that volume and check the VTOC (volume table of contents) of the DASD. Every diskpack has a VTOC (which is like the table of contents of a book – it contains the names of all datasets stored in it along with the track information). So MVS will get the track of the dataset from the VTOC and then access the dataset. We have 2 types of catalogs in MVS:
The system catalog will contain all info related to the operating system (MVS), procedure libraries, OS files etc.
Did you know that SMS stands for Storage Management Subsytem (more on this in later editions).
Copyright © 2020 Sethu Subramanian All rights reserved. Reach me via email at ssbell @ gmail.com