The agent is incorrect that earning to a programme is only for the entire journey; earning can be different segnemt by segment
I think it may have an issue in that AA will check with FJ and it will confirm that AS was the airline where credit was requested - that AS gave zero credit is an AS issue