A program residing in an authorized program facility (APF) library that controls the flow of a predefined set of events.