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

Defining files for workstation VSAM data sets

You define a workstation VSAM sequential data set by using a file declaration with the following attributes:

  dcl Filename file record
               input | output | update
               sequential
               buffered
              [keyed]
               environment(organization(consecutive));

You define a workstation VSAM keyed data set by using a file declaration with the following attributes:

  dcl Filename file record
               input | output | update
               sequential | direct
               buffered | unbuffered
              [keyed]
               environment(organization(indexed));

You define a workstation VSAM direct data set by using a file declaration with the following attributes:

  dcl Filename file record
               input | output | update
               direct | sequential
               unbuffered | buffered
              [keyed]
               environment(organization(relative));

The file attributes are described in the PL/I Language Reference for this product. Options of the ENVIRONMENT attribute are discussed below.


Terms of use | Feedback

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