Previous Topic Next topic Print topic


To generate a COBOL wrapper for a SQL CLR stored procedure

  1. 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.
  2. Right-click the stored procedures definition file, and select Properties.
  3. In the Custom Tool field, type SPDFileCodeGenerator.
  4. Save the project and close the Properties window.
  5. 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.
Previous Topic Next topic Print topic