The combination of narrow linewidth and wide band tunability makes the Josephson flux flow oscillator ͑FFO͒ a perfect on-chip local oscillator for integrated sub-mm wave receivers for, e.g., spectral radio astronomy. The feasibility of phase locking the FFO to an external reference oscillator is demonstrated experimentally. A FFO linewidth as low as 1 Hz ͑determined by the resolution bandwidth of the spectrum analyzer͒ has been measured in the frequency range 270-440 GHz relative to a reference oscillator. This linewidth is far below the fundamental level given by shot and thermal noise of the free-running tunnel junction. The results of residual FFO phase noise measurements are also presented. Finally, we propose a single-chip fully superconductive receiver with two superconductor-insulator-superconductor mixers and an integrated phase-locked loop.