The first step in the CCD reduction is the storage of the data on disk. The MIDAS FITS reader INTAPE/FITS provides this functionality. The data probably will contain frames of different exposure type (biases, darks, flat fields, science frames, etc), and possibly obtained with different filters. After the INTAPE/FITS command these different frames are stored on disk. The second step is to inspect the data, to define a set of criteria to select the science frames and their associated calibration frames, and to use the MIDAS Data Organizer to do the selection and to create the CCD association table.