Starting from the necessities of setting up a statistical data base, in the first part of the study, the author presents a description of the functions of an “ideal” coding system for large files. Further, algorithms with an original inter-active method for the creation and maintenance of codes are described.