Still struggling with Merge Statement syntax

I'm trying to implement a Merge of data from several views in my database into a table used for reporting.  I'm attempting to do an insert or an update by I'm getting the error:  

Msg 102, Level 15, State 1, Line 16
Incorrect syntax near 'S'.
Declare @FromDate as datetime2
Declare @SummaryOfChanges Table(Change varchar(20))

Set @FromDate = '2015-07-10'

MERGE tbl_P2_Staging_Production_and_Runs as Target
SELECT * FROM vw_P2_prod_and_Alloc_Gas
WHERE RecordDate >= ISNULL(@FromDate, '2015-06-01')
) as S
ON (Target.Bolo_ID = S.Bolo_ID) AND (Target.ProductionDate = S.ProductionDate)
    INSERT (Bolo_ID, ProductionDate, RecordDate, EstGasVolMCF, 
            AllocGasVolMCF, EstGasVolMMBTU, AllocGasVolMMBTU)
    VALUES (S.Bolo_ID, S.ProductionDate, S.RecordDate, S.EstGasVolMCF
            S.AllocGasVolMCF, S.EstGasVolMMBTU, S.AllocGasVolMMBTU)
        Target.EstGasVolMCF = S.EstGasVolMCF
      , Target.AllocGasVolMCF = S.EstGasVolMCF
      , Target.EstGasVolMMBTU = S.EstGasVolMMBTU
      , Target.AllocGasVolMMBTU = S.AllocGasVolMMBTU
Output $Action into @Summaryofchanges;

SELECT * FROM @SummaryOfChanges 

Open in new window

I cannot figure out what I'm doing wrong here.
LVL 52
Dale FyeOwner, Developing Solutions LLCAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Kent OlsenDBACommented:
Put a comma at the end of line 15.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Dale FyeOwner, Developing Solutions LLCAuthor Commented:

I hate it when it is as simple as that!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server 2008

From novice to tech pro — start learning today.