C# Corner

  About cobol

COBOL is a high level programming language and COBOL stands for Common Business Oriented Language and it is develop for business data processing needs which is now known as COBOL. COBOL is used for writing application programs and we cannot use it to write system software. The applications like those in defense domain, insurance domain, etc. which require huge data processing make extensive use of COBOL. COBOL is primarily used in business, finance, and administrative systems for companies and governments. In 1997, Gartner Group estimated that there were a total of 200 billion lines of COBOL in existence which ran 80% of all business programs. COBOL programs are written in coding sheets. There are 80 columns in a line of the coding sheet. The page number is coded in columns 1-3 and the line numbers are coded in columns 4-6. The page and line numbers together is called the sequence number.

Related resources for cobol
  • Move COBOL Code To Linux Cloud Using Lzlab's New Product, Gotthard7/6/2016 10:41:07 AM. Lzlab releases a new solution for programs running on COBOL, known as Gotthard.
  • Data Access With ADO.NET In Micro Focus Visual COBOL6/24/2016 12:12:10 PM. In this article, you will learn about data access with ADO.NET in Micro Focus Visual COBOL.
  • Printing Duplex In Micro Focus Visual COBOL For .NET6/23/2016 9:40:16 AM. In this article you will learn how to print Duplex in Micro Focus Visual COBOL for .NET.
  • Calling Managed COBOL From Unmanaged COBOL With Micro Focus Visual COBOL2/13/2016 11:59:54 AM. In this article you will learn about calling managed COBOL from un-managed COBOL with Micro Focus Visual COBOL.
  • Adding Cultural Information To The DateTimePicker In Micro Focus Visual COBOL For .NET1/13/2016 2:05:16 PM. In this article you will learn how to add cultural information to the DateTimePicker in Micro Focus Visual COBOL for .NET.
  • Working with the DateTimePicker in Micro Focus Visual COBOL for .NET1/7/2016 12:03:15 PM. Working with the DateTimePicker in Micro Focus Visual COBOL for .NET.
  • Accessing COBOL Data Groups12/22/2015 4:15:46 AM. In this article you will learn how to access COBOL Data Groups in .NET.
  • Utilize Of COBOL In A Microsoft .NET Environment12/3/2015 2:48:20 PM. This article will show you how to use the power of LOCALIZATION within Visual Studio .NET to create one screen and have it display different languages.
  • What Is Your Language12/3/2015 2:09:32 PM. As a person I speak primarily one language, but as a Developer I speak many languages. What are your languages as a coder.
  • ADO.NET, COBOL and Stored Procedure10/19/2012 9:26:52 AM. A stored procedure is basically a series of SQL statements that reside on the database. The procedure could create a new table, retrieve data from one or more tables, update one or more tables or perform many other tasks.
  • Localization in COBOL .NET9/30/2012 5:18:31 AM. This article will show you how to use the power of LOCALIZATION within Visual Studio .NET to create one screen and have it display different languages.
  • ODBC usage in .NET9/30/2012 5:10:33 AM. This article will provide a template of how to represent a smallint, integer, decimal, varchar and other ODBC data types that are used in the SQL Server environment in COBOL.
  • Consuming a Web Service from NETCOBOL9/30/2012 5:03:49 AM. This article shows you how to consume a Web service from NetCOBOL.
  • Accessing COBOL Properties with C#9/30/2012 4:58:46 AM. This article will review a new option for exposing those assets via the use of Properties.
  • Data Access with ADO.NET9/30/2012 4:53:03 AM. This first article will provide a brief history of data access as well as provide the basic flow for using ADO to access data.
  • COBOL and .NET Data Types9/30/2012 4:50:17 AM. .NET has created a new, level playing field for a multitude of programming languages to interact on a scale never before seen.
  • Working with COBOL Data Groups in C#9/30/2012 4:48:49 AM. In this article we will begin with a C# console application calling a COBOL DLL file. The C# application will pass it a number of occurrences to create in the table (much like a user requesting a specific number of months to report on).
  • Calling Procedural COBOL from VB.NET9/30/2012 4:45:23 AM. Many clients will have existing COBOL source code that they will want to use within the .NET Framework.
  • Why Object Orientation for COBOL?9/30/2012 4:41:23 AM. Why is Microsoft interested in having so many languages target the new environment?
  • Cobol for Microsoft .NET9/30/2012 4:33:42 AM. This article gives you introduction about how the age old COBOL can take a new energetic look under Microsoft.NET.
  • Calling Procedural COBOL from C#9/30/2012 4:26:44 AM. In a previous article we discussed how to call procedural based COBOL programs from VB.NET.
  • Windows Form using COBOL9/30/2012 3:43:55 AM. This article we'll put some finishing touches to our form. We'll show how to make controls appear and disappear as well as placing the cursor in a pre-defined spot on the form.
  • Creating Forms with COBOL9/30/2012 3:42:44 AM. We've done numerous articles on how to interface COBOL with other .NET languages. Here is something a little different, creating a form using only COBOL. This is part 1 or the article and it will cover creating the form, adding controls and enabling them and calling .NET classes. Part 2 will show you how to make things disappear!
  • .NET Arrays with Micro Focus COBOL.NET9/30/2012 3:40:01 AM. Overview of how to use the System.Array class with Micro Focus COBOL.NET. Covers the syntax needed to create and use Arrays. Includes examples and sample code
  • Converting C# to COBOL9/30/2012 3:30:09 AM. . This article is intended to be used as a model for you to follow when you run into a C# example and need to convert it to COBOL.
  • TreeView/ListView object in COBOL.Net9/30/2012 3:25:25 AM. In this article I will show how to work with the TreeView object and ListView object.
  • Exception Handling in Visual COBOL.NET9/30/2012 2:51:45 AM. Let's start by taking a look at a simple and pretty standard COBOL way of handling exceptions. We’ll then see how that same example would be coding in a managed environment utilizing Visual COBOL.NET.
  • Working with buttons in Micro Focus Visual COBOL 9/30/2012 2:49:12 AM. Micro Focus released Visual COBOL R4 earlier this year and it has turned out to be an awesome addition to Visual Studio 2010. The development teams have done a great job in delivering a very usable product.
  • Working with TextBoxes in Micro Focus Visual COBOL5/29/2012 11:44:28 PM. Micro Focus released VisualCOBOL R4 earlier this year and it has turned out to be an awesome addition to Visual Studio 2010.
  • Calling COBOL from C#5/13/2012 6:04:05 AM. There is a lot of COBOL code in production around the world. Rewriting that code into another langugage just to change the language makes little sense and introduces a high level of risk. Instead of changing the COBOL code that has been working and doing it's job for quite a while, why not interact with it using C#? This article shows how to utilize C# to call both procedural and object oriented COBOL.
  • Working With CheckBoxes in Micro Focus Visual COBOL4/19/2012 6:38:15 PM. This article reviews the common properties of the CheckBox control. These are the name, text, checked and checkstate properties. We’ll also review the use of events associated with a CheckBox.
  • Working with the DateTimePicker in Micro Focus Visual COBOL2/10/2012 4:39:04 PM. This article is about the DateTimePicker control. Our examples will focus on a single control. We’ll show you how to manipulate the properties of that control programmatically. We may have to include one additional control but the focus on each project will be on a single control with a supporting role for the additional control.
  • Using Labels with Visual COBOL10/20/2011 11:52:46 PM. Our examples will focus on a single control. We’ll show you how to manipulate the properties of that control programmatically.
  • Accessing RM Data files from managed Visual COBOL10/19/2011 11:52:18 PM. The purpose of this article is to provide the reader with an example of how to read the RM file system from a native COBOL program and have it display on a managed WinForm.
  • How to Access Environment Variables in VisualCOBOL9/9/2011 3:13:18 AM. The purpose of this article is to provide the reader with an example of how to read and set environment variables from within a managed COBOL environment. We will utilize a WinForm to provide our user interaction.
  • Declaring Namespaces with Micro Focus for COBOL.NET9/24/2010 10:25:39 AM. In this article we will see how to use the ILUSING directive to declare namespaces in your COBOL.NET programs using Micro Focus.
  • COBOL Snippets7/7/2010 12:23:21 AM. Beginning with this article all projects will be created using the Micro Focus Visual COBOL environment.
  • Enforced Rigorous Type Safety In Managed COBOL Using Generics6/20/2010 1:09:10 PM. Generics allow Managed COBOL to be a fully type safe programming language with some huge payoffs for programmer productivity.
  • Progressive Modernization Of Legacy Code Using Managed COBOL6/20/2010 12:49:47 PM.
  • Progressive Modernization Using Managed COBOL6/20/2010 12:45:32 PM. An example of how Managed COBOL methods can be used to progressively add locally scoped storage to legacy COBOL code.
  • Utilizing COBOL Property in C#3/12/2010 1:16:12 AM. In another article we discussed the use of creating a COBOL interface class to interact between your existing COBOL applications and the languages in the .NET Framework. This article will review a new option for exposing those assets via the use of Properties.
  • Working with COBOL Data Groups10/19/2009 11:45:37 AM. COBOL programmers have used data groups to package data together for a long time. How though does a non-COBOL user access the data being used by the COBOL programs?
  • Working with COBOL Data Groups10/19/2009 11:45:37 AM. COBOL programmers have used data groups to package data together for a long time. How though does a non-COBOL user access the data being used by the COBOL programs?
  • COBOL Calling C#9/21/2009 3:58:44 PM. Last month we had an article describing how C# could a COBOL class. Well this month we present a user provided example of COBOL calling C#!
  • COBOL Calling C#9/21/2009 3:58:44 PM. Last month we had an article describing how C# could a COBOL class. Well this month we present a user provided example of COBOL calling C#!
  • COBOL: It's Everywhere9/3/2009 11:36:02 PM. "COBOL is Dead!"..."COBOL is dying"... "COBOL won't last another 5 years"...how many times have we heard these lines or similar in the past 20 years? Guess what... Ain't true!
  • Converting C# to COBOL8/22/2009 3:22:44 PM. Converting C# to COBOL? Why would anyone want to do that? Is it possible? What are the reason? Actually there are some very good reasons explained in the article.
  • Converting C# to COBOL8/22/2009 3:22:44 PM. Converting C# to COBOL? Why would anyone want to do that? Is it possible? What are the reason? Actually there are some very good reasons explained in the article.
  • Send Email in netCOBOL .NET8/16/2009 11:42:25 AM. This code snippet shows how to send email in Net Cobol .NET.
  • COBOL for .NET: The more things change the more they stay the same7/29/2009 12:35:24 AM. Back in 2002 I wrote a series of articles dealing with COBOL and .NET integration. Since that time, quite a bit has changed. This article reviews the changes and sets the stage for upcoming articles from a world renown COBOL vendor.
  • Calling Procedural COBOL from C#1/31/2006 5:06:52 AM. In a previous article we discussed how to call procedural based COBOL programs from VB.NET.
  • ADO.NET, COBOL and Stored Procedure1/31/2006 4:52:33 AM. A stored procedure is basically a series of SQL statements that reside on the database. The procedure could create a new table, retrieve data from one or more tables, update one or more tables or perform many other tasks.
  • Calling Procedural COBOL from C#1/31/2006 4:27:42 AM. In a previous article we discussed how to call procedural based COBOL programs from VB.NET.
  • ADO.NET, COBOL and Stored Procedure1/31/2006 4:24:53 AM. A stored procedure is basically a series of SQL statements that reside on the database. The procedure could create a new table, retrieve data from one or more tables, update one or more tables or perform many other tasks.
  • Cobol for Microsoft .NET1/30/2006 4:44:18 AM. This article gives you introduction about how the age old COBOL can take a new energetic look under Microsoft.NET.
  • Welcome to COBOL.NET, corner of the C# Corner1/30/2006 4:01:32 AM. This column will hopefully help those of you looking to use Fujitsu NetCOBOL for .NET. We are going to present some "How To" articles beginning with the basic information about the environment, the interaction with Visual Studio.NET, the Designers and the COBOL language.
  • Welcome to COBOL.NET, corner of the C# Corner1/30/2006 4:01:22 AM. This column will hopefully help those of you looking to use Fujitsu NetCOBOL for .NET. We are going to present some "How To" articles beginning with the basic information about the environment, the interaction with Visual Studio.NET, the Designers and the COBOL language.
  • Why Object Orientation for COBOL?1/30/2006 3:46:19 AM. Why is Microsoft interested in having so many languages target the new environment?
  • Calling Procedural COBOL from VB.NET1/30/2006 2:26:22 AM. Many clients will have existing COBOL source code that they will want to use within the .NET Framework.
  • Working with COBOL Data Groups in C#1/30/2006 1:58:06 AM. In this article we will begin with a C# console application calling a COBOL DLL file. The C# application will pass it a number of occurrences to create in the table (much like a user requesting a specific number of months to report on).
  • COBOL and .NET Data Types1/30/2006 1:47:29 AM. .NET has created a new, level playing field for a multitude of programming languages to interact on a scale never before seen.
  • Converting C# to COBOL1/30/2006 1:41:13 AM. In this article we'll take a look at some C# samples of code and then translate those samples into COBOL.
  • Converting C# to COBOL1/30/2006 1:41:10 AM. In this article we'll take a look at some C# samples of code and then translate those samples into COBOL.
  • Data Access with ADO.NET1/30/2006 1:30:33 AM. This first article will provide a brief history of data access as well as provide the basic flow for using ADO to access data.
  • Accessing COBOL Properties with C#1/30/2006 12:23:30 AM. This article will review a new option for exposing those assets via the use of Properties.
  • Using OLEDB in ADO.NET with COBOL1/30/2006 12:10:49 AM. The SqlClient class was created by Microsoft and is used primarily to access a SQL Server database.
  • Using OLEDB in ADO.NET with COBOL1/30/2006 12:10:37 AM. The SqlClient class was created by Microsoft and is used primarily to access a SQL Server database.
  • Consuming a Web Service from NETCOBOL1/29/2006 11:58:51 PM. This article shows you how to consume a Web service from NetCOBOL.
  • ODBC usage in .NET1/29/2006 11:49:38 PM. This article will provide a template of how to represent a smallint, integer, decimal, varchar and other ODBC data types that are used in the SQL Server environment in COBOL.
  • Localization in COBOL .NET1/29/2006 11:34:36 PM. This article will show you how to use the power of LOCALIZATION within Visual Studio .NET to create one screen and have it display different languages.