-- Be sure to declare variables output in
-- the execute line of the batch...
declare @input1 varchar(10)
declare @input2 varchar(10)
declare @output1 varchar(10)
declare @output2 varchar(10)
--
execute myProc @input1, @input2, @output1 output, @output2 output
--
-- Here's the proc declaration...
--
CREATE PROC myProc
@input1 varchar(10)
, @input2 varchar(10)
, @output1 varchar(10) output
, @output2 varchar(10) output
AS
BEGIN
-- Procedure...
END