11.01.2013 Views

ABCs of z/OS System Programming Volume 3 - IBM Redbooks

ABCs of z/OS System Programming Volume 3 - IBM Redbooks

ABCs of z/OS System Programming Volume 3 - IBM Redbooks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Extended format data sets<br />

A special type <strong>of</strong> this organization is the extended format data set. Extended format data sets<br />

have a different internal storage format from sequential data sets that are not extended (fixed<br />

block with a 32-byte suffix). This storage format gives extended format data sets additional<br />

usability and availability characteristics, as explained here:<br />

► They can be allocated in the compressed format (can be referred to as a compressed<br />

format data set). A compressed format data set is a type <strong>of</strong> extended format data set that<br />

has an internal storage format that allows for data compression.<br />

► They allow data striping, that is, a multivolume sequential file where data can be accessed<br />

in parallel.<br />

► They are able to recover from padding error situations.<br />

► They can use the system managed buffering (SMB) technique.<br />

Extended format data sets must be SMS-managed and must reside on DASD. You cannot<br />

use an extended format data set for certain system data sets.<br />

z/<strong>OS</strong> UNIX files<br />

Another type <strong>of</strong> this organization is the Hierarchical File <strong>System</strong> (HFS). HFS files are<br />

P<strong>OS</strong>IX-conforming files that reside in an HFS data set. They are byte-oriented rather than<br />

record-oriented, as are MVS files. They are identified and accessed by specifying the path<br />

leading to them. Programs can access the information in HFS files through z/<strong>OS</strong> UNIX<br />

system calls, such as open(pathname), read(file descriptor), and write(file descriptor).<br />

Programs can also access the information in HFS files through the MVS BSAM, QSAM, and<br />

VSAM (Virtual Storage Access Method) access methods. When using BSAM or QSAM, an<br />

HFS file is simulated as a multi-volume sequential data set. When using VSAM, an HFS file is<br />

simulated as an ESDS. Note the following point about HFS data sets:<br />

► They are supported by standard DADSM create, rename, and scratch.<br />

► They are supported by DFSMShsm for dump/restore and migrate/recall if DFSMSdss is<br />

used as the data mover.<br />

► They are not supported by IEBCOPY or the DFSMSdss COPY function.<br />

QSAM and BSAM<br />

BSAM arranges records sequentially in the order in which they are entered. A data set that<br />

has this organization is a sequential data set. The user organizes records with other records<br />

into blocks. This is basic access. You can use BSAM with the following data types:<br />

► Basic format sequential data sets, which before z/<strong>OS</strong> V1R7 were known as sequential<br />

data sets, or more accurately as non-extended-format sequential data sets<br />

► Large format sequential data sets<br />

► Extended-format data sets<br />

► z/<strong>OS</strong> UNIX files<br />

QSAM arranges records sequentially in the order that they are entered to form sequential<br />

data sets, which are the same as those data sets that BSAM creates. The system organizes<br />

records with other records. QSAM anticipates the need for records based on their order. To<br />

improve performance, QSAM reads these records into storage before they are requested.<br />

This is called queued access. You can use QSAM with the following data types:<br />

► Sequential data sets<br />

► Basic format sequential data sets before z/<strong>OS</strong> V1R7, which were known as sequential<br />

data sets or more accurately as non-extended-format sequential data sets<br />

► Large format sequential data sets<br />

► Extended-format data sets<br />

► z/<strong>OS</strong> UNIX files<br />

Chapter 4. Storage management s<strong>of</strong>tware 155

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!