It is possible to use the waveform data not only to derive the source mechanism of an earthquake but also to establish the hypocentral coordinates of the ‘best point source’ (the centroid of the stress glut density) at a given frequency. Thus two classical problems of seismology are combined into a single procedure. Given an estimate of the origin time, epicentral coordinates and depth, an initial moment tensor is derived using one of the variations of the method described in detail by Gilbert and Dziewonski (1975). This set of parameters represents the starting values for an iterative procedure in which perturbations to the elements of the moment tensor are found simultaneously with changes in the hypocentral parameters. In general, the method is stable, and convergence rapid. Although the approach is a general one, we present it here in the context of the analysis of long-period body wave data recorded by the instruments of the SRO and ASRO digital network. It appears that the upper magnitude limit of earthquakes that can be processed using this particular approach is between 7.5 and 8.0; the lower limit is, at this time, approximately 5.5, but it could be extended by broadening the passband of the analysis to include energy with periods shorter that 45 s. As there are hundreds of earthquakes each year with magnitudes exceeding 5.5, the seismic source mechanism can now be studied in detail not only for major events but also, for example, for aftershock series. We have investigated the foreshock and several aftershocks of the Sumba earthquake of August 19, 1977; the results show temporal variation of the stress regime in the fault area of the main shock. An area some 150 km to the northwest of the epicenter of the main event became seismically active 49 days later. The sense of the strike-slip mechanism of these events is consistent with the relaxation of the compressive stress in the plate north of the Java trench. Another geophysically interesting result of our analysis is that for 5 out of 11 earthquakes of intermediate and great depth the intermediate principal value of the moment tensor is significant, while for the remaining 6 it is essentially zero, which means that their mechanisms are consistent with a simple double-couple representation. There is clear distinction between these two groups of earthquakes.