Configuration section - cobol program, COBOL Programming

Configuration Section:

This section holds an overall specification of the computer used for the purpose of the compilation and execution of the program. There are in all 3 paragraphs in this section, namely, the source-computer, object-computer and the special names.

1) SOURCE-COMPUTER:

This paragraph identifies the name of the computer used to compile the COBOL program. Below is the form of this paragraph.

SOURCE-COMPUTER. computer-name.

For illustration, if ICL 1901 is to be used for compiling the COBOL source program, this paragraph must be as shown:

SOURCE-COMPUTER. ICL-1901

2) OBJECT-COMPUTER:

The Object-Computer paragraph explains the computer on which the program is to be executed. Below is the syntax for this paragraph.

OBJECT-COMPUTER. computer-name

CHARACTERS

[, MEMORY SIZE interger-1]

WORDS

[, PROGRAM COLLATING SEQUENCE IS alphabet-name]

[, SEGMENT-LIMIT IS interger-2].

Posted Date: 10/16/2012 3:37:14 AM | Location : United States







Related Discussions:- Configuration section - cobol program, Assignment Help, Ask Question on Configuration section - cobol program, Get Answer, Expert's Help, Configuration section - cobol program Discussions

Write discussion on Configuration section - cobol program
Your posts are moderated
Related Questions
PICTURE specification: The size of a group item is equivalent to the total of the sizes of all the subordinate elementary items. The group item class is alphanumeric. The i

PROGRAM FOR SIZE ERROR:   We have to write an easy program to elaborate the size error option. Identification division. Program- id. sizeerr. Environment division.

Comparing features of oracle rdbms with Mysql

WRITE STATEMENT: The records are written to be logical place as determined from the value of the record key. The INVALID KEY condition occurs in the cases shown below: (i)

MOVE CORRESPONDING: It is frequently required to move some of the data items of one group to some other data items in the other group. If the names of the equivalent data item

Example of If- else statement Illustration:   IF   QUANTITY IS NUMERIC AND QUANTITY IS POSITIVE          MOVE ZERO TO ERROR-CODE. COMPUTE SALES VALUE=QUANTITY*RATE

DIVIDE VERB: The aim of the DIVIDE verb is to divide one number by the other and to store the result.  There are few forms of this verb. One of its forms is as shown below:

77 level used for- It is Elementary level item. it Cannot be subdivisions of other items or cannot be qualified, or they can be subdivided themselves.

The LENDER Bank offers mortgages on homes valued up to $500,000. The required down payment is calculated as follows: 4% of the first $60,000 borrowed 8% of the next $30,000 borro

PERFORM WITH UNTIL OPTION: The format is as shown below: Illustration:  A) Perform p-3 until i > 5. Here p-3 will be executed whenever i B)  Perform p-2 thru