Rational Developer for System z
Enterprise PL/I for z/OS, Version 3.8, Language Reference Manual

SAMEKEY

SAMEKEY returns a bit string of length 1 indicating whether a record that has been accessed is followed by another with the same key.

Read syntax diagramSkip visual syntax diagram>>-SAMEKEY(x)--------------------------------------------------><
 
x
File reference. The file must have the RECORD attribute.

Upon successful completion of an input/output operation on file x, or immediately before the RECORD condition is raised, the value accessed by SAMEKEY is set to '1'B if the record processed is followed by another record with the same key, and set to '0'B if it is not.

The value accessed by SAMEKEY is also set to '0'B if:


Terms of use | Feedback

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