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 Windows).Recommendation: Opencobolide is an
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?
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
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
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 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
Window. Open open Open the form and if nested code, window. open nested
If you don't talk much about it, paste the Code directly.
The Code is as follows:
The code is just a few simple words. If you have any questions, please leave a message. The editor will reply to you in time!
Articles you may be interested in
Open-source projects: open-source projects and open-source projects
In order to make better use of jeewx, today,,
Deploy and use the jetmicro-jeewx (Project) project.
GROUP: 287090836
Http://www.iteye.com/news/29161-jeewx-weixin
How to use the web version? Why am I like this? For example, ask for an explanation !!! Card used, slow speed, and thus cannot
How to click open file? How to quickly open a file and click Open File
If you are an efficient person, you must not miss this article. Through this article, you will know how to open a file with one click ~~
Click Start in the lower left corner"
Click "Control Panel" on the right"
Click "appearance"
How does a frame work? do you want to open or save the file? I can open it or cannot open it. he has saved lt; HTML gt; lt; HEAD gt; lt; TITLE gt; MyOffice homepage lt;/TITLE gt; lt; METAhttp-equiv = Content-Typecontent = quo? I clicked open or couldn't open it. he
Do you mean not to use the default software, but to use a different one?Right--Open mode--select program (Pop Up a dialog box with a list of many programs)If the list does not have the program you want to use, you can click BrowseFind the path to the software you wish to use and open the specified file with the software, note, such as Editplus.exe, is to browse or attach not to the program, you can change t
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.