Previous Topic Next topic Print topic


Demonstrations of .NET COBOL

We provide a number of demonstration programs designed to help you to better understand some of the concepts involved when working with COBOL projects in Visual Studio.

The following demonstrations are supplied:

\Mainframe
\JCL and \CICS
Shows how to create and build Mainframe Subsystem Applications in Visual Studio. You create a MSS-enabled Enterprise Server and configure it for CICS, JCL or IMS support. Then you associate your project with Enterprise Server, deploy the application to the server and debug it in Visual Studio.
\COBOL for .NET
\Core.Net
Core.NET introduces some of the standard features of the .NET Framework you need to be aware of, and any new COBOL syntax in order to support these features.
All other subdirectories under \COBOL for .NET
Each of the demonstrations shows how to use the corresponding COBOL feature within the .NET framework.
\Forms
\CobolDoKu
Demonstrates Windows Forms using a .NET user control.
\BookDemoWebApplication
A Web Application project which contains a Web form. The form provides a .NET interface to an existing COBOL program. The BookClass project provides a proxy COBOL program that calls the existing COBOL Book program.
\BookWrapper
A managed wrapper (written in COBOL .NET), over the Legacy Book library. The WinBook program uses the BookWrapper library to read and write data from the bookfile.dat.
\LegacyBook
A native COBOL library which needs data records from a data (.dat) file.
\LoginFormApplication
This demonstration is a Visual Studio solution containing a login form created from the Login Form template. It contains classes that check whether the entered user name and password are correct.
\WebBook
Shows how to create a Web Forms page to provide a .NET interface to an existing COBOL program. The BookClass project provides a proxy COBOL program that calls the existing COBOL Book program.
\WebHello
Shows how to use Web Forms to say "Hello World".
\Winbook
Shows how to create a Windows form to provide a .NET interface to an existing COBOL program. The BookClass project provides a proxy COBOL program that calls the existing COBOL Book program.
\WinHello
Shows how to use Windows Forms to say "Hello World".
\SendHTTP
Demonstrates interaction with .NET classes for interacting with http requests and responses.
\InterfacingWithStdCOBOL
Demonstrates how to use compatible types to interface with standard COBOL, and in particular how to manipulate group items and occurs structures.
\MultiRunUnits
Demonstrates why and how procedural COBOL is compiled and invoked in a multiple user environment. The application is an ASP.NET Web Service and you invoke it through the ASP.NET Development Server.
\Multithreading
Introduces some key aspects of Multithreaded programming using COBOL syntax and the run-time threading APIs.
\ConnectedDemo
Fills a DataSet from a data source, modifies the DataSet and then synchronizes the changes in the DataSet with the data source. The modified contents of the DataSet are displayed in the Output Window. To execute this demonstration, you must first download and install the SQL Server Northwind database from the Microsoft Web site, http://www.microsoft.com. Once there, enter the following search criteria to locate the appropriate download page: northwind pubs database download
\CursorDemo
Demonstrates how to mix OpenESQL with direct calls to ADO.NET.
\DisconnectedDemo
Manipulates offline data in a DataSet. The results of the data manipulation are displayed in the Output Window.
\LobDemo
Demonstrates how ADO.NET can be used in mixed language projects to insert and select large objects (LOBs). LobDemo shows OpenESQL working with LOB columns in a SQL Server table.
\OrderStatusDemo
Demonstrates how ADO.NET can be used in mixed language projects, and uses COBOL and C#.
\ConnectedDemo
Fills a DataSet from a data source, modifies the DataSet and then synchronizes the changes in the DataSet with the data source. The modified contents of the DataSet are displayed in the Output Window. To execute this demonstration, you must first download and install the SQL Server Northwind database from the Microsoft Web site, http://www.microsoft.com. Once there, enter the following search criteria to locate the appropriate download page: northwind pubs database download
\CursorDemo
Demonstrates how to mix OpenESQL with direct calls to ADO.NET.
\DisconnectedDemo
Manipulates offline data in a DataSet. The results of the data manipulation are displayed in the Output Window.
\LobDemo
Demonstrates how ADO.NET can be used in mixed language projects to insert and select large objects (LOBs). LobDemo shows OpenESQL working with LOB columns in a SQL Server table.
\OrderStatusDemo
Demonstrates how ADO.NET can be used in mixed language projects, and uses COBOL and C#.
\Samples Browser
Shows a list of the samples installed with your COBOL development system. You can select a sample from the list and view its readme. Click one of the available links to open the sample in Visual Studio, open the directory that stores the sample's files or open its readme.
\WCF
Demonstrates the use of Windows Communication Foundation (WCF) services. To run this demonstration you need to have Microsoft’s Visual Web Developer 2010 installed.
\WPF
Demonstrates the use of Windows Presentation Foundation (WPF).
\CobolAddin
Demonstrates the use of COBOL to develop an add-in for the Visual Studio IDE.
\XMLWinForm
Demonstrates that COBOL can be used to read and write XML documents and demonstrates the use of the treeview and property grid Windows Forms objects.
\pinvoke
Demonstrates that COBOL can be used to read and write XML documents and shows the use of the treeview and property grid Windows Forms objects.
Previous Topic Next topic Print topic