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.
  • 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.
  • 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).
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.