Nearby and vanishing cycles for D-modules (III)