Previous Topic: BIND RUN-UNIT StatementNext Topic: READY Statement


BIND RECORD Statement

Before a record can be accessed, you must bind it to a specific location in variable storage by issuing a BIND RECORD function. To do this, you either:

The following example binds the DEPARTMENT and EMPLOYEE records to their respective locations in variable storage.

BIND DEPARTMENT.
PERFORM IDMS-STATUS.
BIND EMPLOYEE.
PERFORM IDMS-STATUS.