The U.S. dollar erased earlier gains against most major currencies on Monday, but maintained sharp rise versus the Japanese yen after Standard & Poor\'s upgraded U.S. credit outlook from \"negative\" to \"stable.\"