Thank you Dwain,
True what you say.
I was trying not to use DROP per various blogs herein. Since posting I have done it this way.
SET ANSI_NULLS ON
SET QUOTED_IDENTIFIER ON
declare @S VARCHAR (16), @A varchar (8), @B varchar (MAX)
if object_id(@S,'P') is not null
set @B = ' PROCEDURE [dbo].[' + @S + ']