The S&P 500 opened largely flat and the Dow marginally higher on Wednesday, following upbeat results from Eli Lilly and Super Micro Computer, while investors avoided big bets on software and cloud stocks after a bruising selloff in the previous session.