COBOL TutorialCOBOL programming language is one of the oldest high-level programming languages. COBOL is an acronym that stands for Common Business Oriented Language. It was originally a compiled English-like computer programming language designed for business uses. At that time, it was mainly used in business, finance, and administrative systems for companies and governments. Nowadays, despite of declining popularity of this language, it is also used in applications deployed on mainframe computers, such as large-scale batch and transaction processing jobs. COBOL - IntroductionCOBOL was originally designed by CODASYL (Conference on Data Systems Language) in 1959. It was partly based on the programming language FLOW-MATIC designed by Grace Hopper. It is one of the oldest high-level programming languages. It was created as a result of US Department of Defense effort to create a portable programming language for data processing. Now, it is mainly used for developing business, typically file-oriented applications programs and we can't use it to write system software. It simply means that we cannot use it to develop an operating system or a compiler. How COBOL WorksBefore understanding the working of COBOL, we should aware of the fact that computers only know machine code i.e. a binary stream of 0s and 1s. So, to process the code of COBOL, it must be converted into machine code using a compiler. We should run the program source through the compiler. The compiler first of all checks for any syntax errors and then converts it into machine language. Then the compiler creates an output file, which is known as a load module. This output file contains executable code in the form of 1s and 0s. History of COBOLCOBOL was one of the earliest high-level programming languages developed in the history of programming. During the 1950s, when the businesses were rising in the western part of the world, there was a need to automate various processes for ease of operation, and this gave birth to a high-level programming language destined for business data processing.
Features of COBOLFollowing are some popular features of COBOL language: Simple and Standard language COBOL is a simple, standard, and easy-to-learn language that can be compiled and executed on various computers such as IBM AS/400, personal computers, laptops etc. It supports a wide range of syntax vocabulary and follows an uncluttered coding style. Provide Business Oriented capabilities COBOL was developed for business-oriented applications related to defense domain, financial domain, etc. It provides advanced file handling capabilities that makes it capable of handling huge volumes of data. COBOL handles more than 70% of the world's business transactions and is best suited for complex transactions. Scalability and Portability COBOL offers logical control structures which make it easy to read, modify and debug. COBOL is also scalable, reliable and portable across various platforms. It provides various testing, and debugging tools for almost all computer platforms. Universal Acceptability COBOL is one of the universally accepted programming languages. It is more than six decades old programming language and has changed business and their working across numerous platforms and devices. COBOL programming language offers debugging and testing tools for almost all computer platforms, and provides a lot of new COBOL products, compilers and development tools that are released almost every year. Advantages of COBOLCOBOL was the first generally used high-level programming language. It provides a lot of advantages to their users:
PrerequisiteBefore proceeding with this COBOL tutorial, you should have a basic knowledge of computer programming terminologies and JCL. A basic knowledge of any of the programming languages will help you get the concepts of COBOL programming and move fast on the learning track. AudienceThis tutorial is created for software programmers who would like to learn the basics of COBOL. This tutorial will provide enough understanding of COBOL programming language from where you can take yourself to a higher level of expertise. ProblemsWe assure you that you will not find any difficulty while learning our COBOL tutorial. But if there is any mistake in this tutorial, kindly post the problem or error in the contact form so that we can improve it.
Next TopicCOBOL Installation
|