Rational Developer for System z
COBOL for Windows, Version 7.5, Programming Guide


Random access

For random access, code ACCESS IS RANDOM in the FILE-CONTROL paragraph.

For indexed files, records are accessed according to the value you place in a key field (primary, alternate, or relative). There can be one or more alternate indexes.

For relative files, records are accessed according to the value you place in the relative key.

related concepts
Sequential access
Dynamic access


Terms of use | Feedback

Copyright IBM Corporation 1996, 2008.
This information center is powered by Eclipse technology. (http://www.eclipse.org)