To generate a COBOL wrapper for a SQL CLR stored procedure
- From the Visual Studio IDE, open a project that contains a SQL CLR stored procedure definition (.spd) file, or add a stored procedure definition file to an open Database project that contains a SQL CLR stored procedure.
- Right-click the stored procedures definition 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.