Rational Developer for System z
Enterprise PL/I for z/OS, Version 3.8, Programming Guide

Defining and using VSAM data sets

Using VSAM data sets
How to run a program with VSAM data sets
Pairing an Alternate Index Path with a File
VSAM organization
Keys for VSAM data sets
Keys for indexed VSAM data sets
Relative byte addresses (RBA)
Relative record numbers
Choosing a data set type
Defining files for VSAM data sets
Specifying ENVIRONMENT options
BKWD option
BUFND option
BUFNI option
BUFSP option
GENKEY option
PASSWORD option
REUSE option
SKIP option
VSAM option
Performance options
Defining Files for Alternate Index Paths
Defining VSAM data sets
Entry-sequenced data sets
Loading an ESDS
Using a SEQUENTIAL file to access an ESDS
Defining and loading an ESDS
Updating an ESDS
Key-sequenced and indexed entry-sequenced data sets
Alternate Indexes for KSDSs or Indexed ESDSs
Relative-record data sets
Using Files Defined for non-VSAM Data Sets
Using Shared Data Sets

This chapter covers VSAM (the Virtual Storage Access Method) organization for record-oriented data transmission, VSAM ENVIRONMENT options, compatibility with other PL/I data set organizations, and the statements you use to load and access the three types of VSAM data sets that PL/I supports—entry-sequenced, key-sequenced, and relative record. The chapter is concluded by a series of examples showing the PL/I statements, Access Method Services commands, and JCL statements necessary to create and access VSAM data sets.

Enterprise PL/I provides no support for ISAM datasets.

For additional information about the facilities of VSAM, the structure of VSAM data sets and indexes, the way in which they are defined by Access Method Services, and the required JCL statements, see the VSAM publications for your system.


Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)