Peer Kohl's Corp KSS.N advanced 10.6% after raising its forecast. By David French NEW YORK, Nov 18 (Reuters) - Both the S&P 500 and the Nasdaq eked out record closing highs after a topsy-turvy Thursday on Wall Street, as investors focused on upbeat retail and technology earnings which outshone hawkish inflation comments from a Federal Reserve policymaker. The S&P consumer discretionary sector .SPLRCD led gains among its peers, ascending 1.5% as positive retail earnings from Macy's and Kohl's joined upbeat reports from Walmart Inc WMT.N and Target Corp TGT.N earlier this week.