Note: This task is required only when you have manually added a stored procedure definition (SPD) file to SQL Server Database project.
               Otherwise, if you create an SPD file directly from the project, 
               		Visual COBOL generates the COBOL wrapper program automatically when you save the completed SPD file. 
               		
               	 
            
            	 
             
               		
               - In Visual Studio, open a SQL Server Database project that contains a SQL CLR stored procedure and Stored Procedure Definition
                  (.spd) file, or add an existing SPD file to a SQL Server Database project that contains a SQL CLR stored procedure. 
                  		
               
- Right-click the SPD file, and select 
                  		  Properties. 
                  		
               
- In the 
                  		  Custom Tool field, type 
                  		  SPDFileCodeGenerator. 
                  		
               
- Save the project and close the 
                  		  Properties window. 
                  		
               
- From the Solution Explorer, right-click the stored procedures definition file, and select 
                  		  Run Custom Tool. This generates the COBOL wrapper code, adding it to the project as the file 
                  		  SPDName.mssp.cbl.