Previous Topic: Housekeeping FunctionsNext Topic: Binding Records


Establishing a Database Session

The BIND RUN UNIT function initiates a database session, called a run unit, for navigational access to CA IDMS data. A run unit begins with the BIND RUN UNIT function and ends when a FINISH or ROLLBACK function is executed.

In addition to initiating a database session, the BIND RUN UNIT function also establishes addressability to the IDMS communications block, an area in the program's variable storage into which CA IDMS returns information that is pertinent to the services it performs for the program. Among the information returned is a status indicating the success or failure of each executed DML function.