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

Using relative record numbers

Records in a direct data set are identified by a relative record number that starts at 1 and is incremented by 1 for each succeeding record. You can use these relative record numbers as keys for keyed access to the data set.

Keys used as relative record numbers are character strings of length 10. The character value of a source key you use in the KEY or KEYFROM option must represent an unsigned integer. If the source key is not 10 characters long, it is truncated or padded with blanks (interpreted as zeros) on the left. The value returned by the KEYTO option is a character string of length 10, with leading zeros suppressed.


Terms of use | Feedback

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