Rational Developer for System z
PL/I for Windows, Version 8.0, Programming Guide

Defining and using workstation VSAM data sets

Moving data between the workstation and mainframe
Workstation VSAM organization
Creating and accessing workstation VSAM data sets
Determining which type of workstation VSAM data set you need
Accessing records in workstation VSAM data sets
Using keys for workstation VSAM data sets
Using keys for workstation VSAM keyed data sets
Using sequential record values
Using relative record numbers
Choosing a data set type
Defining files for workstation VSAM data sets
Specifying options of the PL/I ENVIRONMENT attribute
Adapting existing programs for workstation VSAM
Adapting programs using CONSECUTIVE files
Adapting programs using INDEXED files
Adapting programs using REGIONAL(1) files
Adapting programs using VSAM files
Using workstation VSAM sequential data sets
Using a sequential file to access a workstation VSAM sequential data set
Defining and loading a workstation VSAM sequential data set
Updating a sequential data set
Workstation VSAM keyed data sets
Loading a workstation VSAM keyed data set
Using a SEQUENTIAL file to access a workstation VSAM keyed data set
Using a DIRECT file to access a workstation VSAM keyed data set
Workstation VSAM direct data sets
Loading a workstation VSAM direct data set
Using a SEQUENTIAL file to access a workstation VSAM direct data set
Using READ statements
Using WRITE statements
Using the REWRITE or DELETE statements
Using a DIRECT file to access a workstation VSAM direct data set

This chapter describes how you use Virtual Storage Access Method (VSAM) data sets on your workstation--including Distributed Data Management (DDM), ISAM, and BTRIEVE data sets--for record-oriented data transmission.

Platform distinction

Three access methods are discussed in connection with the PL/I workstation products; however, not all three methods are supported on every platform. Use the following as a guideline:

This chapter also describes the statements you use to access the three types of VSAM data sets--sequential, keyed, and direct. In many ways, workstation VSAM is similar to the VSAM on the mainframe. On the workstation, the terms sequential, keyed and direct are similar to the VSAM entry-sequenced data set, key-sequenced data set, and relative record data set.

The chapter concludes with a series of examples showing the PL/I statements and DD:ddname environment variables necessary to create and access workstation VSAM data sets.


Terms of use | Feedback

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