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

Using REGIONAL(1) data sets

Dummy Records
Creating a REGIONAL(1) data set
Example
Accessing and updating a REGIONAL(1) data set
Sequential access
Direct access
Example

In a REGIONAL(1) data set, since there are no recorded keys, the region number serves as the sole identification of a particular record. The character value of the source key should represent an unsigned decimal integer that should not exceed 16777215 (although the actual number of records allowed can be smaller, depending on a combination of record size, device capacity, and limits of your access method. For direct regional(1) files with fixed format records, the maximum number of tracks which can be addressed by relative track addressing is 65,536.) If the region number exceeds this figure, it is treated as modulo 16777216; for instance, 16777226 is treated as 10. Only the characters 0 through 9 and the blank character are valid in the source key; leading blanks are interpreted as zeros. Embedded blanks are not allowed in the number; the first embedded blank, if any, terminates the region number. If more than 8 characters appear in the source key, only the rightmost 8 are used as the region number; if there are fewer than 8 characters, blanks (interpreted as zeros) are inserted on the left.


Terms of use | Feedback

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