The astrologer tells Malloy he is a Leo, and guesses his birth date as July 23rd, to which he agrees. Later Reed realizes Malloy's birthday is in October. Martin Milner's actual birthday is in December. Malloy just said what he did to make the astrologer happy.
Code 5 = stakeout.
Code 2 = urgent, no lights or siren.