Partitioned Datasets
For example, a PDS or Partitioned Data Set is a dataset containing multiple members, each of which holds a separate sub-data set, similar to a directory in other types of file systems. This type of dataset is often used to hold executable programs (load modules), source program libraries (especially Assembler macro definitions). A PDS may be compared to a Zip file or COM Structured Storage.
The Partitioned Data Set can only allocate on a single volume with the maximum size of 65536 tracks.
Besides members, a PDS consists also of their directory. Each member can be accessed directly using the directory structure. Once a member is located, the data stored in that member is handled in the same manner as a PS (sequential) data set.
Whenever a member is deleted, the space it occupied is unusable for storing other data. Likewise, if a member is re-written, it is stored in a new spot at the back of the PDS and leaves wasted “dead” space in the middle. The only way to recover “dead” space is to perform frequent file compression, that moves all members to the front of the data space and leaves free usable space at the back. (Note that in modern parlance, this kind of operation might be called defragmentation or garbage collection; data compression nowadays refers to a different, more complicated concept.) PDS files can only reside on disk in order to use the directory structure to access individual members, not on tape. They are most often used for storing multiple JCL files, utility control statements and executable modules.
An improvement of this scheme is a Partitioned Data Set Extended (PDSE or PDS/E, sometimes just libraries) introduced with MVS/XA system.
PDS/E structure is similar to PDS and is used to store the same types of data. However, PDS/E files have a better directory structure which does not require pre-allocation of directory blocks when the PDS/E is defined (and therefore does not run out of directory blocks if not enough were specified). Also, PDS/E automatically stores members in such a way that compression operation is not needed to reclaim "dead" space. PDS/E files can only reside on disk in order to use the directory structure to access individual members.
Read more about this topic: Data Set (IBM Mainframe)
Famous quotes containing the word partitioned:
“The landscape was clothed in a mild and quiet light, in which the woods and fences checkered and partitioned it with new regularity, and rough and uneven fields stretched away with lawn-like smoothness to the horizon, and the clouds, finely distinct and picturesque, seemed a fit drapery to hang over fairyland. The world seemed decked for some holiday or prouder pageantry ... like a green lane into a country maze, at the season when fruit-trees are in blossom.”
—Henry David Thoreau (18171862)