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.