SQL Server does not support labeled duration calculations directly. HCOSS handles the conversion to T-SQL to implement the DB2 syntax of an EXEC SQL statement using labeled durations.
This tutorial also demonstrates binding the application using a post-build event in Visual Studio.
The Visual Studio solution we provide for this tutorial contains two HCOSS projects. The he LBLDURATION project is a native COBOL project. The MLBLDURATION project is a .NET COBOL project. However, the COBOL code is the same in both projects.
The solution also contains the LBLDURATION.cbl program, which is a COBOL SQL program that converts calculations.
The demonstration Visual Studio solution and its components are located in the %PUBLIC%\Documents\Micro Focus\Enterprise Developer\Samples\Mainframe\SQL\hcoss\LBLDURATION directory by default.
To complete this tutorial, progress through these topics in the order presented here. The bottom of each topic provides Next topic and Previous topic navigational links to help you proceed in the proper sequence: