Consider a straight wire that runs from $z=-\infty$ to $z=0$ that has a steady current flowing $I$. At the location where the wire terminates, charge builds up, $Q(t)$. The goal of this problem is to find the magnetic field everywhere.