PostgreSQL does not support labeled duration calculations directly. HCOPG handles the conversion to PL/pgSQL to implement the DB2 syntax of an EXEC SQL statement using labeled durations.
The Eclipse project we provide for this tutorial contains the LBLDURATION project, which is a native COBOL project.
The project also contains the program, which is a COBOL SQL program that converts calculations.
The demonstration Eclipse project and its components are located in the %PUBLIC%\Documents\Micro Focus\Enterprise Developer\Samples\Mainframe\SQL\hcopg\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: