Wall St edges up as year end approaches, S&P nears record cl