Enterprise Developer provides a number of demonstration applications for HCOSS. You can access these via the Mainframe Samples Browser. For instructions on how to start the Mainframe Samples Browser, see
To start the Samples Browser.
The demonstration files are located in the
%PUBLIC%\Documents\Micro Focus\Enterprise Developer\Samples\Eclipse\Mainframe\SQL\hcoss
directory.
Each sample application comes with a
Readme file to explain how to use the application.
The HCOSS demonstration applications all produce a console log displaying their progress. They all terminate on receipt of
an error, after displaying an error message.
- HCOSS - Array Insert
- Demonstrates how array inserts work with SQL Server when using mainframe DB2 syntax.
- HCOSS - Function Emulation
- Demonstrates how to add math functions to SQL Server that emulate standard math functions in DB2.
- HCOSS - Labeled Durations
- Demonstrates how HCOSS manages DB2 date formats and labeled duration calculations. SQL Server does not support labeled calculations
directly. HCOSS handles the conversion to T-SQL to emulate DB2 labelled duration syntax.
- HCOSS - TwoPackageSet
- Demonstrates how to use HCOSS to switch package sets and alternate fetching data using a single cursor name. It also demonstrates
how, with HCOSS, you can bind the application using HCOSS Manage Packages and Plans tool.