The i5/OS™ DDM user can access remote CICS® files with PL/I programs.
When opening the file with the RECORD file attribute, the program must use the file attributes specified in the table below. By noting the values that appear in this table, you can determine the difference between accessing an iSeries™ database file and a remote VSAM data set.
Unless the CICS system has replaced the CICS/DDM exclusive file locking program, you cannot use the EXCL and EXCLRD file locking options for the ENVIRONMENT parameter when opening a remote VSAM data set.
PL/I file attributes | VSAM data set organization | |||
---|---|---|---|---|
ESDS | RRDS | KSDS | VSAM Path | |
SEQUENTIAL | R | O | O | O |
DIRECT | E | O | O | O |
SEQL KEYED | E | O | O | O |
INPUT | O | O | O | O |
OUTPUT | O | O | O | E |
UPDATE | O | O | E | E |
CONSECUTIVE | R | R | E | E |
INDEXED | – | – | R | R |
Where:
|