Previous Topic Next topic Print topic


COBOL Wrapper Programs

When creating or migrating SQL CLR applications with COBOL stored procedures that use COBOL data type parameters, you must provide Visual COBOL with a Stored Procedure Definition (SPD) file that defines your stored procedure. The SPD file is used to generate a COBOL wrapper program that converts COBOL data type parameters to their equivalent .NET data type parameters, which are required in the SQL CLR environment.

The wrapper program calls your stored procedure intact, insuring that all input and output parameters are translated appropriately between the .NET SQL CLR environment and COBOL.

For more information on stored procedures and data type parameters, and to assist you in determining what data type parameters you should use in your COBOL stored procedures, see Data Type Parameters in COBOL and SQL CLR Stored Procedures.

Previous Topic Next topic Print topic