London - England's Robert Rock was two shots clear of the field at the halfway stage of the Scottish Open after shooting a second-round 63 at Gullane on Friday.
Combined with his opening 64, that gave Rock a 36-hole total of 127, 13 under par, which left him two shots in front of compatriot Tyrrell Hatton and Sweden's Jens Dantorp.
England's Eddie Pepperell and 2015 champion Rickie Fowler of the United States were a further stroke back.
Meanwhile, former US Masters champion Trevor Immelman was on eight under par alongside first-round leader Luke List.
Rock, yet to drop a shot, is now well-placed to secure one of the three qualifying spots on offer for next week's British Open which this year takes place at another Scottish course in Carnoustie.
The 41-year-old was planning to attend the British Open - the only one of golf's four 'majors' played outside the United States - in his role as a coach but could now find himself doubling up.
"I've started well in a few tournaments recently but it's all about putting four rounds together and that's the challenge," said Rock, whose last European Tour title came in Abu Dhabi in 2012, where he played the final round alongside Tiger Woods and outscored him by two, with Rory McIlroy finishing runner-up.
"Getting into the Open is everything, but you have to focus on this event first and play the course here before that," Rock added.
"I hate missing the Open. I'll be there whatever happens as a coach but it's hard going just as a coach and not playing."
Hatton had been the clubhouse leader, having previously enjoyed success in Scotland by winning back-to-back Dunhill Links Championship titles in 2016 and 2017.
Pepperell finished fourth when the Scottish Open was last staged at Gullane three years ago and needs another top-10 spot this week to be in with a chance of taking one of the three qualifying places on offer for the British Open.
"I'm actually going to be commentating for BBC Five Live for a couple of days if I don't play," said Pepperell, who won his first European Tour title in Qatar earlier this season.
"Obviously I'd rather be playing but we'll just wait and see."
Scotland's Connor Syme set a new course record of 62 earlier Thursday only to see it broken later in the day by Japan's Hideto Tanihara, whose eagle and seven birdies in his opening 15 holes threatened to help him record the first 59 in European Tour history before he signed for a 61.
But five-time major winner Phil Mickelson missed the cut after finishing one under par, with the American - who on Thursday apologised for his controversial gesture in deliberately hitting a moving ball on the green at last month's US Open - saying: "I have some work to do on my game, I didn't play great. Now I'll have a couple of extra days to go over to Carnoustie and try to get it done."
Leading scores after the second round of the Scottish Open at Gullane on Friday (GBR and IRL unless stated, par 70):
127 - Robert Rock 64-63
129 - Tyrrell Hatton 65-64, Jens Dantorp (SWE) 64-65
130 - Eddie Pepperell 67-63, Rickie Fowler (USA) 64-66
131 - Li Haotong (CHN) 66-65, Alexander Bjork (SWE) 67-64, Scott Fernandez (ESP) 64-67, Lee Westwood 64-67
132 - Luke List (USA) 63-69, Sam Horsfield 67-65, Trevor Immelman (RSA) 68-64, Dylan Frittelli (RSA) 65-67, Aaron Rai 69-63
133 - Steven Brown 69-64, Soren Kjeldsen (DEN) 66-67, Charley Hoffman (USA) 67-66, Gonzalo Fernandez-Castano (ESP) 67-66, Hideto Tanihara (JPN) 72-61, Thongchai Jaidee (THA) 68-65, Marcel Siem (GER) 66-67, Justin Rose 67-66, Connor Syme 71-62, Ian Poulter 66-67, Russell Knox 66-67
134 - Matthieu Pavon (FRA) 67-67, Brandon Stone (RSA) 70-64, Jorge Campillo (ESP) 69-65, Julien Guerrier (FRA) 65-69, Danny Willett 66-68, James Morrison 69-65, Kiradech Aphibarnrat (THA) 69-65, Duncan Stewart 70-64, Jordan Smith 67-67, Benjamin Hebert (FRA) 69-65, Alexander Levy (FRA) 68-66, Matthew Fitzpatrick 68-66, Patrick Reed (USA) 65-69, Oliver Farr 69-65
135 - Graeme McDowell 69-66, Nicolas Colsaerts (BEL) 70-65, Ryan Fox (NZL) 67-68, Matthew Southgate 65-70, Choi Jin-Ho (KOR) 68-67, Scott Hend (AUS) 66-69, Adam Bland (AUS) 67-68, Dean Burmester (RSA) 68-67, Christiaan Bezuidenhout (RSA) 69-66, Justin Walters (RSA) 66-69