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

Specifying ENVIRONMENT options

The ENVIRONMENT options applicable to regional data sets are:

REGIONAL({1})
F
RECSIZE(record-length)
BLKSIZE(block-size)
SCALARVARYING

REGIONAL option

Use the REGIONAL option to define a file with regional organization.

Read syntax diagramSkip visual syntax diagram>>-REGIONAL--(--1--)-------------------------------------------><
 
1
specifies REGIONAL(1)
REGIONAL(1)
specifies that the data set contains F-format records that do not have recorded keys. Each region in the data set contains only one record; therefore, each region number corresponds to a relative record within the data set (that is, region numbers start with 0 at the beginning of the data set).

Although REGIONAL(1) data sets have no recorded keys, you can use REGIONAL(1) DIRECT INPUT or UPDATE files to process data sets that do have recorded keys.

RECSIZE(record-length)
BLKSIZE(block-size)
If both RECSIZE and BLKSIZE are specified, they must specify the same value.

REGIONAL(1) organization is most suited to applications where there are no duplicate region numbers, and where most of the regions will be filled (reducing wasted space in the data set).


Terms of use | Feedback

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