considerable experience, re-writing reliable application software is impractical or not feasible from a commercial perspective, it also takes a long time.
3. What are the main application fields of Cobol?As described above, COBOL is mainly used in commercial data processing. The largest percentage is in the banking, financial, and accounting industries, followed by computer var/retail/Consulting (? , Ret
considerable experience, re-writing reliable application software is impractical or not feasible from a commercial perspective, it also takes a long time.
3. What are the main application fields of Cobol?As described above, COBOL is mainly used in commercial data processing. The largest percentage is in the banking, financial, and accounting industries, followed by computer var/retail/Consulting (? , Retai
Abbreviations:
COBOL(Common Business Oriented Language)
Chinese Translation: Cobol Language
Interpretation: a programming language similar to English that is suitable for business and data processing. This language accurately expresses the business data processing process.
COBOL is one of the oldest advanced programming languages and the first commercial languag
Interest calculation is an important business of banks, including daily proxy customer collection, calculation of customer interest, and annual interest calculation. Currently, most of this work is performed on the Safe Application System Platform of the IBM es9000 host. The online program and the on-line interest rate program are implemented in the IBM 370 assembly language. For ease of reading and writing in assembly language, the data storage format is defined in the data stored in the VSAM f
COBOL language IntroductionCOBOL Introduction--Business computing preferred Language COBOL is the acronym for the Common Business oriented Language (general commercial language). Widely used in the field of data management, such as accounting work, statistical reports, planning, personnel management. is referred to as the "language for Administration".Characteristics of data processing:The arithmetic comput
Next to the book (an entry to the COBOL study notes)SlaveProgramWe can see that the COBOL program is divided into four parts:Identification Division.Environment Division.Data Division.Procedure division.
For more information about the functions of each part, see Chapter 1 Cobol.
Here we mainly look at the content in procedure Division. This is the core.Process
The format of the COBOL source program is as follows:
Each line starts with a sequence number with six characters. You can enter limit 10 or limit 20 to indicate the rows.
The sequence number area is followed by an indicator area of a character (7th characters), as shown in the first line. You can use "*" and "/" to represent comments, "_" to represent continued rows, and "D" to represent debugging.
The indicator area is followed by four characters (8
The first time I got in touch with Cobol today, the lecturer was an English speaker. It was really hard to take the course. Alas .... the English is not good. There are two books in China that feel okay, the simple guide of COBOL and the programming language design of COBOL (TAN haoqiang)
The following is the first program and a hello program. The tool is
First o
The format of the identity department:code example:Identification Division.Program-id. Idsample.AUTHOR. PROGRAMMER NAME.Installation. COBOL Development CENTER.Date-written. 08/27/88.Date-compiled. 09/01/88 12:57:53.SECURITY. Non-confidential.Format of the Ministry of the Environment:code exampleEnvironment Division.CONFIGURATION section.Source-computer. ibm-as400.Object-computer. ibm-as400.Special-names. Cð1 is top-of-page.Source-computer defines the
COBOL syntax and grammar (1)
RedefinesDifferent variables can be used to describe the same memory.01 part_recode usage display03 part-type picture...03 part_type_a.05 part_number picture...05 part_cost picture...03 part_type_ B redefines part_type_a.05 upc_code picture...03 part_type_c redefines part_type_a.05 ISBN picture...Based on part_type, choose part_type_a, part_type_ B, or part_type_c.Rules:The length of part_type_ B and par
Recursion is rarely used in Cobol. It is also boring to see this example in IBM book.
Identification Division.
Program-id. recutestRecursive.
**************************************** ***
* Recursive Test
**************************************** **
Environment Division.
Data Division.
Working-storage section.
01 numb PIC 9 (4) value 5.
01 fact PIC 9 (8) value 0.
Local-storage section.
01 num PIC 9 (4 ).
Procedure division.
M
of the memory
Description of the file General formatFD file name (internal file name)01 Record Name05 data item 1 PIC ...05 Data item 2 PIC ...An FD statement is a file descriptor that describes the properties of a file and a record, such as the record name, format, and length .All data groups and data items under the FD statement make up a record of the file.Record Description: The record description begins with a 01-layer number followed by a record name. The data format used to define r
Http://www.cnblogs.com/Ninputer/archive/2011/06/07/2074632.html
In the first article of this series, I would like to give an overview of the Compiler Construction and help you understand the purpose of each component in the compiler. I think you should read other compilation principles books. Most of them are in the first chapter or in the preface and so on. The compi
Write the compiler, linker, and compiler by yourself
A complete set of Compiler Principles and Techniques play an important role in the entire computer science field. Learning it can be of great help to programmers. After studying the history, we will find that the program design masters praised by everyone are masters in the compilation field, such as the bill g
Reprinted in this article
Address: http://www.lingcc.com/2009/12/22/10404/
For a summary of compiler books, refer to a list of compiler books-rich compiler references.
If the job is related to compilers or compiler enthusiasts, no one has the urge to write a compiler on the
Test whether the compiler allows annotation nesting. The Compiler allows annotation nesting.
Problem: Some C compilers allow nested comments. Write a test program with the following requirements:
For compilers that allow nested comments or compilers that do not allow nested comments
Can be compiled normally (no error message appears), but the results of program execution in both cases
But not the same.
Tip:
C ++ compiler function compilation process and compiler function compilation process
In C ++, the type search process is relatively simple, basically the name search, which is not described here.
For a function (or member function) called in the. cpp file, the compiler mainly does the following three things:
1. Search for the name. first, you can find the name in
Compiler Introduction: Overview, compiler Overview
First of all, I declare that this series of blog posts is a record in the process of learning compilation principles. The main reference book is Allen I Holub's Compiler design in C.
First of all, I would like to express my gratitude to the author of this book, such as the dragon book, the tiger book, and the wha
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.