When all data has been processed the Database Interface Routines should be de-activated by calling DISTP. Routine DISTP attempts to leave the FEMVIEW database tidy before closing it. Errors are checked for and cleared up appropriately, outstanding datasets are processed into the database and the FEMVIEW display datasets built if necessary.