A generic operations framework for a distribution company (disco) operating in a competitive electricity market environment is presented in this paper. The operations framework is a two-stage hierarchical model in which the first deals with disco's activities in the day-ahead stage, the day ahead operations model (DAOM). The second deals with disco's activities in real-time and is termed real-time operations model (RTOM). The DAOM determines the disco's operational decisions on grid purchase, scheduling of distributed generation (DG) units owned by it, and contracting for interruptible load. These decisions are imposed as boundary constraints in the RTOM and the disco seeks to minimize its short-term costs keeping in mind its day-ahead decisions. A case-study is presented considering the well-known 33-bus distribution system and three different scenarios are constructed to analyze the disco's actions and decision-making in this context.