procedure of the Program**display"Hello World"STOPRUN.* * Add other procedures hereENDProgram EXAMPLE.View Code2. Development toolsBecause COBOL programs generally run on large hosts, and large host resources are rare, beginners do not have so many opportunities to practice the program directly above. But it's hard to think of someone who really wants to learn. Here I offer several workarounds (only under
I have recently started learning Cobol. Of course, I need to understand some background and application fields and prospects for learning a language. Let's talk about my questions and understanding.
1. How old is Cobol?For this question, read a book and check the information. COBOL is the abbreviation of common business oriented language. It is mainly used to s
I really didn't expect that I would do it in COBOL, even if I knew the history of computers:
Post a post that has been transferred n times
1. How old is Cobol?For this question, read a book and check the information. COBOL is the abbreviation of common business oriented language. It is mainly used to solve a large number of data processing problems in business an
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
Recently I have been busy with my work and my graduation work, so I am not very busy. Now we have a bit of free time. Let's take a look.
Since so many people need the COBOL teaching materials, I will recommend them to you.It is in the IBM library, and I think it is comprehensive. As long as you finish reading this, it should be okay with Cobol.
IBM Library ReaderHttp://www-1.ibm.com/support/docview.wss?
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
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
The following is an example of an array:01 RECORD-X.03 month occurs 12 times.05 name pic x (12 ).05 days occurs 31 Tiems.07 comment pic x (20 ).07 TEMP-HI PIC s999.07 TEMP-LO PIC s999.77 current-day PIC 99.The call is as follows:Month (5): group
Reply content:Basic syntax
Coding techniques, coding specifications
Various functions
Various PHP modules
Learn a CMS or two-time development
Learn about Pdo,ado, data-driven layers, and learn MySQL on the go
Error mechanism
Object oriented
Use a framework to help develop
Magic method
Design Patterns
Reflection
Write all kinds of tools, drivers.
Write a small fra
Php Chinese network (www.php.cn) provides the most comprehensive basic tutorial on programming technology, introducing HTML, CSS, Javascript, Python, Java, Ruby, C, PHP, basic knowledge of MySQL and other programming languages. At the same time, this site also provides a large number of online instances, through which you can better learn programming... Reply content: Basic syntax
Coding skills and coding specifications
Various functions
Various PHP m
0 reply content: basic syntax
Coding skills and coding specifications
Various functions
Various PHP modules
Learning a cms or secondary development
Learn about PDO, ADO, data driver layer, and mysql
Error Reporting Mechanism
Object-oriented
Use a framework to help developers
Magic
Design Mode
Reflection
Write tools and drivers.
Write a small framework by yourself (to be honest, you don't have so much energy to write it. You need to understand a lot of
reading is not enough, actual combat is the most important, so-called learning, such as in the "Python core programming 2" after class exercises/learning some small script/etc., here are several sites for the Python script instance study:
(1). Code share list--Python
(2). Python Code Library
(3).
https://
searchcode.com/
(4). GitHub best choice, more search some related projects, look at someone else's code, copy the wheel!!
4. Advanced entryThe Python advanced section of learning can ref
C ++ experts learn advice and learn with an open mind ~~ [Reprinted], advice and learn modestly
1. Take C ++ as a new language learning (it has nothing to do with C! True .);
2. Read Thinking In C ++ instead of C ++.
3. read "The C ++ Programming Language" and "Inside The C ++ Object Model". Do not read them because they are difficult and we are beginners;
4. Do
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.